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
  #242  
Old 01-21-2007, 08:32 PM
anonscape anonscape is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an elementary question but I still haven't understood how this mod works yet.
Does a visitor/member of my forums have to signup/join/enter his/her location to then have the marker auto or manually approved before a pin/marker will show up on the map? If no one signed up with their info would the map be blank?

TIA
Reply With Quote
  #243  
Old 01-22-2007, 05:50 AM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on 3.6.4, but not markers show. The XML file is updated, but the "loading" AJAX thing never indicates loading. When I go to edit my location, the pin shows.

http://www.murmurs.com/forum/vbgooglemapme.php

Any ideas?
Reply With Quote
  #244  
Old 01-23-2007, 07:20 PM
photofreeway photofreeway is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is all I get...
http://www.photofreeway.com/board/vbgooglemapme.php

Can I get some help as to why the map does not show? There is an error on tha page also.

made it readable for everyone ....
Thanks
Reply With Quote
  #245  
Old 01-25-2007, 02:24 AM
photofreeway photofreeway is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I marked as installed. Any support here at all?
Reply With Quote
  #246  
Old 01-25-2007, 04:05 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by photofreeway View Post
Ok I marked as installed. Any support here at all?
Well stonyarc hasen't been around for a while, Im sure when he does get back he will
Reply With Quote
  #247  
Old 01-25-2007, 06:48 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and worked like a charm even for a complete newbie like me!
Thank you so much for taking the time to produce such a quality and well explained product
aku
Reply With Quote
  #248  
Old 01-26-2007, 01:26 AM
TheFrienzNet's Avatar
TheFrienzNet TheFrienzNet is offline
 
Join Date: Jan 2007
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this modification looks great.
Reply With Quote
  #249  
Old 01-27-2007, 04:59 PM
bulbasnore bulbasnore is offline
 
Join Date: Dec 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, this is working pretty well in test for us on vB 3.6.4 (Apache2/PHP5/MySQL5/Linux). We have these exceptions:
- Picture display comes and goes. Sometimes scrolling the map helps?
- Some members don't see the pins or links above the on map certain computers.

My advice to those having complete problems (no display) is: recapitulate the install and make sure the cron task is working. That advice may be worth nothing. I can't support the add-on for you any further. As always, the more details you post, the more likely you are to get help. If it was me, I'd post: O/S, vB & add-on versions plus file locations uploaded, plus cron task log.

UM, anyway...

I was sorry to see Stonyarc gave up the avatar load for the pictures, though I could guess why. We have a PG-rated board and like to keep some control on the picture displays. Consequently, I hacked together the script below to ensure that the avatar pic is what is displayed for the vbgooglemapme pin image.

This might only work if you have set your avatars to be stored in your database as opposed to your filesystem. If you don't understand what that is, or the issues surrounding that choice, go to the vBulletin documentation and look it up before you go on.

OTOH, if someone can tell me I'm wrong about that, then, please hip me to the Truth!

Here's the script - you could destroy your database, so don't use it or my instructions unless you know what is happening in the code and take full responsibility for the consequences yourself!!!

Name it something like vbgooglemapme_avatars.php
Upload it to <your forum directory>/includes/cron

PHP Code:
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2007 Kim Cary                                         # ||
|| # This file may be redistributed in whole or significant part.     # ||
|| # You could signficantly damage or destroy your board or computer  # ||
|| # with this file. Author will not be liable for any damages.       # ||
|| #################################################################### ||
\*======================================================================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!
is_object($vbulletin->db))
{
        exit;
}
// ######################## END PHP ENVIRONMENT ###########################

        
$vbulletin->db->query_write("
                UPDATE " 
TABLE_PREFIX "googlemapme
                SET  `pimage` = concat(  'http://pokegym.net/forums/image.php?u=',  `userid` )
        "
);
        
log_cron_action('Add Avatars to vbgooglemapme picture field'$nextitem);

/*======================================================================*\
|| ####################################################################
|| # Version: 10:12, Sat Jan 27th 2007
|| ####################################################################
\*======================================================================*/ 
Once you've done that, you can set it up to test via a scheduled task, like the thumbnail below. If you set it up this way it will be disabled for schedules, but you can run it on demand for a test.

Now use the Scheduled Task Manager [Run Now] function in your admincp to run this task (because you assumed responsibilty, remember!!!). If you want to see whether it worked, run a sql query like this in your admincp sql query tool:

Code:
SELECT userid,pimage FROM googlemapme ORDER BY userid asc
You should see a list of userids and standard avatar URLs in the result. Of course, if you screw up the query you might have no database left.

If you like what you see, go back to the task in the scheduled task manager and enable it, but change the time you run it to the minute or more before you run Stonyarc's scheduled task.

To be clear again: You can wreck things playing around at this level. If you do, its YOUR fault. My code is NOT authorized by Stonyarc and frankly, I expect him to delete this post when he/she returns. For those who have the skills to deal with this, I hope this helps you. I've been helped so much be vb.org over the years.
Reply With Quote
  #250  
Old 01-28-2007, 02:05 PM
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Location: Germany/NRW
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
after Usergroupchange the Marker will not updated.
The rights in ACP are ok, but no Reacction.
Reply With Quote
  #251  
Old 01-29-2007, 01:58 PM
photofreeway photofreeway is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello and thanks for the support on this. Question: When you say "recapitulate the install" can you define what this means. sorry still kinda new with VB....

This is the error I get at the bottom of IE.
Line: 1071
Char: 35
error: Expected';'
Code: 0
URL: http://www.photofreeway.com/board/vbgooglemapme.php


Thanks Again



Quote:
Originally Posted by bulbasnore View Post
OK, this is working pretty well in test for us on vB 3.6.4 (Apache2/PHP5/MySQL5/Linux). We have these exceptions:
- Picture display comes and goes. Sometimes scrolling the map helps?
- Some members don't see the pins or links above the on map certain computers.

My advice to those having complete problems (no display) is: recapitulate the install and make sure the cron task is working. That advice may be worth nothing. I can't support the add-on for you any further. As always, the more details you post, the more likely you are to get help. If it was me, I'd post: O/S, vB & add-on versions plus file locations uploaded, plus cron task log.

UM, anyway...

I was sorry to see Stonyarc gave up the avatar load for the pictures, though I could guess why. We have a PG-rated board and like to keep some control on the picture displays. Consequently, I hacked together the script below to ensure that the avatar pic is what is displayed for the vbgooglemapme pin image.

This might only work if you have set your avatars to be stored in your database as opposed to your filesystem. If you don't understand what that is, or the issues surrounding that choice, go to the vBulletin documentation and look it up before you go on.

OTOH, if someone can tell me I'm wrong about that, then, please hip me to the Truth!

Here's the script - you could destroy your database, so don't use it or my instructions unless you know what is happening in the code and take full responsibility for the consequences yourself!!!

Name it something like vbgooglemapme_avatars.php
Upload it to <your forum directory>/includes/cron

PHP Code:
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2007 Kim Cary                                         # ||
|| # This file may be redistributed in whole or significant part.     # ||
|| # You could signficantly damage or destroy your board or computer  # ||
|| # with this file. Author will not be liable for any damages.       # ||
|| #################################################################### ||
\*======================================================================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!
is_object($vbulletin->db))
{
        exit;
}
// ######################## END PHP ENVIRONMENT ###########################

        
$vbulletin->db->query_write("
                UPDATE " 
TABLE_PREFIX "googlemapme
                SET  `pimage` = concat(  'http://pokegym.net/forums/image.php?u=',  `userid` )
        "
);
        
log_cron_action('Add Avatars to vbgooglemapme picture field'$nextitem);

/*======================================================================*\
|| ####################################################################
|| # Version: 10:12, Sat Jan 27th 2007
|| ####################################################################
\*======================================================================*/ 
Once you've done that, you can set it up to test via a scheduled task, like the thumbnail below. If you set it up this way it will be disabled for schedules, but you can run it on demand for a test.

Now use the Scheduled Task Manager [Run Now] function in your admincp to run this task (because you assumed responsibilty, remember!!!). If you want to see whether it worked, run a sql query like this in your admincp sql query tool:

Code:
SELECT userid,pimage FROM googlemapme ORDER BY userid asc
You should see a list of userids and standard avatar URLs in the result. Of course, if you screw up the query you might have no database left.

If you like what you see, go back to the task in the scheduled task manager and enable it, but change the time you run it to the minute or more before you run Stonyarc's scheduled task.

To be clear again: You can wreck things playing around at this level. If you do, its YOUR fault. My code is NOT authorized by Stonyarc and frankly, I expect him to delete this post when he/she returns. For those who have the skills to deal with this, I hope this helps you. I've been helped so much be vb.org over the years.
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 07:19 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.06428 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)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