Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Flash UserMap add-on Details »»
Flash UserMap add-on
Version: 1.00, by traekwon traekwon is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-16-2003 Last Update: Never Installs: 26
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 07-30-2005, 10:05 AM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Any ideas why?
Reply With Quote
  #63  
Old 07-30-2005, 10:27 AM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #64  
Old 07-30-2005, 04:17 PM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #65  
Old 07-30-2005, 08:35 PM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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")."\");");
?>
Save that as "usermap.php" and upload it to the forum's root folder (e.g. "http://mysite.com/forum/" )

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();
 }
from usermap.php above, before uploading it to your forum's root folder.

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
Reply With Quote
  #66  
Old 07-31-2005, 02:05 AM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet!
Thanks a million Mark.
I'll try to find some time tomorrow to install this.
Reply With Quote
  #67  
Old 08-03-2005, 07:00 AM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just works at 3.07

Is it possible to change the Text in the Flash into German?

Edit: Just found the source... thx.
Reply With Quote
  #68  
Old 08-24-2005, 11:26 AM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have a working example of this hack? I wanna see it. Thanks.
Reply With Quote
  #69  
Old 08-27-2005, 02:57 AM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulmjno
Does anyone have a working example of this hack? I wanna see it. Thanks.
Errrr....
Quote:
Originally Posted by mfarmerhi
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
Reply With Quote
  #70  
Old 01-01-2006, 03:28 PM
Loki12 Loki12 is offline
 
Join Date: Jul 2004
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 11:32 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.04533 seconds
  • Memory Usage 2,298KB
  • Queries Executed 24 (?)
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_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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