Changing the user info display to include Real Name
Discussion in "Map Me Support" started by oolong Sep 6, 2011.
Tue Sep 06 2011, 09:22 pm
Hi,
I'm using your MapMe! 1.4 and find it very useful. My clients have asked if I can include the real name (login) information in the user info displayed with the map.
I thought I have and idea how to do so by adding the line to the mapjs.php but after changing it none of the data would load.
Is there a way to conveniently add the real name to the other information? (over the user location data would be ideal)
Thanks
Dave
I'm using your MapMe! 1.4 and find it very useful. My clients have asked if I can include the real name (login) information in the user info displayed with the map.
I thought I have and idea how to do so by adding the line to the mapjs.php but after changing it none of the data would load.
Is there a way to conveniently add the real name to the other information? (over the user location data would be ideal)
Thanks
Dave
Tue Sep 13 2011, 11:21 pm
Yes its possible..
edit mapxml.php change this query.. add real name to be fetched from db.
edit mapxml.php change this query.. add real name to be fetched from db.
$sql-> mySQLresult = @mysql_query("SELECT ".MPREFIX."gmarkers.*, ".MPREFIX."user.user_name FROM `".MPREFIX."gmarkers`, ".MPREFIX."user where ".MPREFIX."gmarkers.user_id = ".MPREFIX."user.user_id");
Powered by e107 Forum System