Mike John

  • Content count

  • Joined

  • Last visited

About Mike John

  • Rank
    IP.Board Modder
  • Birthday 10/30/1989

IPS Marketplace

  • Resources Contributor Total file submissions: 18

Recent Profile Visitors

56,252 profile views

Mike John's Activity

  1. Mike John added a file in IPS Community Suite 4   

    Donate Sidebar v2.1.0
    Simple to configure plugin that adds a Paypal donation form to your sidebar. With the option to enter your own custom html donate code. Also includes group permissions as well as a percentage status bar of your donations based on an entered goal amount.
    View the IPB 3.x version here .

    Keep up to date with DevFuse mod development and releases.

    • 0 reviews
  2. Mike John added a bug in Bug Tracker   

    [RC5] Error on plugin install
    I get this error when installing an updated plugin for an old IPB 3.4 hook.
    Edit : This seems to be tied into the solution for this bug here and the different insert arrays depending on if a setting is already present or not. (I've got both old and new settings present)
    1S111/1 mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement 369 #0 [internal function]: IPS\IPS::errorHandler(2, 'mysqli_stmt::bi...', 'C:\EasyPHP\data...', 369, Array) #1 [internal function]: mysqli_stmt->bind_param('sssissississi', 'ctopics_topic_o...', '1', '1', 1, 'ctopics_topic_a...', '', 1, 'ctopics_topic_t...', '%calendar_name%...', 1, 'ctopics_topic_p...', ' Even...', 1) #2 C:\EasyPHP\data\localweb\ipb4_upgrade\system\Db\Db.php(369): call_user_func_array(Array, Array) #3 C:\EasyPHP\data\localweb\ipb4_upgrade\system\Db\Db.php(603): IPS\_Db->preparedQuery('INSERT INTO `co...', Array) #4 C:\EasyPHP\data\localweb\ipb4_upgrade\applications\core\modules\admin\applications\plugins.php(316): IPS\_Db->insert('core_sys_conf_s...', Array, true)  
    • 3 replies
  3. Mike John added a file in IPS Community Suite 4   

    Portal v1.5.0
    Adds a Portal application to IP.Board. Based upon IP.Board Portal by IPS . Please be sure to direct all support questions or suggestions in the discussion topic rather then at IPS. The Portal is currently exclusive to the IPS Marketplace, I do not support this application elsewhere.
    Keep up to date with DevFuse mod development and releases.

    • 0 reviews
  4. Mike John added a bug in Bug Tracker   

    [RC4] runLegacySql and first query
    I'm using the \IPS\core\Setup\Upgrade::runLegacySql function in combination with a queries.php file and it appears to be skipping the very first query you've got in your queries.php file.
    • 2 replies
  5. Mike John added a bug in Bug Tracker   

    [RC4] Create upgrade.php file (developer centre)
    From the versions tab in the developer centre, you can't create an upgrade.php file without having added an sql query to that version.
    1C103/9 In order to use this function, the /setup directory of your application's directory, and all its subdirectories, must exist and be writable. Array ( [0] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\applications\core\modules\admin\applications\developer.php [line] => 3218 [function] => error [class] => IPS\_Output [type] => -> [args] => Array ( [0] => dev_could_not_write_setup [1] => 1C103/9 [2] => 403 [3] => ) )  
    • 1 reply
  6. Mike John added a bug in Bug Tracker   

    [RC4] IPB 3.4 settings overridden after plugin install
    The settings are still kept for IPB 3.4 hooks but when you install your upgraded IPB4 plugin, it overrides any setting values you've set with the plugins file settings section. So any custom settings that are different from the default value are lost during the upgrade to IPB4.
    From applications/core/modules/admin/applications/plugins (Line 289)
    $inserts[] = array( 'conf_key' => $key, 'conf_value' => $value, 'conf_default' => $value, 'conf_plugin' => $plugin->id );  
    • 1 reply
  7. Mike John added a bug in Bug Tracker   

    [RC4] Can't upgrade plugins
    I've just tested a dummy plugin upgrade using the plugins "Upload a new version" option and I'm met with this error after upload.
    1C145/F That plugin is already installed. Did you mean to upload a new version?.  
    • 1 reply
  8. Mike John added a bug in Bug Tracker   

    [RC4] Removing plugin doesn't remove widget
    When you remove a plugin, it still leaves data in the core_widgets table. So when ever I try to load the block manager in the front end I'm met with this error.
    OutOfRangeException Object ( [message:protected] => [string:Exception:private] => [code:protected] => 0 [file:protected] => C:\EasyPHP\data\localweb\ipb4_rc4\system\Patterns\ActiveRecord.php [line:protected] => 107 [trace:Exception:private] => Array ( [0] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\applications\core\modules\front\system\widgets.php [line] => 55 [function] => load [class] => IPS\Patterns\_ActiveRecord [type] => :: [args] => Array ( [0] => 5 ) ) [1] => Array ( [function] => getBlockList [class] => IPS\core\modules\front\system\_widgets [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\system\Dispatcher\Controller.php [line] => 85 [function] => call_user_func [args] => Array ( [0] => Array ( [0] => IPS\core\modules\front\system\widgets Object ( [url] => IPS\Http\Url Object ( [url:protected] => http://localhost/ipb4_rc4/?app=core&module=system&controller=widgets [data] => Array ( [scheme] => http [host] => localhost [path] => /ipb4_rc4/ [query] => app=core&module=system&controller=widgets ) [queryString] => Array ( [app] => core [module] => system [controller] => widgets ) [isInternal] => 1 [isFriendly] => 1 ) ) [1] => getBlockList ) ) ) [3] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\applications\core\modules\front\system\widgets.php [line] => 39 [function] => execute [class] => IPS\Dispatcher\_Controller [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\system\Dispatcher\Dispatcher.php [line] => 129 [function] => execute [class] => IPS\core\modules\front\system\_widgets [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => C:\EasyPHP\data\localweb\ipb4_rc4\index.php [line] => 13 [function] => run [class] => IPS\_Dispatcher [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] =>  
    • 2 replies
  9. Mike John added a comment: [Beta 8] Plugin widget when IN_DEV false   

    ​Yes still causing me trouble. See this bug report here , it goes into greater detail of the problem. It looks like RC1 fixed part of the problem but you still need to manually change the namespace and plugin variable of the widget after you install. It's still pending so don't imagine RC2 fixed anything either.
  10. Mike John added a bug in Bug Tracker   

    [RC1] Can not upgrade IPB 3.4 app
    I get this error when trying to upload the latest IPB4 version of an IPB 3.4 application.
    Sorry please ignore, just tried a fresh install without any issues.
    • 1 reply
  11. Mike John added a bug in Bug Tracker   

    [RC1] New hook exception messes with code
    1. When you export a plugin hook, it's messing up the code quite a bit.
    2. And also adding exceptions for functions that are not originally part of the hooks parent class.
    3. When I import that hook again to work on then export it, it adds another exception wrap to all my hooks functions again.
    For example I'm hooking into the Calendars Event node and adding the following function.
    protected static function _returnTagValues( $event=NULL, $author=NULL ) { /* Parse calendar name */ $calendarTitle = $event->container()->_title; \IPS\Member::loggedIn()->language()->parseOutputForDisplay( $calendarTitle ); /* Default tags */ $tags['%title%'] = $event->title; $tags['%author%'] = "<a href=".$author->url().">{$author->name}</a>"; $tags['%calendar_name%'] = $calendarTitle; $tags['%event_date%'] = $event->start_date; $tags['%content%'] = $event->content(); $tags['%event_link%'] = "<a href=".$event->url().">{$event->title}</a>"; return $tags; } When the plugin is exported, the code looks like this.
    protected static function _returnTagValues( $event=NULL, $author=NULL ) { try { /* Parse calendar name */ $calendarTitle = $event->container()->_title; \IPS\Member::loggedIn()->language()->parseOutputForDisplay( $calendarTitle ); /* Default tags */ $tags['%title%'] = $event->title; } catch ( \RuntimeException $e ) { return call_user_func_array( 'parent::' . __FUNCTION__, func_get_args() ); } $tags['%author%'] = "<a href=".$author->url().">{$author->name}</a>"; try { $tags['%calendar_name%'] = $calendarTitle; $tags['%event_date%'] = $event->start_date; $tags['%content%'] = $event->content(); } catch ( \RuntimeException $e ) { return call_user_func_array( 'parent::' . __FUNCTION__, func_get_args() ); } $tags['%event_link%'] = "<a href=".$event->url().">{$event->title}</a>"; try { return $tags; } catch ( \RuntimeException $e ) { return call_user_func_array( 'parent::' . __FUNCTION__, func_get_args() ); } }  
    • 2 replies
  12. Mike John added a comment: [Beta 8] Plugin widget when IN_DEV false   

    Yep fresh install in both instances, one I setup as a dev board and the other just a normal board.
    I haven't really gone looking through the code in great detail yet but it looks like it's reading the template from the testPlugin/dev/html/ folder when in dev mode but the plugin/widget installer adds the template to the plugins section in the core app.
    The plugin export is still finding my dev template and adding it to my plugin xml file. So that makes me think there is a bug within IPB4, unless I've completely got the setup wrong. But even if the template was wrong, it's still strange that the plugin widget isn't available for selection when dev mode is off.
  13. Mike John added a comment: [Beta 8] Plugin widget when IN_DEV false   

    ​I kept on running into that problem constantly, beta 8 should of fixed this.
    I've attached the dev files for my plugin. take note of the changes I made to the widgets class file and the placement of my dev templates. That at least allows me to see and work on the plugin widget in IN_DEV. But I'm not sure if that's the correct approach as it's just not working when IN_DEV is off.
  14. Mike John added a bug in Bug Tracker   

    [Beta 8] Plugin widget when IN_DEV false
    I've got a working plugin widget when development mode is on. But when I import the plugin into a forum where IN_DEV is set to false, the plugin widget doesn't appear in the block manager for me to select and add to my widget areas.
    IN_DEV = true

    IN_DEV = false

    I've attached my test plugin widget, it's just a straight out export of a dummy plugin without any modifications.
      Test Plugin.xml
    • 12 replies
  15. Mike John added a comment: Widgets on plugins   

    Yep confirmed bug, see here .

Status Feed

  1. cyimking » Mike John

    Check PM's please

    1. cyimking

      Do you get my pms? Or are you simply too busy atm?

  2. BariatricPal » Mike John

    Hi, why was ticket # 2280 closed when the issue wasn't resolved please ? I paid for my renewal and I'd appreciate a response ;-)

  3. Mike John

    All my mods have been updated for IPB 3.4.x.

    1. AlexJ

      Special thanks!! :)

    2. media

      Thank you... :)

  4. Mike John

    Back online, support back to normal now. :)

  5. Mike John

    Very limited support for my mods until the 11th of March.

  6. Mike John

    Very limited support for my mods until the 11th of March.

  7. Mike John

    New hook available - "Random Logos"

    1. DawPi

      Thanks! :-)

  8. Mike John

    Better set a new status so people don't think my pm is still down.

  9. Mike John » KittyCanuck

    Just testing profile feed.

  10. Mike John

    Having problems replying to personal messages, will try tomorrow for those who sent PMs.

  11. Mike John

    Wish I had more time for new mods.

  12. AndyF » Mike John

    No its fine. Your stuff always has everything needed without any issue :)

  13. Mike John

    Toothaches are the worst :(

    1. DawPi


  14. Mike John

    New display name to hopefully stop the name confusion.

    1. DawPi

      With what? :-)

    2. Mike John

      The other modder Michael.

    3. Jeuhen

      @Daw: First it was Michael John.

  15. Mike John

    Portal for IPB 3.2 almost ready, hoping to get it out after the weekend.

    1. Show previous comments  1 more
    2. Ichirō

      Good work Michael, thanks for taking this on.

    3. ørret

      Screens, where? :D

    4. Mike John

      @erret: http://i55.tinypic.com/n3u5jb.jpg

  16. Mike John

    Can't wait to start upgrading my mods to IPB 3.2

    1. xChris777

      I can't wait either. Your mods are amazing.

    2. Mike John

      Thanks Chris :)

    3. AlexJ

      I agree with Chris. :)I use one of your mod. Works as said perfectly and no issue at all. :)

  17. Mike John » Andy Rixon

    Thanks for reporting, just talking "nicely" with my host now to get their stuff up.

  18. Andy Rixon » Mike John

    I'm getting "Permission Denied" Error on your main site and forums.

  19. Mike John

    After 3 years of spamming, I've finally got 1,000 posts. :D

    1. Show previous comments  2 more
    2. Collin S.

      Congrats! :)

    3. Olivier Turbis


    4. Amy T

      Good job

  20. Mike John

    I must have bipolar musical tastes, just listened to "1812 Overture" then "Sweet Child O'Mine" back to back.

    1. .Ian

      Hope you had the 1812 turned up loud to annoy the neighbours ;)

    2. Michael

      Nothing wrong with either of those choices ;)

    3. Mike John

      @Ian: haha, yes always. @Michael: Definitely!

  21. Mike John

    Yay for 12 hour drives with no sleep before, going to be exhausted when I get back.

    1. AndyF

      I could not do that, I have to rest after about 2 hours normally :) , even if only for 15 to 20 minutes.

    2. .Ian

      Of course if only we could afford to do a 12 hour drive!

    3. Mike John

      Made it back safely, now to catch up on sleep. :D

  22. Mike John

    Craziest interview today, Gaddafi or Charlie Sheen? :P

    1. media

      I bet Charlie Sheen will win LOL!

  23. Mike John

    Guaranteed weight loss plan, get tonsillitis. I haven't eaten in days.

    1. Tom Christian

      I've just recovered from it. Got so bad I could barely drink water. Didn't notice any weight loss though lol

    2. AndyF