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)

trancetopia 11-07-2005 09:39 PM

Quote:

Originally Posted by stonyarc
Does anybody have issues with the installation of the new version?

Only the marker colours for moderators show as normal members. Marker colour ok for admins.

ConqSoft 11-07-2005 09:59 PM

Quote:

Originally Posted by trancetopia
Only the marker colors for moderators show as normal members. Marker color ok for admins.

Yes, I noticed this as well. All my moderators are Super Mods, if that makes a difference.

trancetopia 11-07-2005 10:03 PM

I'm the same as you ConqSoft, all my mods are supermods. I'm going to have a look at the code to see if I can find anything.

trancetopia 11-07-2005 10:12 PM

Ok here is what you need to do. In VBGooglemap.php

This is assuming your supermod group is 5

Find:

Code:

if (($get_xml_user["displayusergroupid"]==6)OR($get_xml_user["displayusergroupid"]==7))
Replace With

Code:

(($get_xml_user["displayusergroupid"]==5)OR($get_xml_user["displayusergroupid"]==6)OR($get_xml_user["displayusergroupid"]==7))
Next, in your markers.xml file you need to edit your entries and change the type of each marker to yellow for all you supermods.

Upload and that should fix it :)

stonyarc 11-07-2005 11:12 PM

Quote:

Originally Posted by trancetopia
Ok here is what you need to do. In VBGooglemap.php

This is assuming your supermod group is 5

Find:

Code:

if (($get_xml_user["displayusergroupid"]==6)OR($get_xml_user["displayusergroupid"]==7))
Replace With

Code:

(($get_xml_user["displayusergroupid"]==5)OR($get_xml_user["displayusergroupid"]==6)OR($get_xml_user["displayusergroupid"]==7))
Next, in your markers.xml file you need to edit your entries and change the type of each marker to yellow for all you supermods.
Upload and that should fix it :)

Everything is correct except the last part.

The marker is constructed by the script on load (for now).
So you don't need to edit it. The usergroup is inserted in the googlemap table in the database so next time the map is fully reloaded the marker colour will be changed.

GrendelKhan{TSU 11-08-2005 02:45 AM

Quote:

Originally Posted by stonyarc
The version on http://www.xboxusersgroup.com/forums/VBGooglemap.php IS fully phrased :smoke:

For the markers you probably have a users with some bad characters in his text (you could check the googlemap table for that)

I'll release a version update later on today.


1. Great! thanks for the fully phrased version!!! multi-language is the way to go!! :D :D

2. hmm... just tested with id with no special characters but still not showing any markers. :( me very sad.

plus my "current users" field is always blank. dunno if that's related. :(

any ideas?

stonyarc 11-08-2005 04:39 AM

GrendelK

It's a dataerror.

IE is handeling this a lot worse than Firefox.

I send you a pm that should fix it.

GrendelKhan{TSU 11-08-2005 05:36 AM

Quote:

Originally Posted by stonyarc
GrendelK

It's a dataerror.

IE is handeling this a lot worse than Firefox.

I send you a pm that should fix it.

thanks! :)

exceem 11-08-2005 06:01 AM

getting this error msg (although the map works fine)

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/trevor/public_html/forums/includes/vba_cmps_include_template.php on line 9

code its reffering to
Code:

$phrasegroups = array_merge($phrasegroups,
        array(
                'calendar',
                'adv_portal',
                'postbit'
        )

would adding vbgooglemap to that fix it or would that affect otehr parts of the forum?

stonyarc 11-08-2005 06:12 AM

Quote:

Originally Posted by exceem
getting this error msg (although the map works fine)

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/trevor/public_html/forums/includes/vba_cmps_include_template.php on line 9

code its reffering to
Code:

$phrasegroups = array_merge($phrasegroups,
        array(
                'calendar',
                'adv_portal',
                'postbit'
        )

would adding vbgooglemap to that fix it or would that affect otehr parts of the forum?

That might do the trick to fix the portal integration. Make sure your download the latest version to. I just updated the files on 1.0.2 too.


All times are GMT. The time now is 01:11 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.02272 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (6)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