Mike John

+Clients
  • members_posts

    2732
  • Joined

  • Last visited


About Mike John

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

IPS Marketplace

  • Resources Contributor Total file submissions: 16

Recent Profile Visitors


55,605 profile views

Mike John's Activity

  1. 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.
  2. 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
    • 41 views
  3. 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
    • 64 views
  4. 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.
  5. 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.
      testPlugin.zip
  6. 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
    • 159 views
  7. Mike John added a comment: Widgets on plugins   

    Yep confirmed bug, see here .
  8. Mike John added a comment: [Beta 6] Widgets   

    ​There are still issues with display in beta 8. See here .
  9. Mike John added a post in a topic: Bug fix slow, releasedate?   

    ​With IPB3 there was RC1 and RC2 and they lasted 4 and 2 weeks respectively. I think given how big the IPB4 change was, we might be looking at 3 RC's this time and probably 3 weeks between them. 
  10. Mike John added a comment: [Beta 7] IPB3 app upgrade is left disabled   

    No it was enabled before the upgrade. This bit of code in your upgrade files seems to be disabling apps that are not upgraded at the time of the IPB4 upgrade.
    /* Disable all apps not currently being upgraded */ if ( is_array( $_SESSION['apps'] ) ) { \IPS\Db::i()->update( 'core_applications', array( 'app_enabled' => 0 ), 'app_directory NOT IN (\'' . implode( "','", array_keys( $_SESSION['apps'] ) ) . '\')' ); }  
  11. Mike John added a bug in Bug Tracker   

    [Beta 7] IPB3 app upgrade is left disabled
    I wasn't sure if this was a bug or left intentionally this way. But after you upgrade an IPB3 app it still leaves the app disabled. I was about open a bug report that the ACP menu and modules weren't being upgraded properly but then realized the app was disabled. 
    I didn't notice this behavior in upgrading an IPB4 app or a fresh install of a new app.
     
    • 5 replies
    • 116 views
  12. Mike John added a post in a topic: 3rd Party App Developers   

    ​Both are being worked on now and should be out by the time IPB4 reaches final.
  13. Mike John added a bug in Bug Tracker   

    [Beta 7] Upgrade IPB 3.4 app
    When I try to upgrade an IPB 3.4 application using "Upload a new version" in the ACP I'm met with this error.
    • 2 replies
    • 49 views
  14. Mike John added a bug in Bug Tracker   

    [Beta 7] Can't delete install version query
    I can't delete an "install" version query from the apps developer centre. And when I do it creates a new folder in the setup folder.
    Step 1. Add new query to 'install' version.
    Step 2. Straight away delete that new query and reload the 'install' version dropdown and the query will still be there and in the json file. And a new folder called "upg_0" is added to the apps setup folder, it also contains an empty queries.json file.
    I've been able to confirm this with IPS apps and it only seems to affect the 'install' version, other versions you add don't cause this issue.
     
    • 2 replies
    • 62 views
  15. Mike John added a bug in Bug Tracker   

    [Beta 7] Can't add widget to plugin
    I can't add a widget to my plugin but this only seems to affect my hosts server. Can't reproduce this while testing on localhost.

    It doesn't matter if I select \IPS\Widget, \IPS\Widget\StaticCache or \IPS\Widget\PermissionCache. The error "That value is not allowed." is displayed every time.
    Edit : I've currently got a ticket open about a different plugin widget bug. My client centre now has the login details for the IPB4 test board where I produced the above error.
    • 3 replies
    • 86 views

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

      indeed..

  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. AndyF

      Excellent :) , I saw your preview screenshot the other day, looked good.

    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. Herofiles ★

      you have to SPAM mooaaar :P

    2. Collin S.

      Congrats! :)

    3. Olivier Turbis

      yay!

    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

      :(