vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

stonyarc 05-16-2006 09:01 PM

Quote:

Originally Posted by MagiKelly
I've done that again and the menu is now there in the usergroups manager but when I change the settings to show the map it says the update was succesfull but the followinf message also flashes up above that



When I go back into the usergroup the settings are still all set to No.


When exactly do you get this error?
Can you please reinstall the product with a full overwrite?

EasyTarget 05-16-2006 09:10 PM

thanks for the update, looks great.

Is there a way to replace a users default vbulletin location in the postbit if they have a googlemap location set?

Also I seem to be having problems with the usergroups. I tried to get one usergroup to show up on the map with yellow balloons and it didn't work, but even when I disabled that usergroup there were 2 normal users who showed up with yellow balloons for some reason. (I only have blue, green and red enabled).

You can see the yellow ones in so. ca. and also in ontario, canada a little above new york. (its hidden behind 3 others)

stonyarc 05-16-2006 09:44 PM

Quote:

Originally Posted by EasyTarget
thanks for the update, looks great.

Is there a way to replace a users default vbulletin location in the postbit if they have a googlemap location set?

Also I seem to be having problems with the usergroups. I tried to get one usergroup to show up on the map with yellow balloons and it didn't work, but even when I disabled that usergroup there were 2 normal users who showed up with yellow balloons for some reason. (I only have blue, green and red enabled).

You can see the yellow ones in so. ca. and also in ontario, canada a little above new york. (its hidden behind 3 others)

As the markers.xml isn't recreated anymore on each load if you change the setting of the usergroup you'll have to force the cron to run to create the file by clicking run now

or by going to the map, clicking your entry and clicking update which also forces a reload.

that should fix it.

stonyarc 05-16-2006 09:48 PM

on a more pleasant note

Check out the new Xbox Live version I made

http://www.xboxusersgroup.com/forums...hp?do=showmain

Dr.Viggy 05-16-2006 09:50 PM

i'm still in the situation where the map is working perfectly but the link in the user informotaion in the postbit is only showing up for one person and not the other. we are both admins so it shouldn't be a usergroup issue. any ideas?

dai-kun 05-16-2006 09:52 PM

I can't get the markers to show up on the map for some reason. I tried running the cron job too but i get this:

Code:

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/domain.com/forum/includes/adminfunctions.php:236) in /includes/cron/vbgooglemapme_cron.php on line 71

-edit-

nevermind, i fixed it by reuploading the product file.

Thanks for the hack.

stonyarc 05-16-2006 10:26 PM

Quote:

Originally Posted by Dr.Viggy
i'm still in the situation where the map is working perfectly but the link in the user informotaion in the postbit is only showing up for one person and not the other. we are both admins so it shouldn't be a usergroup issue. any ideas?

I'm not able to simulate the issue.

Can you make sure that the $post[findme] is put outside any of the conditions (if's) just to make sure.

Also check the plugin code

It must look like this one


PHP Code:

global $vbulletin


if (
$post[userid]){ 
$getpos $vbulletin->db->query_first("SELECT userid,lat_map,username,lng_map FROM " TABLE_PREFIX "googlemapme WHERE userid = $post[userid]"); 
$bburl $vbulletin->options['bburl']; 
$lat $getpos['lat_map']; 
$lng $getpos['lng_map']; 


if (
$lat

$post['findme'] = "<a href=\"$bburl/vbgooglemapme.php?lat=$lat&lng=$lng&zoom=10\" target=\"_self\">$vbphrase[vbgooglemapme_findme]</a>"

else 

$post['findme'] = ""




else 

$post['findme'] = ""



Dr.Viggy 05-16-2006 10:40 PM

ok so here's the end result. i put the $post[findme] outside the if condition for the avatar and it showed up with "my location" the additional hack that you had for the profile was showing another link that said "dr.viggy's location" but it wasn't showing for anyone else. i removed the code for the profile hack and it left the "my location" link for the users that have added map entries. it's 100% now. thanks for all your help.

stonyarc 05-16-2006 10:50 PM

Quote:

Originally Posted by Dr.Viggy
ok so here's the end result. i put the $post[findme] outside the if condition for the avatar and it showed up with "my location" the additional hack that you had for the profile was showing another link that said "dr.viggy's location" but it wasn't showing for anyone else. i removed the code for the profile hack and it left the "my location" link for the users that have added map entries. it's 100% now. thanks for all your help.


No problem enjoy the app

bada_bing 05-17-2006 01:16 AM

I think there is a problem with the formating when using Firefox. Worked fine with the prior version but the new version seam to not align up correctly in FF but ok in IE
Here is the link to an example
http://seekingadultfriends.com/forums/vbgooglemapme.php


All times are GMT. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02634 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete