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
  #1192  
Old 05-15-2006, 10:17 AM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xfaethorx
Did that and it doesn't work.

Please download the version now online. I updated the files this morning.
Reply With Quote
  #1193  
Old 05-15-2006, 10:19 AM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m_k
i apologise if this has been answered already, but can't bring myself to look at all 81 pages of the thread...

have upgraded from previous version, deleted old files, installed new - don't have the permissions box showing up in the usergroups interface

to be honest i did screw up a bit by installing new product file before uninstalling the previous version... once i discovered my mistake i uninstalled both and then reinstalled the new one

also installed the hotspot edition, and the permissions box is there (perhaps since it was a clean install of a new product)

any ideas?
m_k please download the version now online. Upload all files again

Uninstall ME reinstall and force a rebuild of the bitfields by adding

admincp/index.php?do=buildbitfields.

That should normally work.
Reply With Quote
  #1194  
Old 05-15-2006, 01:51 PM
Ig@r's Avatar
Ig@r Ig@r is offline
 
Join Date: Feb 2002
Location: MN
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Upgraded to 2.5.0
I couldn't find any info about avatars... As far as I can see user avatars was replaced by images, is that correct?
Also, is "find me" link supposed to show up for everyone or only for users with googlemap entries?

Thanks for great work!
Reply With Quote
  #1195  
Old 05-15-2006, 02:24 PM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello again...

i implemented your awsome hack into our forum but im still puzzled with the modification of the postbit_leagacy template.
i shall add "$post[findme]" to where i want a link to show up...but nothing shows up nomatter where i place it.

is there something i can do to narrow down this issue?
Reply With Quote
  #1196  
Old 05-15-2006, 02:49 PM
Carsten77 Carsten77 is offline
 
Join Date: Dec 2005
Location: Germany
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i just want to install this great map, but first i did it in a demoboard.

everything works fine, but when i add an account to the map i still get this:

Quote:
Your marker title could not be added into the database because one or more fields blank were left blank. Please make sure you have enter all required information.
Return to previous page
whats the problem?

any ideas?

greets carsten
Reply With Quote
  #1197  
Old 05-15-2006, 03:26 PM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carsten77
Hi,

i just want to install this great map, but first i did it in a demoboard.

everything works fine, but when i add an account to the map i still get this:



whats the problem?

any ideas?

greets carsten
look here:
http://www.hilfe-forum.eu/vbgooglema...?do=addelement


the filds with "(Pflichtfeld)" (in red) are "you must make an entry" fields
Reply With Quote
  #1198  
Old 05-15-2006, 03:57 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hilfe-forum
hello again...

i implemented your awsome hack into our forum but im still puzzled with the modification of the postbit_leagacy template.
i shall add "$post[findme]" to where i want a link to show up...but nothing shows up nomatter where i place it.

is there something i can do to narrow down this issue?
did you install today's version.

That one should hide it when a user doesn't have an entry and only show it on the posts where it's relevant.

If you want I can check myself.

You'll have to add stonyarc (member on your site) to the admins for a few minutes.

The plugin code should be

PHP Code:
global $vbulletin;


if (
$post[userid]){
$getpos $vbulletin->db->query_first("SELECT userid,lat_map,username,lng_map FROM " TABLE_PREFIX "googlemapme WHERE userid = $post[userid]");
$bburl $vbulletin->options['bburl'];
$lat $getpos['lat_map'];
$lng $getpos['lng_map'];


if (
$lat)
{
$post['findme'] = "<a href=\"$bburl/vbgooglemapme.php?lat=$lat&lng=$lng&zoom=10\" target=\"_self\">$vbphrase[vbgooglemapme_findme]</a>";
}
else
{

  
}
$post['findme'] = "";

}
else
{
$post['findme'] = "";
  
  

Reply With Quote
  #1199  
Old 05-15-2006, 04:05 PM
benFF benFF is offline
 
Join Date: Jul 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The rebuild a user at a time isn't really an option, as I have loads to do.

Also, an idea, I have all my users set as "registered", but those who donate get added to an additional group "donated" (but there primary is still registered users)

However the colour I assign to "donated" is never used, is there a way to make is use the additional grouping colours if a user is a member of one?
Reply With Quote
  #1200  
Old 05-15-2006, 04:43 PM
benFF benFF is offline
 
Join Date: Jul 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's a bug in postbit_display_complete hook... it should be:

PHP Code:
global $vbulletin;


if (
$post[userid]){
$getpos $vbulletin->db->query_first("SELECT userid,lat_map,username,lng_map FROM " TABLE_PREFIX "googlemapme WHERE userid = $post[userid]");
$bburl $vbulletin->options['bburl'];
$lat $getpos['lat_map'];
$lng $getpos['lng_map'];


if (
$lat)
{
$post['findme'] = "<a href=\"$bburl/vbgooglemapme.php?lat=$lat&lng=$lng&zoom=10\" target=\"_self\">$vbphrase[vbgooglemapme_findme]</a>";
}
else
{
$post['findme'] = "";

}

}
else
{
$post['findme'] = "";
  
  

Note the $post['findme'] had been placed outside the parenthesis, so it was wiping out any user that had been found
Reply With Quote
  #1201  
Old 05-15-2006, 05:04 PM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stonyarc
did you install today's version.

That one should hide it when a user doesn't have an entry and only show it on the posts where it's relevant.

If you want I can check myself.

You'll have to add stonyarc (member on your site) to the admins for a few minutes.

The plugin code should be

PHP Code:
global $vbulletin;


if (
$post[userid]){
$getpos $vbulletin->db->query_first("SELECT userid,lat_map,username,lng_map FROM " TABLE_PREFIX "googlemapme WHERE userid = $post[userid]");
$bburl $vbulletin->options['bburl'];
$lat $getpos['lat_map'];
$lng $getpos['lng_map'];


if (
$lat)
{
$post['findme'] = "<a href=\"$bburl/vbgooglemapme.php?lat=$lat&lng=$lng&zoom=10\" target=\"_self\">$vbphrase[vbgooglemapme_findme]</a>";
}
else
{

  
}
$post['findme'] = "";

}
else
{
$post['findme'] = "";
  
  


THX for Help @stonyarc & benFF
i copy the PhP Cod that benFF post in postbit_display_complete hook

now it works 100%

i am so happy!

and my Users to (30 new entries today!)
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 02:27 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.07962 seconds
  • Memory Usage 2,353KB
  • 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_php
  • (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
  • (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