Those two lines do have to be there. They print out the Javascript and map code that let the page interact with the Google Maps API (basically).Garry wrote:I just ran across a problem with this mod - while everything seems to work fine, registering a new user results in an empty page (apart from the header). I did some testing, and found that commenting out the lines:
"PHOOGLE_SCRIPT" => $userMap->printGoogleJS(),
"PHOOGLE_MAP" => $userMap->showMap(),
resulted in the new user registration working again ... as I don't get any error in either the apache loggs, nor the HTML source, I'm kinda stumped at what might be wrong here ... anybody have an idea? Without the lines, the regular edit profile doesn't show the Google Map anymore, too ... !?
I have exactly the same problemGarry wrote:I just ran across a problem with this mod - while everything seems to work fine, registering a new user results in an empty page (apart from the header). I did some testing, and found that commenting out the lines:
"PHOOGLE_SCRIPT" => $userMap->printGoogleJS(),
"PHOOGLE_MAP" => $userMap->showMap(),
resulted in the new user registration working again ... as I don't get any error in either the apache loggs, nor the HTML source, I'm kinda stumped at what might be wrong here ... anybody have an idea? Without the lines, the regular edit profile doesn't show the Google Map anymore, too ... !?
If either you or Garry could post a link (or PM me if you prefer), I'll take a look. Also, post or PM me your usercp_register.php file.bergman.a wrote:I have exactly the same problemGarry wrote:I just ran across a problem with this mod - while everything seems to work fine, registering a new user results in an empty page (apart from the header). I did some testing, and found that commenting out the lines:
"PHOOGLE_SCRIPT" => $userMap->printGoogleJS(),
"PHOOGLE_MAP" => $userMap->showMap(),
resulted in the new user registration working again ... as I don't get any error in either the apache loggs, nor the HTML source, I'm kinda stumped at what might be wrong here ... anybody have an idea? Without the lines, the regular edit profile doesn't show the Google Map anymore, too ... !?
Answers:mbart wrote:Very Cool mod, just what I have been looking for. I have a few quick questions about the mod. I run a forum for parents of children with Infantile Spasms, a rare seizure disorder, the forum requires registration and you can't get to any topics without a password. Because the site contains information about our kids many parents are very careful about what others can see. Here are my questions:
1. Would the map be secure like the rest of the forum, in other words if you select Phoogle from the menu will it prompt for a password if you are not logged in?
2. With about 300 members will the map become very crowed? I am sure you can work around this by zooming to your particular region if it is the case.
3. Will Phoogle work with PHPBB 3.0? I haven't updated yet but I would hate to get forum members excited about the map only to loose it with an upgrade.
Thanks,
Mike
What I would try first is:Shaitian wrote:Great mod, Set it up today and my members are having fun with it
Only think I have noticed and it prob has been answer before but the top up windows on the map are white background with white text. Is there a simple way to change this
thanks
Code: Select all
class='phoogleComment'
Code: Select all
class='post'
Thanks but this did not change the text from white to black. Under the area where you state you build the 2nd tab there was no class fucntionsBassFace wrote:What I would try first is:Shaitian wrote:Great mod, Set it up today and my members are having fun with it
Only think I have noticed and it prob has been answer before but the top up windows on the map are white background with white text. Is there a simple way to change this
thanks
Open phoogle_map.php with a text editor with a 'Find and Replace' function.
Find all instances ofand replace withCode: Select all
class='phoogleComment'
I did this on one of my sites with a dark theme and it worked (turned the text black).Code: Select all
class='post'
Sorry, this MOD doesn't have a Geocoding feature to translate postal codes/addresses into Latitude/Longitude. It did many versions ago, but it was very unreliable.antisa33 wrote:Hello
I have in my database the phpbb_users table with postal code field and country field.
Somebody can help to allow the geolocalication on the phoogle map ?
Because now my users are not correctly positionnated![]()
Thanks a lot
Hi!Garry wrote:I just ran across a problem with this mod - while everything seems to work fine, registering a new user results in an empty page (apart from the header). I did some testing, and found that commenting out the lines:
"PHOOGLE_SCRIPT" => $userMap->printGoogleJS(),
"PHOOGLE_MAP" => $userMap->showMap(),
resulted in the new user registration working again ... as I don't get any error in either the apache loggs, nor the HTML source, I'm kinda stumped at what might be wrong here ... anybody have an idea? Without the lines, the regular edit profile doesn't show the Google Map anymore, too ... !?