Jump to content

Member Map


Recommended Posts

Posted

Is it possible to display the minimap in the profile page to Satellite or Hybrid view ?

How ?

Thanks !

Edit: that should be a setting for the next version (profile page and the application page), would be cool !

Posted

Is it possible to display the minimap in the profile page to Satellite or Hybrid view ?



How ?



Thanks !



Edit: that should be a setting for the next version (profile page and the application page), would be cool !



Open ips.membermap.js

Around line 201 you should have

mapTypeId: google.maps.MapTypeId.ROADMAP,

Change that to either:

mapTypeId: google.maps.MapTypeId.SATELLITE,

OR

mapTypeId: google.maps.MapTypeId.HYBRID,



Save the file (re-upload), then you may need to clear your browser cache to see the change (CTRL+F5)

Posted


Any help to this?



Hi Ben,

I did write a reply and submit it, not sure where it went though :mad:

It's not available out of the box since you need access to a database to locate the region for the IP, they're also not that reliable either.

Stuart
Posted

Open ips.membermap.js



Around line 201 you should have



mapTypeId: google.maps.MapTypeId.ROADMAP,

Change that to either:

mapTypeId: google.maps.MapTypeId.SATELLITE,

OR

mapTypeId: google.maps.MapTypeId.HYBRID,



Save the file (re-upload), then you may need to clear your browser cache to see the change (CTRL+F5)



Can you confirm, I'm still using IPB 3.1.4, will this work and show a mini map in the member's portal?
Thanks, JB
  • 2 weeks later...
Posted

I created a custom Marker Group for testing purposes and now I want to delete it. But I get this message:

"That is just silly, you cannot move the markers to a group you are about to delete."

Of course… but I just have that group in the dropdown menu lol !
There's no markers yet in this group. What should I do ?

Thanks !

Posted

I created a custom Marker Group for testing purposes and now I want to delete it. But I get this message:



"That is just silly, you cannot move the markers to a group you are about to delete."



Of course… but I just have that group in the dropdown menu lol !


There's no markers yet in this group. What should I do ?



Thanks !



Ah, I see the bug

Open up /admin/applications_addon/other/membermap/modules_admin/membermap/cmarkers.php

Find (2 occurances, lines 137 & 155)

$this->registry->output->html .= $this->html->membermapMarkerGroupDeleteForm($this->_getGroupArray());

Replace both with:

$this->registry->output->html .= $this->html->membermapMarkerGroupDeleteForm($this->_getGroupArray($this->request['do']));

  • 2 weeks later...
Posted

Where can we donate $ without registering on your website? Do you have a paypal email I can donate to that you could pm me?

Thanks and have a splendid week*

  • 3 weeks later...
Posted

Hi, I want to use this on my site but I don't want the link to show in the main menu bar. I want to add a standard link elsewhere, in a topic, in a list of other maps.

Removing the name in the config disables the map completely. Adding the name activates the map but puts the title back in the top menu bar. I've seen other applications/hooks which allow you to hide the menu selection while keeping the application activated (IPDownloads is a good example). Is there a way of achieving this?

Posted

I keep getting this fatal error when I try to view the map

/applications_addon/other/membermap/modules_public/membermap/map.php on line 315

Is there something I've mist out?

Posted

Hi, I want to use this on my site but I don't want the link to show in the main menu bar. I want to add a standard link elsewhere, in a topic, in a list of other maps.



Removing the name in the config disables the map completely. Adding the name activates the map but puts the title back in the top menu bar. I've seen other applications/hooks which allow you to hide the menu selection while keeping the application activated (IPDownloads is a good example). Is there a way of achieving this?



Hi John,

You can edit the application in the 'Manage Applications' section of the ACP, you have the option to remove the menu tab (this is also the same for any application that you have installed).


I keep getting this fatal error when I try to view the map



/applications_addon/other/membermap/modules_public/membermap/map.php on line 315



Is there something I've mist out?



I'm afraid that isn't the complete error, can you post the full error ?

Thanks
Stuart
Posted

This is the whole error

Fatal error: Call to a member function mapTemplate() on a non-object in /home//public_html//applications_addon/other/membermap/modules_public/membermap/map.php on line 315

Posted

This is the whole error Fatal error: Call to a member function mapTemplate() on a non-object in /home/scotland/public_html/admin-********/applications_addon/other/membermap/modules_public/membermap/map.php on line 315



It looks like you need to recache your skins.

Goto Look & Feel > Template Tools > Click Recache Skin Sets

If that doesn't solve it, on the same page, under 'Rebuild Master Skin Data'

Check 'IP.Board Member Map' and the Rebuild HTML box.

Click Rebuild.

And then finally, recache your skin sets.

Thanks
Stuart
Posted

That worked a treat Stuart, thank you very much.



Now how do I make the map larger? at the moment it's just a narrow view.


That will require a CSS edit to alter the height of the container.

The value you will need to change is:

 #memberMapCanvasWrapper

 {

  height: 800px;

 }

Posted

Do I need to add this to one of the templates?



No, If you go into the template editor, click the CSS tab, then click membermap.css.

Change that line to the height you require.

i.e

 #memberMapCanvasWrapper

 {

  height: 1000px;

 }

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...