Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #2  
Old 04-17-2003, 08:06 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screens? look interesting
Reply With Quote
  #3  
Old 04-17-2003, 08:53 PM
traekwon traekwon is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here's a screenshot, the pin i'm hovering over with my mouse (the mouse cursor isn't in the screenshot) would go to the users Vbulletin profile once clicked:



all the references to clocks are omitted in the generalized version available for download here
Reply With Quote
  #4  
Old 04-17-2003, 09:28 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it,mainly to see what it was all about
Nice lill hack works fine,just wont rlly have a use for it.

Nice work still the same.
Reply With Quote
  #5  
Old 04-17-2003, 10:28 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it'd be great if we can add more maps
Reply With Quote
  #6  
Old 04-17-2003, 11:11 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's why i prefer flash 5 above MX, it sucks bigtime. If you want to change the name of choosable maps you must first study a month before you find a way to do that. Anyone an idea how to change those names?
Reply With Quote
  #7  
Old 04-17-2003, 11:24 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well written, though this points most dialup users to their isp boxes and not their homes.
Reply With Quote
  #8  
Old 04-18-2003, 12:17 AM
traekwon traekwon is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres some instructions on changing the maps, it's flash MX so it's a little hairy, but here goes:

changing a map:

1. grab an image that you'd like to use for your map - i used screen caps from a shareware program called 'amiglobe'
2. open usermap.fla
3. File > import to library... select your pic
4. CTRL+L brings up the library, find the map that you just imported, and select it (it should have the same name of the file you just imported)
5. rename it if you want.
6. locate the MovieClip of the map you want to replace, it will look like map###, where ### is a number.
7. double click the icon of the movieclip listing in the library to edit it
8. zoom out if you need to see the whole graphic
9. select the graphic so its selected, and right-click it, then click Swap Bitmap...
10. locate the graphic you imported and select it, and then click OK
11. click on "Scene 1" to exit movieclip editing mode

changing a map name:

with usermap.fla open:
1. put the playhead in frame 2
2. click to select the 'worldmap' list box component on the upper right
3. in the properties window (Ctrl+f3 to see it) on the 'parameters' tab, double click the list cooresponding to the 'labels' entry,
4. click on the entry you'd like to change, the numbers for the entries coorespond to the map### movie clips in the library.
5. on the top left, there are four small black squares. One of them is named 'getTG', it's the 4th from the left - click to select it, and then right click, and then click on 'actions'
6. find the code that looks like this:
Code:
_root.worldlist.replaceItemAt(0,"World ("+(worldcount[0] - 1)+")",0);
(assuming that you're renaming map 0, "world"; change "world" to coorespond to the name you changed in the list box.

to add a new map:

1. import a graphic for your map (i.e. Baghdad)
2. CTRL+L opens the library, look at the list of maps and find a free number (i.e. map13)
2. select the graphic, and then Insert > convert to symbol
3. make it a movieclip and name it that free number (i.e. map13)
4. click to select the 'worldmap' list box component on the upper right
5. double click to edit the 'labels' data - and add the map name for your new map in a new row at the end. (i.e. Baghdad)
6. double click the Data list to edit it, and add a numeric entry to coorespond to your new map at the end of the rows. (13)
7. on the top left, there are four small black squares. One of them is named 'getTG', it's the 4th from the left - click to select it, and then right click, and then click on 'actions' to view the code.
8. find the code that looks like this:
Code:
worldcount = [0,0,0,0,0,0,0,0,0,0,0,0,0]
and add another 0 to the end of the list:

Code:
worldcount = [0,0,0,0,0,0,0,0,0,0,0,0,0,0]
at the end of the code, there are lines that look like this:
Code:
_root.worldlist.replaceItemAt(12,"Netherlands ("+worldcount[12]+")",12);
add another entry, and change the numbers and names to coorespond. Using our example:
Code:
_root.worldlist.replaceItemAt(12,"Netherlands ("+worldcount[12]+")",12);
_root.worldlist.replaceItemAt(13,"Baghdad ("+worldcount[13]+")",13);
thats it, it should work - if you edit your maps, the coorseponding data on the server side will be wrong for that map.

Sorry for the complicated procedure, but it's Flash MX..
I've started work on a 2.1 version that will load pictures dynamically from images on the server and a configuration file
Reply With Quote
  #9  
Old 04-18-2003, 01:03 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool hack. Well done.
Reply With Quote
  #10  
Old 04-18-2003, 03:25 AM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack - installed!
Reply With Quote
Reply

Thread Tools

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 10: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.06325 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_code
  • (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