Jump to content

Member Map

Featured Replies

 

There's nothing stopping you from manually running the task through the ACP as much as you want. Just remember the 15.000 transaction quota you have with MapQuest.

But other than that, no. Not without editing the task fiile. 

Thank you for the info. I find that if I manually run the task (which looks like is set up daily), the member count on the map doesn't change. I have to go back into map settings and turn on again Import members without a map marker?

It's as if that settings does not stay on after automatic daily task run. Is that accurate?

If I turn it back on and manually run the task, I'll get an output like:

The task ran successfully and produced the following output:

Synchronised 93 out of 100 member locations

I can then run it again manually and again, but if I let it automatically run, it's as if that sync setting shuts off.

  • Replies 3.2k
  • Views 209.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • That is correct. I have thought about making this a paid app many times before, both for the 4.4 and 4.3 version. And the price I'm placing on this now is the same I planned to put on it back then. (I

  • I'm sure you are able to export an entire folder as a KML or KMZ file. Most of the files I've tested with contains thousands of markers.  Yes. But I'll have to make quite a few changes in order

  • Days or a week. I've re-structured the main javascript code, so that needs a bit of testing. Unfortunately none of you can beta test this, as I think that would make it impossible for you to purc

Posted Images

  • Author

It should only turn itself off when there are no more members to process. Are you sure you've not done them all? You can run this query to see the amount of members who haven't been process. 

SELECT COUNT(*) as total FROM core_members WHERE membermap_location_synced = 0;

This will not take those with empty locations into consideration. I'd need to know the ID of profile field to give you that query.

With the member count NOT updating when running it manually, and it's turning itself off, that's a strong indication that it's actually finished.

Thanks. I ran that and it came back with a count of 14065. I'm using field_4 for a location profile field to sync with. In that field I have 15225. My map is accurately showing 1,160 locations currently (I supposed what imported). The task is supposed to run tomorrow morning. At this rate (if its about 100 every time it runs every day) it should be done in 140 days or so. It isn't off in settings now so I don't think its turning itself off like I thought.

Can I edit the task to do more daily and then just revert when done?

 

  • Author

If you want to do that, the task file is located in /applications/membermap/tasks/locationSync.php. The variable you need to change is $limit.

The proper to run to see how many you have left is:

SELECT COUNT(*) 
FROM core_members m
LEFT JOIN core_pfields_content pf ON ( pf.member_id=m.member_id )
LEFT JOIN membermap_markers mm ON ( mm.marker_member_id=m.member_id AND mm.marker_parent_id=<ID OF THE MEMBERS MARKER GROUP> )
WHERE ( pf.field_4 IS NOT NULL OR pf.field_4 != '' ) AND mm.marker_id IS NULL AND m.membermap_location_synced = 0 AND ( ! (`members_bitoptions` & 1 ) != 0 )

 

 

Thanks. I ran that and it came back with a count of 14065. I'm using field_4 for a location profile field to sync with. In that field I have 15225. My map is accurately showing 1,160 locations currently (I supposed what imported). The task is supposed to run tomorrow morning. At this rate (if its about 100 every time it runs every day) it should be done in 140 days or so. It isn't off in settings now so I don't think its turning itself off like I thought.

Can I edit the task to do more daily and then just revert when done?

 

What's interesting is that the task supposedly ran this morning and now says its not needed. The count remained at 14065 not synced. So after the task ran, no additional fields were synced from the count in my earlier post from yesterday. 

I then went into map settings and the setting for Import members without a map marker? is off. I have no idea how that setting is shutting off on its own before completing, but it definitely is after the task runs.

I took a look at the system logs and at the same time as the task runs I have:

array (
  0 => 'Only subclasses of Dispatcher can be instantiated',
  1 => NULL,
)
#0 /home/cr/public_html/applications/membermap/tasks/locationSync.php(148): IPS\_Log::log(Array, 'membermap')
#1 /home/cr/public_html/system/Task/Task.php(249): IPS\membermap\tasks\_locationSync->execute()
#2 /home/cr/public_html/system/Task/Task.php(218): IPS\_Task->run()
#3 /home/cr/public_html/applications/core/interface/task/task.php(61): IPS\_Task->runAndLog()
#4 {main}

When I run your query with my only one marker group (everyone), the count returns 14046 which is slightly less than.

Edited by ajmboy

  • Author

Something is throwing an exception on your install, but not on mine and probably not on other users. In the task file, can you change the following:

\IPS\Log::log( array( $e->getMessage(), $nominatim ), 'membermap' );

To

\IPS\Log::log( array( $e->getMessage(), $nominatim, $e->getTraceAsString() ), 'membermap' );

Then see if you can reproduce it. This should give a proper stack trace of what's triggering the error.

Any idea why I can access all of the markers but not get a map please?

Screen Shot 2016-12-15 at 22.08.08.png

  • Author
 

Any idea why I can access all of the markers but not get a map please?

Screen Shot 2016-12-15 at 22.08.08.png

Must be a JS error, which I can't see as you've disabled guest access. Do I have an account on your site?

 

Must be a JS error, which I can't see as you've disabled guest access. Do I have an account on your site?

I'll PM you some details if you don't mind taking a look please.

I changed the map and it helped.

  • 2 weeks later...

Hi 

I just upgrade my test-installation to the newest version and at first I have to say: wow, thanks you! 

That 'Browse Markers' Feature is absolutely great! 

I just stumbled upon this strange thing... when not logged in, I do see the option to edit Markers:

marker_edit.png

 

marker_edit2.png

 

It seems not to save the edits (site refreshes, but no change saved) - is this a bug?

 

 

I'd also ask, if there is a possibility to get a notification if someone adds a marker for reviewing.... I't pretty cool that members cann now custom markers and approve them - I'm, just missing some kind of notification (mail, inline-notification) to check the new marker entries  - tia

I just installes the newest version into my production environment and found this problem on via mobile (this is the description of a marker - normal on PC but like that on mobile)

IMG_1385.PNG

 

Btw. happens also with the IPB default theme.

is there a fix for that? Thanks in advance

direct link: https://www.parkour-vienna.at/community/membermap/markers/marker/2-kongress-park/

 

Edited by ThomasS

  • Author
 

Hi 

I just upgrade my test-installation to the newest version and at first I have to say: wow, thanks you! 

That 'Browse Markers' Feature is absolutely great! 

I just stumbled upon this strange thing... when not logged in, I do see the option to edit Markers:
 

It seems not to save the edits (site refreshes, but no change saved) - is this a bug?

Is this marker added by a now deleted member? That's the only reason I can think of. I've made some changes to make sure that won't happen.

 

 

I'd also ask, if there is a possibility to get a notification if someone adds a marker for reviewing.... I't pretty cool that members cann now custom markers and approve them - I'm, just missing some kind of notification (mail, inline-notification) to check the new marker entries  - tia

If you've enabled it in your notification settings, you'll get an inline notification, browser notification and/or an email.

Notification_Settings_-_IPS_Community_Suite.pngNotification_Settings_-_IPS_Community_Suite.png

 

I just installes the newest version into my production environment and found this problem on via mobile (this is the description of a marker - normal on PC but like that on mobile)

Btw. happens also with the IPB default theme.

is there a fix for that? Thanks in advance

Thanks, this will be fixed in the next version.

 

Is this marker added by a now deleted member? That's the only reason I can think of. I've made some changes to make sure that won't happen.

 

If you've enabled it in your notification settings, you'll get an inline notification, browser notification and/or an email.

Notification_Settings_-_IPS_Community_Suite.pngNotification_Settings_-_IPS_Community_Suite.png

Thanks, this will be fixed in the next version.


thanks!

yes, it was added by 'Unknown' => I had to edit the marker and it added me automatically as creator, then the edit possibility was gone for guests

notification works now and thanks for fixing the bug!

  • 2 weeks later...
 

@Martin A. when do you plan to release this fixed version? (or is there a simple way to fix this until then by hand - where?)

found it and fixed it directly

I tried to import a kml file formated like:
 

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>test1</name>
<description>test</description>
<Point>
<coordinates>10.8161288872361,52.4347560983765,0</coordinates>
</Point>
</Placemark>
<Placemark>
<name>test2</name>
<description>test</description>
<Point>
<coordinates>2.07506015896797,49.0388014001798,0</coordinates>
</Point>
</Placemark>
</kml>

AllI get is a 'Successfully imported 0 markers' :unsure:

  • Author
 

I tried to import a kml file formated like:
 


<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>test1</name>
<description>test</description>
<Point>
<coordinates>10.8161288872361,52.4347560983765,0</coordinates>
</Point>
</Placemark>
<Placemark>
<name>test2</name>
<description>test</description>
<Point>
<coordinates>2.07506015896797,49.0388014001798,0</coordinates>
</Point>
</Placemark>
</kml>

AllI get is a 'Successfully imported 0 markers' :unsure:

There will be an update to the import tool in the next version as well.

3.1.6.1 is giving me:

1S160/2 - The page you requested does not exist

Error: Call to a member function adjust() on null (0)
#0 .../applications/membermap/sources/Map/Map.php(380): IPS\membermap\extensions\membermap\Mapmarkers\_Calendar->getLocations()
#1 .../applications/membermap/sources/Map/Map.php(237): IPS\membermap\_Map->recacheJsonFile()
#2 .../applications/membermap/modules/front/membermap/showmap.php(47): IPS\membermap\_Map->checkForCache()
#3 .../system/Dispatcher/Controller.php(96): IPS\membermap\modules\front\membermap\_showmap->manage()
#4 .../applications/membermap/modules/front/membermap/showmap.php(34): IPS\Dispatcher\_Controller->execute()
#5 .../system/Dispatcher/Dispatcher.php(129): IPS\membermap\modules\front\membermap\_showmap->execute()
#6 .../index.php(13): IPS\_Dispatcher->run()
#7 {main}

It is okay if I turn-off the calendar extension

Edited by Edward Shephard

Sorry if I am dense, but I can't get the calendar feature to work. I have enabled it in settings:

chrome_2017-01-15_18-34-15.png

 

 

I have also created an event with address:

chrome_2017-01-15_18-34-42.png

 

But nothing shows on the map, only the default marker I have created for my location. Is there something I am missing?

 

What's odd for me is that only some of the events show, but not all of the tones that I would expect to see given the settings.  ATM I can't quite figure-out and common-denominator.

  • Author

Can you guys take a screenshot of the event form for the events that don't appear on the map?

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.