Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 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

Version: 3.5.8 Rating:
Released: 11-01-2005 Last Update: 08-20-2007 Installs: 827
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.


I'm proud to announce that the new version is currently available to you all !!!


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

HOTSPOT EDITION AVAILABLE ON : https://vborg.vbsupport.ru/showthread.php?t=114149
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.1 brings you a lot of new features. It?s vital that you uninstall any previous version before upgrading/installing version 2.5.1.

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 2.5.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 (vbgooglemap2.5.0_guide.pdf)
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
  #572  
Old 03-20-2006, 04:38 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kintaro81
I don't have vB Pager installed but the problem with IE is the same as your.
Anyone fix that in another way?
And I actually DO have the pager and this installed and it works fine
Reply With Quote
  #573  
Old 03-21-2006, 02:00 PM
bamahan bamahan is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princessfrozen
Could this be modified to pull the zip codes (created by a custom field) from the database and generate the map based on that?
If you look at the code, there are "lookupZip" and "lookupAddress" methods. If you added a custom user field to store zip code, then you could certainly write a batch script to popuplate the map tables with markers.

The INSERT statement would look like this. I wrote a quick script (It's a total mess or I'd post it) that tries to do a lookup on the "location" field so as not to make the user enter a zip. Only about a hundred of our users put in resolvable locations, however.

The script would need to select all of the users from the DB...this statement grabs their location:

$userlocation = $db->query("
SELECT user.userid, user.username, user.usergroupid, opts.field2
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN ".TABLE_PREFIX."userfield as opts ON opts.userid = user.userid WHERE field2 IS NOT NULL");

Then loop through each one, call the lookupAddress method. If a latitued and longitude are returned do an insert like this:

$db->query_write("INSERT INTO " . TABLE_PREFIX . "googlemap (userid,username,usergroupid,text_map,lat_map,lng_ map) VALUES ('" . $loc['userid'] . "','" . $loc['username'] . "','" . $loc["usergroupid"] . "','" . $loc["username"]. " is in ".$l."!','" . $lat . "','" . $long . "')");
Reply With Quote
  #574  
Old 03-21-2006, 02:05 PM
bamahan bamahan is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MorrisMcD
Good question.. I forgot to ask this, but I would like this as well.. Without having to add extra members just to do it
Have you tried just inserting a new entry into the [your_table_prefix]googlemap table in your database? I haven't tried this, but it seems like you should be able to simply add a new entry in there with the appropriate latitude and longitude. You can fake a username ("Joe's Bowling Alley", etc...) and id. The insert would look something like this:

INSERT INTO [TABLE_PREFIX ]googlemap (userid,username,usergroupid,text_map,lat_map,lng_ map) VALUES ('-1','Donut Land','1','...mmmmm donuts...,[Latitude Goes Here]','[Longitude Goes Here]')
Reply With Quote
  #575  
Old 03-21-2006, 11:07 PM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kintaro81
I don't have vB Pager installed but the problem with IE is the same as your.
Anyone fix that in another way?
Try disabling some of your other plugins and see if it works. For me it was some kind of conflict between this and vB Pager, for you it might be some other plugin.

Cheers

Clancy
Reply With Quote
  #576  
Old 03-22-2006, 04:00 AM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bamahan
Have you tried just inserting a new entry into the [your_table_prefix]googlemap table in your database? I haven't tried this, but it seems like you should be able to simply add a new entry in there with the appropriate latitude and longitude. You can fake a username ("Joe's Bowling Alley", etc...) and id. The insert would look something like this:

INSERT INTO [TABLE_PREFIX ]googlemap (userid,username,usergroupid,text_map,lat_map,lng_ map) VALUES ('-1','Donut Land','1','...mmmmm donuts...,[Latitude Goes Here]','[Longitude Goes Here]')

Yea.. I guess this would work... But if I have to start editing the database manually to do this, it isnt worth it... If you do it though, make sure to use a high ID that you wont ever need
Reply With Quote
  #577  
Old 03-22-2006, 05:26 PM
bamahan bamahan is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MorrisMcD
Yea.. I guess this would work... But if I have to start editing the database manually to do this, it isnt worth it... If you do it though, make sure to use a high ID that you wont ever need
...or a negative number assuming the DB allows that.

Also, for these "fake" entries, you don't need to put in unique ID's. This hack doesn't care how many entries there are for each userid; it displays them all, so every fake entry could have a userid of -1
Reply With Quote
  #578  
Old 03-22-2006, 05:47 PM
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Location: In my own virtual world
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hotspots need a unique colour pin as well though so they stand out currently the only colour options are based on admin or not i think
Reply With Quote
  #579  
Old 03-23-2006, 01:51 PM
JoeWho JoeWho is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the coder (stonyarc) for this add-on still supporting this product?

On the original page there is a list of things that are to be added in the next release, I was hoping this is still in progress and will be completed someday soon?

Can anybody let me know if this is still under development or has it been an abandoned?

I would like to add it to my forum but I first need to find out if it is still supported by the coder. There is another mapping program on the forum but I like this one better, I hope somebody can help me out with my questions.

Thanks.

Quote:
1.0.4 Development
- Event handler
- Hotspots functions (different colour and insert functions)
- usergroup permissions
- link to profile
- option to display the avatar
- custom markers (not yet sure)
- events and hotspots display
- style guidelines to change colours
Reply With Quote
  #580  
Old 03-24-2006, 06:40 PM
xfaethorx's Avatar
xfaethorx xfaethorx is offline
 
Join Date: May 2004
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'd like to install this but i'd like NOT to have my users details available to guest i need the security of the usergroup permissions and i was wondering if this hack was going to be updated? If not then I can't install it
Reply With Quote
  #581  
Old 03-25-2006, 06:19 AM
kazido's Avatar
kazido kazido is offline
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it working on my site

Easy to install, just cant wait for the updated version. Great feature but seems to be lacking some functionality and user customisation.

Keep up the good work!
Don
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 11:03 AM.


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.06151 seconds
  • Memory Usage 2,329KB
  • 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
  • (7)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
  • (5)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