Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Locked Flash Avatar + Modified User Menu (Legacy) 1.3 Details »
Locked Flash Avatar + Modified User Menu (Legacy) 1.3
Mod Version: 1.3, by Freesteyelz (Member) Freesteyelz is offline
Developer Last Online: Apr 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.3 Rating: (2 votes - 5.00 average) Installs: 17
Released: 07 Feb 2006 Last Update: Never Downloads: 1
Not Supported Template Edits  

Brief Description:
Flash enabled avatars using a Custom Profile Field. It may work in other vB versions (untested) though this mod is created for 3.5.3. A simple mod (for "Legacy" view).

Thank you(s) to: Luggruff (early beta user); masterross (for transparent value)

Support: I'll try to support it the best I can.



Browsers Tested:
Internet Explorer (5 - 6); Firefox (1.0.4 - latest)

**Remember to Disable users from uploading their own Flash avatars. Allow only the Flash avatars from people you can trust...Never by strangers. Flash may contain codes that can harm your site/forum so be cautious.



Templates Modified:
postbit_legacy

Installation Instructions (6 easy steps):
In Admin CP:

1. Create new User Profile Field by going to User Profile Fields --> Add New User Profile Field and create a Single-Line Text Box. In the Title add "CUSTOM AVATAR (FLASH)". Conditions:

"Field Required": No
"Field Editable by User": No (IMPORTANT!)
"Private Field": No
"Field Searchable on Members List": No
"Show on Members List": No
"Which page displays this option?": Options: Other

*For security reasons set to no "Field Editable by User" so that only the CP Admin(s) can upload the .swf files.

*Remember the Field number you've just created. You may need to change the "20". For this mod I used "field20".

2. Press "Save".

3. Then go to Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> Postbit Templates --> postbit_legacy and look for this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*Change the "width" and "height" variables in the "embed" tag to the size you want the Flash avatar displayed. Again, change "field20" to the number of the new field you've just created. *If you want to remove "width" and "height" of vB's default avatar (NOT the Flash avatar), go ahead.

4. Press "Save".

*The "object" and "embed" codes are the minimal to play Flash in the browser. If you have the plugin it should work. Tested in Internet Explorer (5 - 6) and FireFox (1.0.4 to latest).

5. Now go to the User's Profile you want to add the Flash avatar and enter the .swf file URL in the "CUSTOM AVATAR (FLASH)" text area. It should be in the "User Profile Fields" section.

*It is recommended that you upload the avatar to your server to prevent users from editing it.

6. Press "Save" and Done!

*To use non-.swf avatars use vB's default Avatar option "Change Avatar".

*You will need to have Flash enabled in your browser.

**Remember to Disable users from uploading their own Flash avatars. Allow only the Flash avatars from people you can trust...Never by strangers. Flash may contain codes that can harm your site/forum so be cautious.


7. Click if you use it. Thanks!


****************************************


********************
********************
OPTIONAL code to display the popup menu horizontally with Flash Avatars:

Conditional: 1. If you're using vB's default avatar this code will display the default "post $post[postid] popup menu". 2. If you're using a Flash Avatar the modified popup menu will override the default's, whether or not you've entered both avatar types.

Code below:
********************
********************

Installation Instructions (2 steps):
In Admin CP:

1. Then go to Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> Postbit Templates --> postbit_legacy and look for this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And Replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Press "Save" and You're Done.

3. Click if you use it. Thanks!

*Now the username drop down menu will display horizontally with the Flash avatar. View image attachment below for an example:

********************
********************

*If you've installed this hack please click the "Install" button.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	profile_menu_right2.gif
Views:	797
Size:	7.9 KB
ID:	42335  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
let users select to use legacy or not (and choice for vb menu as well) jesus likes pie vBulletin 3.0 Full Releases 2 10 Jun 2005 00:09

Comments
  #2  
Old 07 Feb 2006, 14:42
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Can we see a demo of a .swf avatar in action?
Reply With Quote
  #3  
Old 07 Feb 2006, 15:12
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Yeah I was gonna ask the same thing.
Reply With Quote
  #4  
Old 07 Feb 2006, 15:44
VaaKo VaaKo is offline
 
Join Date: Jul 2005
yes a demo please
Reply With Quote
  #5  
Old 07 Feb 2006, 16:04
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
Now if someone would just come up with a way to do Flash (.swf) headers on a forum, I'd be a real happy camper. I have searched the world and this site over but no one seems to have an answer to that.
Reply With Quote
  #6  
Old 07 Feb 2006, 18:15
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Real name: Jack
Originally Posted by Gripemaster
Now if someone would just come up with a way to do Flash (.swf) headers on a forum, I'd be a real happy camper. I have searched the world and this site over but no one seems to have an answer to that.
why dont u just place the swf code in the header themplate?
Reply With Quote
  #7  
Old 07 Feb 2006, 18:53
Master Miyagi's Avatar
Master Miyagi Master Miyagi is offline
 
Join Date: Jan 2006
For some reason, I can't seem to get it to work. I did everything on the dot, but once I wrote the URL to the swf flash inside the CUSTOM AVATAR field, my avatar didn't change. The avatar remained as the original. I tried again to change it to the swf on the avatar setting, and still, it didn't work.

In need of more clarification if possible. Thanks.

Last edited by Master Miyagi; 07 Feb 2006 at 18:55.
Reply With Quote
  #8  
Old 07 Feb 2006, 19:27
Master Miyagi's Avatar
Master Miyagi Master Miyagi is offline
 
Join Date: Jan 2006
Update: I finally got it to work. However, I've decide to uninstall it. The flash avatar turned out to be on the bottom of the default avatar, which made my postbit space too big. How about making the default avatar swf compatible?

At any rate, good work!
Reply With Quote
  #9  
Old 07 Feb 2006, 19:30
IrPr IrPr is offline
 
Join Date: Mar 2005
Real name: MoOZ
Originally Posted by Don Corleone
yes a demo please
me too
Reply With Quote
  #10  
Old 07 Feb 2006, 20:31
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Originally Posted by Master Miyagi
Update: I finally got it to work. However, I've decide to uninstall it. The flash avatar turned out to be on the bottom of the default avatar, which made my postbit space too big. How about making the default avatar swf compatible?
That would require code hacking. I believe MarcoH64 will import his Flash Avatar hack to 3.5.3 when he can.

*The Flash avatar won't replace vB's default avatar unless you add another conditional in postbit_legacy. My assumption is that only one avatar will be used at a time.
Reply With Quote
  #11  
Old 07 Feb 2006, 20:33
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Update

I've made a few additional instructions and comments to the original post. The link to a working demo has also been included.
Reply With Quote
  #12  
Old 08 Feb 2006, 01:41
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Updated:

Resolved Username drop down menu displaying in the background of the Flash avatar. View image attachment for the results.
Reply With Quote
  #13  
Old 08 Feb 2006, 07:15
hiiped's Avatar
hiiped hiiped is offline
 
Join Date: Jan 2006
Originally Posted by Freesteyelz
Updated:

Resolved Username drop down menu displaying in the background of the Flash avatar. View image attachment for the results.
good work


< clicks invisible thank you button >
Reply With Quote
  #14  
Old 08 Feb 2006, 08:32
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
so why did you set regular avartars to 128x128?
Hmm, now somethings happened with my db too, works like 30% of the pageloades.. and I can't change the template anymore -_-

Did exactly as you wrote.
Reply With Quote
  #15  
Old 08 Feb 2006, 08:42
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
The modifications doesn't touch vB's database. The Flash codes are client side and should be safe. Forcing the graphics to 128x128px should not slow down your forum in any way since the file sizes remain the same.

*You can change the dimensions to any size you want (as specified in the instructions) or simply remove the "width" and "height" for vB's default avatar from the code. I've always preferred avatars at 128x128px.

Last edited by Freesteyelz; 08 Feb 2006 at 08:47.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:31.

Layout Options | Width: Wide Color: