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
  #742  
Old 06-07-2008, 08:09 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on vb3.7.1. It works with exception to the field for the url to the marker image. Not sure why you are leaving this up to the user to fill in when they wouldn't have a clue as to what to put in there. I went ahead and filled in what I "thought" should go in there for my entry. Everything seems to save successfully however when I go back to look at the map, no markers show up.

I noticed there was a manual patch indicated several posts back for preventing members from putting in the wrong value (I'm guessing for this marker image url). I made the changes to both files and uploaded the files to my server. I can't tell if it protects the XML file though.

Any thoughts?
Reply With Quote
  #743  
Old 06-10-2008, 08:34 PM
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After editing vbgooglemapme_cron.php on line 43

Quote:
if ($get_xml_marker["pimage"]!='')
{
$pimage = $get_xml_marker["pimage"];

}
else
{
$pimage = $bburl."/images/googlemapme/noimage.png";

}
to simply

Quote:
$pimage = $bburl."/images/googlemapme/noimage.png";
I was able to eliminate any errors in the markers.xml file
but the only way I can get the markers to appear is to click on [Your Entry] and then Update your information on the bottom of the vbgooglemapme.php page.

Once I update my information, without changing anything, it's fine until the next time the cron runs.
Any ideas?
Reply With Quote
  #744  
Old 06-10-2008, 08:54 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to not allow images and take the pimage line out of the template so they can't upload images.
Reply With Quote
  #745  
Old 06-10-2008, 10:07 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the mention about running the scheduled task...thing is, i don't have a scheduled task for this...

I'm guessing that's a problem.

can someone tell me what it should be called? or what I need to do to set it up?

I should also note that I've tried the modifications mentioned by ZeroHour here: https://vborg.vbsupport.ru/showpost....&postcount=697

But when I apply those mods then try and view the page, it's blank.

ANY help anyone could provide would be appreciated!
Reply With Quote
  #746  
Old 06-11-2008, 01:23 AM
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally, after almost a year, disabled the cron job and my map is working fine. I autoapprove the locations, but you have to be a member to plot your location.
Member maps at the Ministry of Rum

Here's an excerpt of my markers.xml file
PHP Code:
<markers>
<
marker mapid="94"  title_map="fon_eti_que" lng="28.1105327606" lat="43.3604081168" userid="2061" username="fon_eti_que" text_map="fon_eti_que" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />
<
marker mapid="96"  title_map="BlueHeronBrands" lng="-78.2262659073" lat="45.7243767341" userid="2154" username="Moose" text_map="BlueHeronBrands" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />
<
marker mapid="97"  title_map="Joe's place" lng="-88.45644334" lat="47.9970626797" userid="2218" username="Joe\'s place" text_map="Joe\'s place" type="darkred" pimage="http://ministryofrum.com/forums/images/googlemapme/noimage.png" />

</
markers
Hope this helps someone.
Reply With Quote
  #747  
Old 06-11-2008, 01:40 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does the cron job do? I've never looked.
Reply With Quote
  #748  
Old 06-11-2008, 06:12 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AH HA!

The issue is the ability for users to add in their own image.

I deleted these links and voila! the markers showed up!

To prevent any users from entering this and screwing up the map again, I did the following:

in template: vbgooglemapme_display_yourlocation and vbgooglemapme_set_yourlocation

find and delete:

Code:
<td class="alt2" align="left" valign="top">$vbphrase[vbgooglemapme_imgurl]</td>

<td class="alt1" align="left"><input name="pimage" size="20" value="$pimage" style="padding-left:5px; font-weight:normal; width:200px;"></td>
This completely removes the text and the box from showing on the pages which will prevent ANY user from entering that information, which would subsequently cause the plug-in to crash.

I hope this helps some others!

All I did to figure this out was to search the phrases for for the text that was shown there to find out how it was called, then I just searched all the templates for that call.
Reply With Quote
  #749  
Old 06-12-2008, 07:53 PM
diablo76 diablo76 is offline
 
Join Date: May 2006
Location: K-Town (Germany)
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know if there will be an update soon? I'm waiting about six month now because I thought there might be a new release soon.
Reply With Quote
  #750  
Old 06-12-2008, 08:14 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't look like this is being supported anymore so you are on your own as are the rest of us, it seems. I am in the process of writing my own version since this one is no longer being supported. I will let you know when I have something to test.
Reply With Quote
  #751  
Old 06-12-2008, 08:36 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw - there are a number of fixes posted within the thread that should make it work for just about anyone
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:51 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.05253 seconds
  • Memory Usage 2,331KB
  • 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
  • (1)bbcode_code
  • (1)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