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

  #16  
Old 08 Feb 2006, 08:50
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
Originally Posted by Freesteyelz
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.
Ok thanks !
And ..Strange ..as the postbit_legacy is the only template I can't edit now.. o_0

Fatal error: Maximum execution time of 30 seconds exceeded in /home/virtual/hlforum.net/public_html/includes/functions_misc.php on line 411
EDIT: Hmm.. seemed to fix itself. Clicks install !

Last edited by Luggruff; 08 Feb 2006 at 09:03.
Reply With Quote
  #17  
Old 08 Feb 2006, 08:58
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Assuming that the codes were properly placed, it may be that you need to extend the timeout behavior in PHP's server configuration. Check the code entries once more just in case.
Reply With Quote
  #18  
Old 08 Feb 2006, 09:07
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Originally Posted by Luggruff
Ok thanks !

EDIT: Hmm.. seemed to fix itself. Clicks install !
It may have been a server issue. I'm glad you got it to work. Enjoy!
Reply With Quote
  #19  
Old 08 Feb 2006, 10:55
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
Hmm, about the workaround with the usergroup dropdown menu..

Isn't it possible to like.. force your menu to activate itself.. ONLY when flash avvie is showing??

Even if you use a flash avvie AND a regular one??

Last edited by Luggruff; 08 Feb 2006 at 11:21.
Reply With Quote
  #20  
Old 08 Feb 2006, 21:56
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Yes!

I've updated the instructions to version 1.2. If you've installed a previous version make sure to update it.

*Changes made (version 1.2):

1. Conditionals are set in which if you're using a Flash Avatar it will override the default; else it will use vB's default avatar.

2. Conditionals are set in which if you're using a Flash Avatar the User popup menu will display horizontally; else it will use vB's default vertical menu.
Reply With Quote
  #21  
Old 08 Feb 2006, 22:19
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: May 2005
sweet <3
Reply With Quote
  #22  
Old 08 Feb 2006, 22:22
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
I'm glad you like it. Thanks for helping me test it to 1.2.
Reply With Quote
  #23  
Old 09 Feb 2006, 02:03
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Why is this conditional here first:

<if condition="$post['field16']">

??
Reply With Quote
  #24  
Old 09 Feb 2006, 02:20
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Careless on my part. I use 16 for the live board and 20 for the testing board...It should read "field20" for both parts of the instruction. I've updated the codes.

Thanks for the heads-up, ChurchMedia.

Last edited by Freesteyelz; 09 Feb 2006 at 02:27.
Reply With Quote
  #25  
Old 09 Feb 2006, 05:44
Kuimera's Avatar
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Nice one, one question, cant this be done for the users who use postbit insteed of postbit_legacy ?
Reply With Quote
  #26  
Old 09 Feb 2006, 06:14
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Definitely. Just glancing over the "posbit" code it's all similar except for the avatar section. I'll try it now and post back soon...
Reply With Quote
  #27  
Old 09 Feb 2006, 06:45
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
While I didn't change the location of the avatar, username and user info (e.g., Join Date, Posts, Title...) the modification works. Here's the instructions:

In postbit template:
1. Look for this (or something similar to):


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. Click "Save" and you're done.

*All of the other instructions remain the same. It's just with "postbit" template and not "legacy".

**While I'm not crazed with the other look (e.g., Username and user's info at the right of the avatar) that can be modified easily by replacing the <td> tags. If you need help with it let me know.

Last edited by Freesteyelz; 09 Feb 2006 at 06:49.
Reply With Quote
  #28  
Old 09 Feb 2006, 18:52
masterross's Avatar
masterross masterross is offline
 
Join Date: Dec 2005
great thanks Freesteyelz !!!

i've been searched for this hack long time ago!

it works great!
also i did some modification to be use tnansparent flashes:

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


also why i should use this step?

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

it works perfect without this! And i dont want to view horizontal popup menu

BR,
Ross
Reply With Quote
  #29  
Old 09 Feb 2006, 21:53
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
For people who use the Legacy view the Flash displays in the foreground, overshadowing the User popup menu. In order for the menu to be seen I positioned it horizontally so that it avoids the Flash avatar entirely. The image attachment shows an example of what (Step 2) does. Anyone who uses a non-Flash avatar will have the popup menu positioned vertically.

Anyway, I'm happy that you like it and thanks for clicking install.

Last edited by Freesteyelz; 09 Feb 2006 at 22:06.
Reply With Quote
  #30  
Old 09 Feb 2006, 23:06
masterross's Avatar
masterross masterross is offline
 
Join Date: Dec 2005
yes indeed flash will be ot top layer...
but if you do like in my way -> wmode="transparent" all will be "normal"
check it

thank ones again for great hack

BR,
Ross
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 12:17.

Layout Options | Width: Wide Color: