Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
stoo2000 Posted March 24, 2011 Posted March 24, 2011 This mod is great :wub: , however, when too many markers get added, it crashes :( So on one hand, you want people to add their location, but the more that's added the closer the end appears. Got an example ? I've seen hundreds of markers on the maps before without a problem (main reason clustering was added)
jackflash Posted March 31, 2011 Posted March 31, 2011 Got an example ? I've seen hundreds of markers on the maps before without a problem (main reason clustering was added) Hi, I just upgraded to the latest version and recached/rebuilt the skins. It shows the same error, although, periodically. http://www.teamshelby.com/forums/index.php?/membermap/
stoo2000 Posted March 31, 2011 Posted March 31, 2011 Hi, I just upgraded to the latest version and recached/rebuilt the skins. It shows the same error, although, periodically. http://www.teamshelby.com/forums/index.php?/membermap/ What is the error though,I've just had a look at your map and it looks fine.
jackflash Posted March 31, 2011 Posted March 31, 2011 What is the error though,I've just had a look at your map and it looks fine. Yes, it's sporadic. I checked it once and it worked great. Checked it again and it produced: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1188318 bytes) in /home/staff/public_html/forums/LORLEANS/sources/classes/output/publicOutput.php on line 3209
UK Fiesta Network Posted April 4, 2011 Posted April 4, 2011 Not sure what you mean. It's included in the entire page. Let me explain. I had the default (with edits) set around 3. It shows around 3/4 of North America and Europe. Every time a user visits the page this is what they see with all the markers unless they zoom to a particular area. When they change forum sections and come back to member map, the default is seen again. Well, all that went out the window when I added a custom marker. It zooms the area all the way in to show the average of markers that are listed. So if you only have 10 markers in a single area that is the area that shows as default and not the 3/4 of the world. I can see how the default view would increase in area once members from other areas start to enter their locations but until then... Had the same problem, just amended the bounds in mapGoogleCustomMarkers and it worked fine as before map.setCenter(bounds.getCenter(), INSERT NUMBER HERE);
Worldoversea Posted April 4, 2011 Posted April 4, 2011 Had the same problem, just amended the bounds in mapGoogleCustomMarkers and it worked fine as before map.setCenter(bounds.getCenter(), INSERT NUMBER HERE); Yes, this works very well except when you add custom markers. You need to wait until the map is populated a bit then the custom markers will not affect the map as much. There is still the problem in where a user adds the same location such as city and State, etc... only one marker shows.
stoo2000 Posted April 4, 2011 Posted April 4, 2011 Yes, it's sporadic. I checked it once and it worked great. Checked it again and it produced: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1188318 bytes) in /home/xxx/public_html/forums/xxx/sources/classes/output/publicOutput.php on line 3209 Thanks for confirming the error, that would suggest that we need to change the way that the markers are added to the map, maybe cache them and use the XML loading method. - I have posted a tracker issue if you would like to follow it: http://ipb.silvesterwebdesigns.com/tracker/issue-19-fatal-error-allowed-memory-size-of-134217728-bytes-exhausted-large-site/ Had the same problem, just amended the bounds in mapGoogleCustomMarkers and it worked fine as before map.setCenter(bounds.getCenter(), INSERT NUMBER HERE); I was discussing this issue with Worldoversea via PM, It would seem that the Clustering plugin that is being used is setting it's own zoom level when used. There is still the problem in where a user adds the same location such as city and State, etc... only one marker shows. If you subscribe to the tracker issue, you can be informed when this particular issue is fixed: http://ipb.silvesterwebdesigns.com/tracker/issue-18-a-few-issues/
UK Fiesta Network Posted April 4, 2011 Posted April 4, 2011 Yes, this works very well except when you add custom markers. You need to wait until the map is populated a bit then the custom markers will not affect the map as much. I have both custom markers and member markers on the map, and changing the above line works fine on my map. Initially I just had member markers and had changed the line in mapGoogleJavascript to set the initial zoom. When I added custom markers, it displayed the original zoom behaviour of centering based on the custom marker locations. As soon as I changed that line in mapGoogleCustomMarkers it always opens at zoom level 6 (which is how I set it). There is still the problem in where a user adds the same location such as city and State, etc... only one marker shows. True, this is a bit of a pain as I'm sure many users will just add their rough geographic location (town/city) rather than street address. From looking at the (admittedly rather confusing) google API code groups, it seems this is something that hasn't been specifically addressed in v3 except with the use of various plugins/mods which frankly baffled me. The options seem to be combining the infobubbles or tabbing them. Not a clue :lol: I have managed to get clustering working with custom markers though, so feeling rather pleased with myself...
Adriano Faria Posted April 5, 2011 Posted April 5, 2011 (edited) Wrong topic.... Edited April 5, 2011 by Adriano Faria
UK Fiesta Network Posted April 5, 2011 Posted April 5, 2011 Had anyone found a definitive way to change the background colour of the infobox yet? Nothing mentioned in this thread has worked (all the CSS indicated previously is already a different colour) and I'm getting beyond fed up with trial and error. I managed to change the username and "remove marker" text with a few CSS tweaks, but the infobox appears to be a real pain... The obvious workaround of adding a div or span class to the mapInfoBox template prevents the map from displaying at all, as does such simple amendments as removing the <h3> tags or attempting to insert a style class within a div, p etc. I cannot for the life of me work out what the heck is going on with this. The reason I'm trying to amend the infobox background colour is that the default style of one of our usergroups is white text, and no CSS change will override that as the element style of the {$memberData['g_title']} takes priority. Literally the only way is to either change the colour scheme of our member groups, which isn't practical, or remove the member titles from the infobox altogether, which I'd prefer not to do.
stoo2000 Posted April 5, 2011 Posted April 5, 2011 Had anyone found a definitive way to change the background colour of the infobox yet? Nothing mentioned in this thread has worked (all the CSS indicated previously is already a different colour) and I'm getting beyond fed up with trial and error. I managed to change the username and "remove marker" text with a few CSS tweaks, but the infobox appears to be a real pain... The obvious workaround of adding a div or span class to the mapInfoBox template prevents the map from displaying at all, as does such simple amendments as removing the <h3> tags or attempting to insert a style class within a div, p etc. I cannot for the life of me work out what the heck is going on with this. The reason I'm trying to amend the infobox background colour is that the default style of one of our usergroups is white text, and no CSS change will override that as the element style of the {$memberData['g_title']} takes priority. Literally the only way is to either change the colour scheme of our member groups, which isn't practical, or remove the member titles from the infobox altogether, which I'd prefer not to do. You can't change the background colour of the infobubbles without making the entire map look terrible (there is only one class to use), The other option you have is to apply a background colour to the div that we load into that box [class=text]
UK Fiesta Network Posted April 6, 2011 Posted April 6, 2011 Tried that, it looks bloody awful :lol: In the end I've had to resort to doing what I really didn't want to, ie changing the member group to a very slightly off-white greyish hue, so it is still visible on both the white background of the info bubble and the dark background of the rest of our site, whilst still vaguely in keeping with the group theme. Shame we can't just add style properties to the template divs, but I assume this causes some conflict with google, hence the map not loading if we do fiddle.
Darksbane0 Posted April 10, 2011 Posted April 10, 2011 great mod, is there a way to display custom profile fields in the user popup boxes? I tried just adding in $memberData['field_12'] to the skin but that doesn't seem to work.
claustrier Posted April 12, 2011 Posted April 12, 2011 Where do I translate 'Member Map' as shown in the menu and title? Can't find it ....
stoo2000 Posted April 12, 2011 Posted April 12, 2011 Where do I translate 'Member Map' as shown in the menu and title? Can't find it .... I replied earlier ;) http://ipb.silvesterwebdesigns.com/topic/65-how-to-rename-member-map/page__pid__246#entry246
modman Posted April 18, 2011 Posted April 18, 2011 Why i receive error when go to member map main page? Error on file map.php on line 304. Installation is ok, i use ip board 3.1.4. Thanks
stoo2000 Posted April 18, 2011 Posted April 18, 2011 Why i receive error when go to member map main page? Error on file map.php on line 304. Installation is ok, i use ip board 3.1.4. Thanks You'll need to be a little bit more specific than that, I'm not magic :blush:
modman Posted April 18, 2011 Posted April 18, 2011 I've ip board v3.1.4 i've downloaded Member Map v1.0.3 I've installed it and configured with Goggle Key API and permissions. All perfect. Now i go in home page and when go to Member Map Tab receive this error:Fatal error: Call to a member function mapTemplate() on a non-object in /web/htdocs/www.ecu-tuning.it/home/home/admin/applications_addon/other/membermap/modules_public/membermap/map.php on line 304 Why? Excuse me for my english, i'm italian. Thanks a lot
stoo2000 Posted April 18, 2011 Posted April 18, 2011 I've ip board v3.1.4 i've downloaded Member Map v1.0.3 I've installed it and configured with Goggle Key API and permissions. All perfect. Now i go in home page and when go to Member Map Tab receive this error:Fatal error: Call to a member function mapTemplate() on a non-object in /web/htdocs/www.ecu-tuning.it/home/home/admin/applications_addon/other/membermap/modules_public/membermap/map.php on line 304 Why? Excuse me for my english, i'm italian. Thanks a lot You need to visit the Look & Feel Tab, go into Template Tools, and Recache your skin sets. IP.Board didn't import the template bits for some reason.
modman Posted April 18, 2011 Posted April 18, 2011 All skin sets recached but error continue displaying :(
stoo2000 Posted April 18, 2011 Posted April 18, 2011 All skin sets recached but error continue displaying :( Re-upload all of the files, then uninstall and re-install.
modman Posted April 18, 2011 Posted April 18, 2011 Re-upload all of the files, then uninstall and re-install. All files re-uploaded, app unistalled and reinstalled. app configurated with permission and google api, recache all skin set and recache all ip board. Error remain the same :(
stoo2000 Posted April 18, 2011 Posted April 18, 2011 All files re-uploaded, app unistalled and reinstalled. app configurated with permission and google api, recache all skin set and recache all ip board. Error remain the same :( Can you send me a message with an administrator username + password please.
stoo2000 Posted April 18, 2011 Posted April 18, 2011 Can you send me a message with an administrator username + password please. For anyone else possibly seeing the same issue, this is what happens when you remove the default skin, it will break application installations. Have a read here: http://community.invisionpower.com/resources/documentation/index.html/_/knowledge-base/previous-versions/305-default-ipboard-skin-got-deleted-heres-how-to-recover-it-r431
modman Posted April 18, 2011 Posted April 18, 2011 For anyone else possibly seeing the same issue, this is what happens when you remove the default skin, it will break application installations. Have a read here: http://community.invisionpower.com/resources/documentation/index.html/_/knowledge-base/previous-versions/305-default-ipboard-skin-got-deleted-heres-how-to-recover-it-r431 THANKS Boy! :D :D :D All perfect now!
Recommended Posts