Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VBGooglemap Member Edition Details »»
VBGooglemap Member Edition
Version: 3.0.1, by stonyarc stonyarc is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 08-04-2006 Last Update: 08-20-2007 Installs: 1034
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.


Version 3.0.1 is currently available

This is the tested port of my 3.5.x version h(https://vborg.vbsupport.ru/showthread.php?t=99920)

You can now nominate hacks yourself for hacks of the month. There is a link on the right of hacks on top of the files.

Function
This will display the members of the Bulletin Board based on their lattitude and longitude coordinates on a googlemap.

Don't forget to hit install !!!!!!!
Please read the guide before asking for support !!!!!!!

Feel free to support this mod and make a paypal donation to admin@stonyarc.com

INSTALL

Detailed installation instructions and screenshots in the included pdf file.

Current Features



NOTE:
VBGooglemap 3.0.0 contains the vulnerability fix. Please upgrade immediately. Version 3.0.0. also contains all features from 2.5.X

As always you use modifications at your own risk.

VBGooglemap Member Edition 2.5.x brings you a lot of new features. It?s vital that you uninstall any previous version before upgrading/installing version 2.5.x.

Upgrading from version 2.5.0 is easier. Instruction are available in the guide.

As the uninstall function will not remove your googlemap data in the database but only the templates and files you can safely remove an older version. As a precaution you should always take a backup. This should be done on each major change you make to your bulletin board.

IF YOU ARE RUNNING VERSION 1.0.3, 2.0.X AND YOU CHANGED TEXT DIRECTLY IN THE TEMPLATES YOU NEED TO SAVE YOUR CHANGES AS VERSION 3.0.0. REQUIRES YOU TO UINSTALL PREVIOUS VERSIONS.

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission.

Changes in this version

SEE FIRST POST FOR FULL ROADMAP AND HISTORY

Planned Features
- TBD

Volume warning

high volume of users may slow down the load. Currently a load counter is included.

Languages

Thanks to Wachtmeister there is a German translation available to you all. Feel free to use it.

The translation will be updated on each new version.

Special

- Read the attached PDF for more information. The pdf is also included in the zip file.
- You'll need a googlemap key for your domain. Get your own key for your domain view http://www.google.com/apis/maps/signup.html for more information.
A googlemap key is only valid for a specific domain. You'll need a specific google account to create one.
All is explained on the googlemap link indicated above.
- Set the file permissions on the marker.xml file to 777
- The googlemap script can handle non-registered users. They will only see the main map and won't be able to enter information. This is reserved for logged in users (detected automatically)
- usergroup permissions are available in the backend
- To change location just drag the map while holding the left mouse key or by using the zoom and key functions on the left
- First time loading of the map may take a few seconds longer because of Google API hosting



Special Xbox Live version
http://www.xboxlivenation.com/community/gamermap.php

Credits

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission. Instructions are included in the pdf file.
Special credits to Google, Pyg for the javascript tips.



FAQ

The FAQ is included in the pdf file.

INSTALL



Feel free to support this mod and make a paypal donation to admin@stonyarc.com



(c) 2007 Stonyarc

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #942  
Old 09-27-2009, 07:03 PM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 4bidden View Post
I killed the image tab all together and fixed the display issue that had to do with the small overview map.

See working version here - http://www.arizonaquads.com/forum/vbgooglemapme.php

For now, if you don't have any image problems (invalid chars such as &) but still your map is broken, try this.

In vbgooglemapme.php, find this on line 107
Code:
$smallmapcontrol = "
        map.addControl(new GOverviewMapControl(new GSize(150,150)));
        var overview = document.getElementById(\"memap_overview\"); 
        document.getElementById(\"memap\").appendChild(overview);";
and replace with this
Code:
$smallmapcontrol = "
        map.addControl(new GOverviewMapControl(new GSize(150,150)));";
That kept the small overview map and fixed the display issue.

I'll post back tomorrow how to remove all the info about images if people want.
Could you explain how to remove the image tab in the bubble?
Reply With Quote
  #944  
Old 10-02-2009, 06:01 PM
eh69 eh69 is offline
 
Join Date: Feb 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any1 can sent me eng file?

i want translate this mod to polish.
Reply With Quote
  #945  
Old 10-09-2009, 06:41 PM
papabear99 papabear99 is offline
 
Join Date: May 2008
Location: Muskegon
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I very much like this function and it seems that we are aboot to ditch AME as well and purchase the Passive Video product

Quote:
Originally Posted by vwdforum View Post
thanks, I've done what you've said, and not it works, bye bye AME!
Reply With Quote
  #946  
Old 10-26-2009, 04:49 AM
accludetuner accludetuner is offline
 
Join Date: Jun 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working great on 3.8.4

Thank you!
Reply With Quote
  #947  
Old 10-27-2009, 08:37 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZeroHour View Post
Right I have my first fix. I will be editing this post with future changes so you can refer back to it and bookmark it by clicking the post number to the right.

Fix for no markers shown:

Edit:

/includes/functions_vbgooglemapme.php:

Goto line 49 which should start:
PHP Code:
$text_file .= "<marker mapid=" 
Replace that line with:
PHP Code:
$text_file .= "<marker mapid=""htmlspecialchars($get_xml_marker["mapid"]).""  title_map="".htmlspecialchars($get_xml_marker["title_map"])."" lng="".htmlspecialchars($get_xml_marker["lng"])."" lat="".htmlspecialchars($get_xml_marker["lat"])."" userid="".htmlspecialchars($get_xml_marker["userid"])."" username="".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."" text_map="".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."" type="".htmlspecialchars($gettype['googlemapmetype'])."" pimage="".htmlspecialchars($pimage)."" />\n"

/includes/cron/vbgooglemapme_cron.php:

Goto line 58 which should start:
PHP Code:
$text_file .= "<marker mapid=" 
Replace that line with:
PHP Code:
$text_file .= "<marker mapid="".htmlspecialchars($get_xml_marker["mapid"]).""  title_map="".htmlspecialchars($get_xml_marker["title_map"])."" lng="".htmlspecialchars($get_xml_marker["lng"])."" lat="".htmlspecialchars($get_xml_marker["lat"])."" userid="".htmlspecialchars($get_xml_marker["userid"])."" username="".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."" text_map="".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."" type="".htmlspecialchars($gettype['googlemapmetype'])."" pimage="".htmlspecialchars($pimage)."" />\n"
Run the scheduled task and your markers should return.
Basically I have modified the code to replace things like "&" with the xml safe "&amp;" so no matter what anyone enters for the fields the xml should still be safe.

More tweaks to come including integration of the display groups being marker colour.
that is not working
Reply With Quote
  #948  
Old 10-27-2009, 08:52 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im not able to show any entered data. i entered the location for myself and its not loading on the map. what am i missing?
Reply With Quote
  #949  
Old 10-31-2009, 08:49 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

i need your help,

when i turn 'Enable or disable the small map control (disable for better performance)' enablei have problem, the map appear but no markers(see attached screenshot).
also i need your help to create a profile tab with the location of the user to the map
Reply With Quote
  #950  
Old 11-08-2009, 06:41 AM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I need your help to create a profile tab with the location of the user to the map.
Can anyone allready make that?
If no, can anyone help to do that?

Thanks In Advance
SorentoUltimate
Reply With Quote
  #951  
Old 11-16-2009, 08:17 PM
ivand ivand is offline
 
Join Date: Feb 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vwdforum View Post
Hi Guys.

I've noticed the pins do not appear on vbgooglemaps if I have AME - The Automatic Media Embeder 2.5.5 enabled.

If I disable AME

Any idea how to fix this issue?

Thanks Mally
Hi, here is my simple fix for getting VBgooglemaps working when AME 2.5.5 is installed.

Go to the Plugin Manager and edit the "AME : Permission Hide" plugin (global_start).

Add in the beginning of the plugin code the following code:
Code:
if (THIS_SCRIPT != 'vbgooglemapme') {
At the end of the plugin code add a closing "}"

that's it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05121 seconds
  • Memory Usage 2,355KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete