Jump to content

Adam.M

Clients
  • Posts

    135
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Adam.M

  1. 18 hours ago, Paul E. said:

    This is all you need:

    ns-best.gif

    Completely disagree. Some people still use IE. Some people will never change. 

     

    WE know it's horrible, but a lot of people still use IE!

     

    The fact that Invision is ignoring this fact is silly.

     

    Also, netscape :laugh: #chrome4tw

     

  2. On 10/24/2020 at 11:19 PM, newbie LAC said:

    {{if $grOther == X and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

    thank you 🙂 
     

    Turns out I have more than one group that I want to show only to mods/admins. 

    what is the correct formatting? I tried this:

     

    {{if $grOther == (26 or 27) and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

     

  3. 6 hours ago, Martin A. said:

    I addressed your previous question about this. Is it still about the "Top 100 cities" kmz? The fix mentioned above it not released yet.

    Honestly this is one of the only reasons I purchased the product. If it doesn't work as advertised, I'm only requesting that it be fixed.

  4. On 10/9/2020 at 2:23 PM, Martin A. said:

    You're using a PHP version less than 7.3? A fix will be released shortly.

    I was, I had some issues updating to 7.3 but now it's fixed. 

     

    On another note, I am trying to import markers via kmz. Can anyone import this file and tell me if it works for them? I can import it fine but the markers aren't showing up on the map, even though they show as added when I navigate to Home Community Map Marker Groups > 100 Cities (the file attached)

    Is the kmz the problem? Or one of my settings? 

    Top 100 cities.kmz

  5. Anyone else getting this?

    ParseError: syntax error, unexpected ')' (0)
    #0 [internal function]: IPS\IPS::autoloader('IPS\\communityma...')
    #1 [internal function]: spl_autoload_call('IPS\\communityma...')
    #2 /home/mysite/public_html/forums/system/Dispatcher/Dispatcher.php(141): class_exists('IPS\\communityma...')
    #3 /home/mysite/public_html/forums/index.php(13): IPS\_Dispatcher->run()
    #4 {main}

  6. My bad, still getting used to the new ACP 🙂 

    Two questions:

     

    1. How do I manually run the task that imports members? 50 a day is going to take decades.

    2. I want to remove the memberlist from the /communitymap page, and I want to display only markers - not membernames. How do I do that?

  7. Hey @Martin A. - found a problem.

    With this installed, I tried to create a new membergroup (unrelated task) and it threw an error and ultimately jacked up my ACP.

     

     

    TypeError: Argument 1 passed to IPS\communitymap\Members\_Groups::getData() must be of the type integer, null given, called in /home/mysite/public_html/forums/applications/communitymap/extensions/core/GroupForm/communitymap.php on line 40 (0)
    #0 /home/mysite/public_html/forums/applications/communitymap/extensions/core/GroupForm/communitymap.php(40): IPS\communitymap\Members\_Groups::getData(NULL)
    #1 /home/mysite/public_html/forums/applications/core/modules/admin/members/groups.php(207): IPS\communitymap\extensions\core\GroupForm\_communitymap->process(Object(IPS\Helpers\Form), Object(IPS\Member\Group))
    #2 /home/mysite/public_html/forums/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_groups->form()
    #3 /home/mysite/public_html/forums/applications/core/modules/admin/members/groups.php(39): IPS\Dispatcher\_Controller->execute()
    #4 /home/mysite/public_html/forums/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\members\_groups->execute()
    #5 /home/mysite/public_html/forums/admin/index.php(14): IPS\_Dispatcher->run()
    #6 {main}

     
  8. I may not be in the right thread, but my users on MS Edge are getting a red warning "do not continue" notice when visiting my forums (4.5).

    I'm guilty of not reading all the fine print... and I agree that Windows Exploder needs to die. Yesterday, or sooner.

    But in the meantime... is there a fix, a workaround, anything I can do to not lose all those people?

  9. 6 hours ago, Martin A. said:

    It was a bug in the code, not in the files you supplied. image.thumb.png.7303e547f4b3b1222d39c2aeb626cdc4.png

    I don't want to post a release date. It'll be when it's ready, and either before or shortly after 4.5 final is released.

    Glad to hear it will work eventually... unfortunately, that doesn't answer my question at all. I have no idea when IPS 4.5 will be released lol! I still appreciate your responses.

    @Martin A. has done some great work with this, but he's not available for custom work and this doesn't appear to be a priority, otherwise I'd happily pay him! 

    I'm willing to pay for service, if anyone here is willing to dig into this and a couple other custom modifications to this app.

    Open invitation for anyone with the skills. My inbox is open!

  10. 5 hours ago, Martin A. said:

     

    Thanks. I've fixed this for the upcoming release.

    Happy to help 🙂

    When is the next release expected? Like... this week, 3 weeks, maybe a year... ? I read through all 125 pages of this topic looking for a sample kml or kmz file and didn't find a clue. I'm not sure if I should be glad it's not something I missed, or disappointed because I still don't know if it's going to work for my needs 😛 

  11. 1 hour ago, Martin A. said:

    It should work if the kml/kmz is exported from Google Earth. Google may have changed the format without me knowing. Send me the file and I'll see what I can do to fix it.

    I will attach a sample file that produced the error. I'd like to create multiple marker groups this way, so it wouldn't do any good to send you one file to fix.

     

    Test kml downloaded from Google maps. (attached)

     

    Error:

    TypeError: Argument 2 passed to IPS\membermap\modules\admin\membermap\_markers::_parseKmlPlacemark() must be an instance of IPS\membermap\modules\admin\membermap\object, instance of IPS\Xml\SimpleXML given, called in /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php on line 302 (0)
    #0 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(302): IPS\membermap\modules\admin\membermap\_markers->_parseKmlPlacemark(Array, Object(IPS\Xml\SimpleXML), 'Unbenannte Eben...')
    #1 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(177): IPS\membermap\modules\admin\membermap\_markers->_parseKml(Array, Object(IPS\Xml\SimpleXML), 'Unbenannte Eben...')
    #2 /home/site/public_html/forums3/system/Dispatcher/Controller.php(85): IPS\membermap\modules\admin\membermap\_markers->import()
    #3 /home/site/public_html/forums3/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
    #4 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(40): IPS\Node\_Controller->execute()
    #5 /home/site/public_html/forums3/system/Dispatcher/Dispatcher.php(152): IPS\membermap\modules\admin\membermap\_markers->execute()
    #6 /home/site/public_html/forums3/admin/index.php(14): IPS\_Dispatcher->run()
    #7 {main}

     

    Google Earth seems to be a hard way to create a new kml, but I did it for testing anyway. Attached as "test kml.kml", following error occured:

     

    TypeError: Argument 2 passed to IPS\membermap\modules\admin\membermap\_markers::_parseKmlPlacemark() must be an instance of IPS\membermap\modules\admin\membermap\object, instance of IPS\Xml\SimpleXML given, called in /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php on line 309 (0)
    #0 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(309): IPS\membermap\modules\admin\membermap\_markers->_parseKmlPlacemark(Array, Object(IPS\Xml\SimpleXML), 'New group')
    #1 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(177): IPS\membermap\modules\admin\membermap\_markers->_parseKml(Array, Object(IPS\Xml\SimpleXML), '')
    #2 /home/site/public_html/forums3/system/Dispatcher/Controller.php(85): IPS\membermap\modules\admin\membermap\_markers->import()
    #3 /home/site/public_html/forums3/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
    #4 /home/site/public_html/forums3/applications/membermap/modules/admin/membermap/markers.php(40): IPS\Node\_Controller->execute()
    #5 /home/site/public_html/forums3/system/Dispatcher/Dispatcher.php(152): IPS\membermap\modules\admin\membermap\_markers->execute()
    #6 /home/site/public_html/forums3/admin/index.php(14): IPS\_Dispatcher->run()
    #7 {main}

     

    I was able to import my Google Earth kmz into Google Maps with no problem, so I assume the file is not the issue. Appreciate the help! And happy to donate if you plan to continue supporting this project. 🙂 

    Dive Site Collection.kmz.kmz test kml.kml

  12. On 7/31/2020 at 10:55 AM, Adam.M said:

    Is there an example kml or kmz file somewhere in this 125 page thread? I’m trying to import markers and I keep getting errors. 

    Anyone?

  13. Is there an example kml or kmz file somewhere in this 125 page thread? I’m trying to import markers and I keep getting errors. 
     

    I’d also like to give members the option to add location but restricted to “closest major city”, disabling the street address. Is that possible?

    cool mod!!!

  14. 2 hours ago, Paul E. said:

    In fact, what we'd really like would be if a member could gift directly a subscription to another member (assuming the subscription was configured to allow such a thing, and following appropriate permissions, etc.). It would be nice to grant permission to a group as being eligible to receive gift subscriptions and to define a group as being eligible to give gift subscriptions. This would remove the entire complication of the gift card process for sites where the only thing available for purchase is a subscription.

    Not that the gift card thing isn't nice too--but while we're wishing and dreaming....

    Subscription or Product. :biggrin:

×
×
  • Create New...