vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

stonyarc 11-01-2005 10:00 PM

VBGooglemap Member Edition
 
https://vborg.vbsupport.ru/
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

https://vborg.vbsupport.ru/external/2008/09/9.png

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

https://vborg.vbsupport.ru/external/2007/08/10.gif


(c) 2007 Stonyarc

stonyarc 11-02-2005 06:50 PM

################################################## ##############
IMPORTANT
Set the file permissions on the marker.xml file to 777
################################################## ##############

ROADMAP

[NO LONGER SUPPORTED] 1.0.1 DONE

[NO LONGER SUPPORTED] 1.0.2 DONE
- Performance release DONE
- Phrase integration (FULL) DONE
- Minor Bug fixes DONE
- Parser optimalisation (for markers.xml) DONE
- Show marker in update window DONE

[NO LONGER SUPPORTED] 1.0.3 DONE
- XML / Special Characters problem solved
- Reload issue fixed

[NO LONGER SUPPORTED] 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
- ...

[NO LONGER SUPPORTED] 2.0.0 Available
- New version

[NO LONGER SUPPORTED] 2.0.1 Available
- enable/disable avatar support
- increased css support

[NO LONGER SUPPORTED] 2.0.2
  • Online user status in markers
  • Copyright on bottom
  • Online status in balloon
  • Local support for markers (now in images/googlemap)
  • Updated “your entry” page with HTML/bbcode/URL support for DIRECT linking to the map from within signature, postbit or webpage
  • (can be used in profile) with latitude, longitude and zoom.
  • Stabilty of marker set
  • Overall performance

2.5.0
  • Overall look
  • Separate admincp settings page
  • New high resolution markers
  • Map scale (width and height) setting in admincp
  • Advanced usergroup permission
  • Dashboard redesign
  • Usergroup marker type function
  • Approval system
  • Auto approve system
  • Small map navigation as option
  • Information balloon onmouse over as option
  • Default map type setting in admincp
  • “Click and forget” placement of the markers in the “your entry”
  • Edit/delete functions in de admincp
  • Edit/delete functions in main applications if usergroup is allowed
  • Optional setting to allow edit of own entry
  • “Find me” optional plugin in the postbit (included)
  • Number of items per page in overview list setting
  • Application online/offline
  • Scale control on the maps
  • Improved parsing code
  • Cancelled avatar support in favour of a linked image
  • Dashboard with loading counter
2.5.1
  • Cron job added
  • Moved function to separate php function file in the include
  • Query load on main page
  • Hiding of the findme function if the user isn't on the map
  • Performance
  • SQL error on overwrite
  • Too strict permission check on update of the own entry
  • Function tuning
3.0.0.
Security vulnerability fix

3.0.1. CURRENT VERSION
Userlist fix

yinyang 11-02-2005 07:35 PM

woot! first reply! truly great. thanks!

stonyarc 11-02-2005 07:38 PM

Quote:

Originally Posted by yinyang
woot! first reply! truly great. thanks!

So how did the install go.

It's not the easiest one I know but there is no other way for now

Colejo 11-02-2005 07:42 PM

I'll definately install this tonight to see how it looks.

buro9 11-02-2005 07:45 PM

This looks fab... a vbFrapper :)

Wonderful because I can apply security to this one :D

dsotmoon 11-02-2005 07:53 PM

will there be an option to add by zip code instead of L&L

stonyarc 11-02-2005 07:55 PM

Quote:

Originally Posted by buro9
This looks fab... a vbFrapper :)

Wonderful because I can apply security to this one :D

I'm planning a lot of modifications to it.

Because it writes to an xml file and reads it for posting the markers the performance in high volumes can become a problem.

So a pagination system might do the trick but that's not an easy one.

Integration of events can be cool too.

And it indeed uses full Vbulletin security :smoke:

stonyarc 11-02-2005 07:58 PM

Quote:

Originally Posted by dsotmoon
will there be an option to add by zip code instead of L&L

On international level there still is a problem with the detail level of the maps so it's best to use L&L.

I'm however preparing the zip-code function and even an address function so you only give your address and het drops in your L&L.

Still needs some work but it's in progress.

First issue to solve is a pagination mechanism (not easy with xml creation and reading, and what criteria to take)

Snake 11-02-2005 08:29 PM

Yay I was waiting for this, thanks! :)

Kristoph 11-02-2005 08:35 PM

Quote:

Originally Posted by stonyarc
On international level there still is a problem with the detail level of the maps so it's best to use L&L.

I'm however preparing the zip-code function and even an address function so you only give your address and het drops in your L&L.

Still needs some work but it's in progress.

First issue to solve is a pagination mechanism (not easy with xml creation and reading, and what criteria to take)

I've been considering working with the google map API system, but havn't found a suitable geocoding system to work with UK postcodes... I notice you plan to include this, just wondered if you'd made any more headway than I have in finding an address translation / geocoding service?

looks like an interesting mod, but not sure I'd use its full functionality on my forums... I'd be very interested to hear how you get around the address translation issue though!

good work

stonyarc 11-02-2005 08:38 PM

Quote:

Originally Posted by Kristoph
I've been considering working with the google map API system, but havn't found a suitable geocoding system to work with UK postcodes... I notice you plan to include this, just wondered if you'd made any more headway than I have in finding an address translation / geocoding service?

looks like an interesting mod, but not sure I'd use its full functionality on my forums... I'd be very interested to hear how you get around the address translation issue though!

good work

I'll keep everybody posted on the progress I make (hopefully)

exceem 11-02-2005 08:42 PM

excellent, Ive been looking for somethign like this, will install tomorrow

thanks :D

nix 11-02-2005 08:47 PM

Can anyone else add thier location in Firefox? Works in IE though.

stonyarc 11-02-2005 08:47 PM

So did anybody install it yet.

Please post your URL if you installed it. I'm really curious :smoke:

TyleR 11-02-2005 08:49 PM

Installed...just one thing..after entering my Google Map Key, and going to the link in the header, the map itself doesnt show up..and when i go to ..php?do=yourentry, the page just comes up with the header and footer wrapping, no template in the middle..

- Tyler

stonyarc 11-02-2005 08:53 PM

Quote:

Originally Posted by nix
Can anyone else add thier location in Firefox? Works in IE though.

I tested only the main map on firefox.

Problem is that he doesn't update the form fields in Firefox. I'll have a look.

In Opera it should work.

stonyarc 11-02-2005 08:54 PM

Quote:

Originally Posted by TyleR
Installed...just one thing..after entering my Google Map Key, and going to the link in the header, the map itself doesnt show up..and when i go to ..php?do=yourentry, the page just comes up with the header and footer wrapping, no template in the middle..

- Tyler

Can you please post a link tyler?

TyleR 11-02-2005 08:59 PM

Quote:

Originally Posted by stonyarc
Can you please post a link tyler?

nevermind, i figured it out lol..very nice, thanks :D

stonyarc 11-02-2005 09:00 PM

Quote:

Originally Posted by TyleR
nevermind, i figured it out lol..very nice, thanks :D

So it does work :mad:

DS MrSinister 11-02-2005 09:06 PM

installed like a charm. :D

working great m8 thx.

TyleR 11-02-2005 09:06 PM

Okay, im just blind..sorry again :P

Works like a charm, thanks :)

stonyarc 11-02-2005 09:08 PM

Quote:

Originally Posted by TyleR
well sort of..i place my lattitude and longitude into the "Your Location" area, saved it, and no dot has appeared yet, and the coordinates are still in my "Your Location" link..

Tyler,

That has to do with your browser caching. Quick fix is to

1 clear your cache and refresh the page
OR
2 close all browser windows and reconnect to the page

The marker will not appear on the small map only on the BIG one

TyleR 11-02-2005 09:14 PM

Quote:

Originally Posted by TyleR
Okay, im just blind..sorry again :P

Works like a charm, thanks :)

I edited it..just after i posted i saw the little note at the bottom of the text box :)

Love it, thanks Stony :)

stonyarc 11-02-2005 09:20 PM

Quote:

Originally Posted by nix
Can anyone else add thier location in Firefox? Works in IE though.

All,

I just fixed the firefox issue. It's tested and fixed.

Only reload of the xml is needed. Don't forget to select overwrite yes in your plugin system.

Version on server is now ok too

Greetz

stonyarc 11-02-2005 09:34 PM

Quote:

Originally Posted by DS MrSinister
installed like a charm. :D

working great m8 thx.

You must be my number 1 fan, running both my modifications :smoke:

Itworx4me 11-02-2005 09:34 PM

I have found an error. When you click on the marker (balloon) it brings up user info at http://www.xboxusersgroup.com/forums/search?=username.

Looking for a way to fix this now.

Thanks,
Itworx4me

stonyarc 11-02-2005 09:37 PM

Quote:

Originally Posted by Itworx4me
I have found an error. When you click on the marker (balloon) it brings up user info at http://www.xboxusersgroup.com/forums/search?=username.

Looking for a why to fix this now.

Thanks,
Itworx4me

Thanks for the catch correcting that now

nix 11-02-2005 09:39 PM

Edited for a mistake on my part. Works great!

stonyarc 11-02-2005 09:58 PM

Quote:

Originally Posted by Itworx4me
I have found an error. When you click on the marker (balloon) it brings up user info at http://www.xboxusersgroup.com/forums/search?=username.
Looking for a way to fix this now.
Thanks,
Itworx4me

In my hurry to release the beta, I left some links from the test version in the balloon.

The current version is fully ok

Links to Xboxusersgroup.com remained in the balloon => STATUS FIXED VERSION ON SERVER IS OK ONLY RELOAD PLUGIN (SET OVERWRITE YES)

Sorry for that one!!!!!!!!!!

You can safely edit the links in the templates just search for xboxusersgroup.com (in several javascripts) or just reload the XML with overwrite to yes.

Greetz

Gryphon 11-02-2005 10:00 PM

Our site uses a dark background and white text, so the text in the balloon is white on white. Same with the text in the map/hybrid buttons.

Very nice work stonyarc.

stonyarc 11-02-2005 10:09 PM

Quote:

Originally Posted by Blackjack
Our site uses a dark background and white text, so the text in the balloon is white on white. Same with the text in the map/hybrid buttons.
Very nice work stonyarc.

I think that can easily be solved by adding some CSS elements or direct font color items in the javascripts.

Give a yell if you need some help with that

steelerwatch 11-02-2005 10:57 PM

I installed it - doesn't work.

http://www.steelernation.com/forums/VBGooglemap.php

I tried IE, Firefox, cleared my cache, closed the browsers...everything suggested.

Omega Prime 11-02-2005 11:37 PM

A suberb hack!! While I'm currently the only person to have tested this on my site, I do hope other members will be able to view it :)

stonyarc 11-03-2005 12:00 AM

Quote:

Originally Posted by steelerwatch
I installed it - doesn't work.

http://www.steelernation.com/forums/VBGooglemap.php

I tried IE, Firefox, cleared my cache, closed the browsers...everything suggested.

Well, I think you forgot the most important one

################################################## ##############
IMPORTANT
Set the file permissions on the marker.xml file to 777 or 766
################################################## ##############

The script doesn't seem to have enough right to write to your file marker.xml.

Set the permission to 777 (chmod using an ftp client) and it will work.

Hope this helps

stonyarc 11-03-2005 12:03 AM

Quote:

Originally Posted by Omega Prime
A suberb hack!! While I'm currently the only person to have tested this on my site, I do hope other members will be able to view it :)

Hello O Prime,

I checked your site. Don't forget to generate to correct google API key for your website (tokyo) and add it in the vboptions

Details are included in the installer.txt

Carl Anderson 11-03-2005 12:21 AM

Great Hack = Click installed......

http://goldismoney.info/forums/VBGooglemap.php

DS MrSinister 11-03-2005 01:06 AM

<a href="http://www.sinisterslair.com/forums/VBGooglemap.php" target="_blank">http://www.sinisterslair.com/forums/VBGooglemap.php</a>

steelerwatch 11-03-2005 01:10 AM

Quote:

Originally Posted by stonyarc
Well, I think you forgot the most important one

################################################## ##############
IMPORTANT
Set the file permissions on the marker.xml file to 777 or 766
################################################## ##############

The script doesn't seem to have enough right to write to your file marker.xml.

Set the permission to 777 (chmod using an ftp client) and it will work.

Hope this helps

Nope. I said I did ALL the recommended fixes. Setting the xml file permissions was one of the things I did.

GamerJunk.net 11-03-2005 01:37 AM

Nice, if you have a custom style you need to upload the images to that styles images/buttons folder.

Great hack and thanks a lot.


All times are GMT. The time now is 02:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02671 seconds
  • Memory Usage 1,852KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete