The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Flash UserMap add-on Details »» | |||||||||||||||||||||||||
Flash UserMap for Vbulletin 2.x.x - version 2.0
Author: PineappleClock (pineappleclock@clockcrew.cc) ------------------------------------- Overview The Flash Usermap is a SWF (Shockwave Flash) program that will work with Vbulletin to display a zoomable world map, with 'pins' representing the location of your users - so users can find other users local to them and organize meets, etc. Each user can place his or her pin at their desire. The map is searchable. Synopsis This hack consists of a Flash 6 SWF file (your users will require flash player 6 to view this map) which loads and sends data through a file maphandler.php, which in turn sets and retrieves information from a custom profile field in Vbulletin. To see a demonstration of this software, go here: http://www.clockcrew.cc/clockmap.html Note: The clockmap running on clockcrew.cc is a specialized version of the Flash UserMap. file Listing install.txt -- the installation howto maphandler.php -- the file that the SWF recieves and transmits data to. usermap.swf -- the flash 6 user map application. (not included) usermap.fla -- the source code for usermap.swf Note: see install.txt for downloading instrunctions, the file is too big to include in the zip (1.4mb) usermap.html -- a HTML file for displaying usermap.swf Requirements ------------ Macromedia Flash MX - optional, for altering the source file 'usermap.fla' Macromedia Flash player 6 - required for each user, a free plugin available at www.macromedia.com vbulletin 2.x.x - required Notes This is a slightly generalized version of the usermap thats running on my site - it's been running for a while with no problems, but there will always be bugs. Please post if you find any, hope you find this useful Show Your Support
|
Comments |
#62
|
|||
|
|||
First, a huge thanks for this hack and getting it to work on 3.0.x I'm using it on a 3.0.7 board.
Works like a charm. I'm stuck, however, on the PHP conversion (the usermap.php, discussed above). I added the template "usermap" by hand, but am getting this error: Code:
Fatal error: Call to undefined function: gettemplate() in /home/totalli/public_html/forum/usermap.php on line 12 |
#63
|
|||
|
|||
Ah... okay: Changes from 2.x to 3.x -- gettemplate is replaced by fetch_template and dooutput is replaced by print_output
--- addition --- One more change: show_nopermission() was replced by print_no_permission() --- end addition --- So, either of the 2 php files offered work, you just have to replace gettemplate, dooutput and show_nopermission... Got it -- works like a charm! ~ Mark |
#64
|
||||
|
||||
Good going Mark. Were those the only changes it took to get this to work on 3.07? If it's not too much hassle, maybe you can zip your changes? Do you have a URL for your map you can share?
Excited about this mod. Thanks in advance. |
#65
|
|||
|
|||
Hey Caliman! Yea, I'm hyped about it too. Ever since I saw it, I've wanted this hack -- and what, with all the people talking about it in other threads, figured this one just didn't work for 3.0.7 It was when I saw bitg's post that I realized it still might work.
Here's how I got it working on my 3.0.7 board: 1) Download the original hack and all it's files. All of it's still good, still works, HOWEVER 2) In the zip install instructions, where it tell you to make a new user profile field, use bitg's instuctions for 3.0.x here: https://vborg.vbsupport.ru/showpost....7&postcount=56 3) It will work, as is. However, I also wanted the php page (which includes headers and footers, to maintain a consistent look with my site). To do that, I used Erwin's instructions here, BUT ONLY FOR THE TEMPLATE: https://vborg.vbsupport.ru/showpost....4&postcount=45 4) For the actual usermap.php file, you'll have to tweak the one suggested by Erwin. When vB changed to 3.0.7 they changed some of the phrases. usermap.php should now read: Code:
<?php error_reporting(7); require('./global.php'); if (!$bbuserinfo[userid]) { print_no_permission(); } eval("print_output(\"".fetch_template("usermap")."\");"); ?> Bingo! Should work like a charm. A couple of notes: the usermap.php file I indicate above, prevents un-registered Members from viewing the map. To allow them, delete Code:
if (!$bbuserinfo[userid]) { print_no_permission(); } The hack saves Member's names, creating a hyperlink from their pin to their user profile. Very cool. Oh... unregistered visitors can't see my Map (I've used the unchanged one I presented above), but you should be able to see the .html version. It doesn't include the headers and footers that my php version will include. I'll leave it up for a few days for those who'd like to see this on a 3.0.7 board: http://totallifesuccess.com/forum/usermap.html |
#66
|
||||
|
||||
Sweet!
Thanks a million Mark. I'll try to find some time tomorrow to install this. |
#67
|
||||
|
||||
Just works at 3.07
Is it possible to change the Text in the Flash into German? Edit: Just found the source... thx. |
#68
|
|||
|
|||
Does anyone have a working example of this hack? I wanna see it. Thanks.
|
#69
|
|||
|
|||
Quote:
Quote:
|
#70
|
|||
|
|||
Is there any possibility of porting this for vB 3.5.x? I have tried on 3.5.2, but doesn't save the data that is input.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|