vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - VBGooglemap Hotspot Edition (https://vborg.vbsupport.ru/showthread.php?t=123100)

Hunne 08-26-2006 08:58 PM

Because there is a bug in the template file. One condition is too much. Just compare it with the other (member-edition) template and remove it.

JimLink 08-27-2006 04:34 AM

I am somewhat new to this, could you explain by what condition should be removed and possilby why so I can learn... Sorry for being such a newbie.

Hunne 09-01-2006 06:01 PM

ATTENTION: It is possible to run dangerous mysql queries with this mod.
In the main file change:
PHP Code:

$getinfo_hse_list $db->query_first("SELECT mapid,cat_id,title_map,text_map,username,url_location,text_description_map,date_map,lat_map,lng_map,url_thread,img_location,approve,userid FROM " TABLE_PREFIX "googlemaphse where mapid = $mapid"); 

to
PHP Code:

$getinfo_hse_list $db->query_first("SELECT mapid,cat_id,title_map,text_map,username,url_location,text_description_map,date_map,lat_map,lng_map,url_thread,img_location,approve,userid FROM " TABLE_PREFIX "googlemaphse where mapid = '".mysql_escape_string($mapid)."'"); 


stonyarc 09-01-2006 10:47 PM

Quote:

Originally Posted by Hunne
ATTENTION: It is possible to run dangerous mysql queries with this mod.
In the main file change:
PHP Code:

$getinfo_hse_list $db->query_first("SELECT mapid,cat_id,title_map,text_map,username,url_location,text_description_map,date_map,lat_map,lng_map,url_thread,img_location,approve,userid FROM " TABLE_PREFIX "googlemaphse where mapid = $mapid"); 

to
PHP Code:

$getinfo_hse_list $db->query_first("SELECT mapid,cat_id,title_map,text_map,username,url_location,text_description_map,date_map,lat_map,lng_map,url_thread,img_location,approve,userid FROM " TABLE_PREFIX "googlemaphse where mapid = '".mysql_escape_string($mapid)."'"); 


I'll include a number of these fixes in the next version

stonyarc 09-01-2006 10:49 PM

Quote:

Originally Posted by DarkRoot
Is there any possibility to add a function, that users can edit their own Markers on the Map, like in the Member Edition?

Would be nice ;)

That is planned for the next version.

I'm a bit busy now (upgrading xboxusersgroup.com and "normal" work.

Martin-TMGRS 09-02-2006 09:34 AM

Quote:

Originally Posted by Hunne
Ah I just figured out what to do. I had to install the member-edition first.
Great work!

I did this, then reinstalled VBG Hotspot Edition but still getting the same problem after I uploaded the XML files. Its messes up all 'check box' option in vBulletin Options, such as in the 'Image Seting' Image Verification Options. In User Listing & Profile Viewing option all the Member List Field Options.

kenanulas 09-02-2006 10:08 PM

What Must we Have to do
After take the api keys
for example i have requested key
than i had
what must i do with api keys:cross-eyed:
where it will put into

Martin-TMGRS 09-03-2006 08:17 AM

Quote:

Originally Posted by kenanulas
what must i do with api keys:cross-eyed:
where it will put into

Goto the VBGooglemapHE settings in there you will see "Googlemap Key for your URL" with 12345 in it already. You place your key in there.

Mr Morningstarr 09-03-2006 05:51 PM

I'm being told my key doesn't work. Is this common?

Mr Morningstarr 09-03-2006 06:07 PM

Right, the key's working now. But the map just isn't showing up.

http://morningstarr.co.uk/forum/vbgooglemaphse.php


All times are GMT. The time now is 04:49 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.01328 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)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
  • (1)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