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
  #902  
Old 04-16-2006, 05:38 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing that bothers me a bit: On every update I have to re-upload the product file but that means all my translations are lost. Isn't there a way to prevent it? If you split up the language part I'll send you my German translation so that you can put it into the downloadable archive.

And now some things that came into my mind on upgrading my map:

The templates still are quite messy and at some point the even don't validate as XHTML anymore.
You are using '<BR>' instead of '<br />' and 'readonly' instead of 'readonly="readonly"'
The styling of the textboxes can better be done with CSS.

Besides that I have an idea to further improve the phrase support:
From what I see there are 4 places in the code where you are using an alert and those alerts are all hardcoded.
vB is using a method where the PHP variable is passed to a JS variable making it possible to use phrases in the JS code.

And speaking of the JS code: Wouldn't it be easier to make a new file with all the Javascript instead of placing them directly into the template?


Tell me what you think about my comments!


___________
I have one problem now: I can't update/change my location because the 2 input boxes won't change and the coordinates remain the same.
Reply With Quote
  #903  
Old 04-16-2006, 06:17 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrNase
One thing that bothers me a bit: On every update I have to re-upload the product file but that means all my translations are lost. Isn't there a way to prevent it? If you split up the language part I'll send you my German translation so that you can put it into the downloadable archive.

And now some things that came into my mind on upgrading my map:

The templates still are quite messy and at some point the even don't validate as XHTML anymore.
You are using '<BR>' instead of '<br />' and 'readonly' instead of 'readonly="readonly"'
The styling of the textboxes can better be done with CSS.

Besides that I have an idea to further improve the phrase support:
From what I see there are 4 places in the code where you are using an alert and those alerts are all hardcoded.
vB is using a method where the PHP variable is passed to a JS variable making it possible to use phrases in the JS code.

And speaking of the JS code: Wouldn't it be easier to make a new file with all the Javascript instead of placing them directly into the template?


Tell me what you think about my comments!


___________
I have one problem now: I can't update/change my location because the 2 input boxes won't change and the coordinates remain the same.
Code cleaning is on the list for 2.0.3

Are you still having that update problem?

My marker does show nicely http://www.pagodentreff.de/diskussio...hp?do=showmain



Your marker is somewhere in northern syberia. it's because of the default zoom you don't see.

Just center on Germany and hit update.
Reply With Quote
  #904  
Old 04-16-2006, 06:46 PM
MagiKelly MagiKelly is offline
 
Join Date: Jan 2006
Location: Scotland
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shortly after upgrading to 2.02 I promoted my Moderator to a Super Moderator. His pin is still the colour for a Moderator. How do I update this?

Thanks in advance.
Reply With Quote
  #905  
Old 04-16-2006, 06:54 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MagiKelly
Shortly after upgrading to 2.02 I promoted my Moderator to a Super Moderator. His pin is still the colour for a Moderator. How do I update this?

Thanks in advance.
That's indeed something that isn't automatically detected yet.

The users should go to his "your entery" page, make a small change and hit the update button.

After that it should be fine
Reply With Quote
  #906  
Old 04-16-2006, 07:42 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stonyarc
Your marker is somewhere in northern syberia. it's because of the default zoom you don't see.

Just center on Germany and hit update.

I can't confirm it's working!

When I am on the main page and I scroll around the 2 input fields with the coordinates do change. But when I want to add/edit my location and I scroll around the map the values of the 2 fields don't change and thus my location isn't updated when I click 'update'.

Even when I change the zoom level the input field containing the zoom level still has '6' as a value.


I tried it on Safari and Firefox (the latest) and it didn't work..

Edit:

This must be an Mac OS X thing.. I tried it on Windows XP using the Internet Explorer and it worked fine. I am now going to install Firefox on Windows just to be sure.

It must be a Firefox/Safari problem.. I have the same problems with Firefox running on Windows XP.
Reply With Quote
  #907  
Old 04-16-2006, 08:00 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrNase
I can't confirm it's working!

When I am on the main page and I scroll around the 2 input fields with the coordinates do change. But when I want to add/edit my location and I scroll around the map the values of the 2 fields don't change and thus my location isn't updated when I click 'update'.

Even when I change the zoom level the input field containing the zoom level still has '6' as a value.


I tried it on Safari and Firefox (the latest) and it didn't work..

Edit:

This must be an Mac OS X thing.. I tried it on Windows XP using the Internet Explorer and it worked fine. I am now going to install Firefox on Windows just to be sure.

It must be a Firefox/Safari problem.. I have the same problems with Firefox running on Windows XP.
I see it now

*starts the code dig *

work around for you is to delete your entry and reset. The insert doesn't have the problem


I found it

There is a small name error with name and id in the display map IE ignores that but FF doesn't

The version now online has the firefox fix included. Sorry for that one.

Just reload the plugin after downloading the latest file version and it should be fixed
Reply With Quote
  #908  
Old 04-16-2006, 08:37 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers for the update Stony, What was the issue please?
Reply With Quote
  #909  
Old 04-16-2006, 08:41 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Cheers for the update Stony, What was the issue please?
Well,

If you dynamically set form elements IE uses the name field and firefox needs the ID field.

So you have to set both equal in the code

In the URL form element in de vbgooglemap_display_yourlocation there was a difference in the name and id attribute of the tag so firefox was trying to update the wrong element which already existed on the page but hidden.

Because firefox cannot update two form elements with the same name/id he just stops updating anything.
Reply With Quote
  #910  
Old 04-16-2006, 08:44 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why oh why did i have to ask pmsl....none of that made sense to me...
Thanks anyway, im sure someone somewhere will understand that lol

Cheers m8, great hack
Reply With Quote
  #911  
Old 04-16-2006, 08:47 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Why oh why did i have to ask pmsl....none of that made sense to me...
Thanks anyway, im sure someone somewhere will understand that lol

Cheers m8, great hack
And that was an easy one

This is currently probably the most active thread on vb.org

It's almost like a chat room
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 08:10 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.06374 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
  • (6)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
  • (4)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