The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Users Choose Username Font/Color Posts Details »» | |||||||||||||||||||||||||
//////////////////////// Users Choose Color/Font Of Username In Posts \\\\\\\\\\\\\\\\\\\\\\\\
////////////////////////////////////////////////// by gio~logist \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ------------------- Allow users to change what color their username is in posts -------------------- ------------------------------------------ Via UserCP ------------------------------------------- //////////////////////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\ Want members to be able to choose the font color of their usernames in posts? [high]Step 1[/high] [high]Go to User Profile Fields >> Add New User Profile Field[/high] Choose A "Single-Line Text Box" [high]Title:[/high] "Color of Your Username" [high]Description:[/high] Type in the color in which you will like your username to be. Keep in mind that writing the colors in text does not always work, so try and format it like this: #ff0000 (that code is for red). [high]Display Size:[/high] 11 [high]Max length of allowed user input:[/high] 7 [high]HIT SAVE[/high] [high]Step 2[/high] Now go to edit your postbit template and search for this code: HTML Code:
$post[musername] HTML Code:
<if condition="$post['fieldx'] != '' "> <font style="color:$post[fieldx]">$post[musername]</font> <else /> $post[musername] </if> [high]HIT SAVE[/high] Want them to be able to choose the font as well? [high]Step 1[/high] [high]Go to User Profile Fields >> Add New User Profile Field[/high] Choose A "Single-Line Text Box" [high]Title:[/high] "Font of Your Username" [high]Description:[/high] Type in the font in which you will like. For example for tahoma, type in "Tahoma", without the quotations. [high]Display Size:[/high] 15 [high]Max length of allowed user input:[/high] 20 [high]HIT SAVE[/high] [high]Step 2[/high] Now go to edit your postbit template and search for this code: HTML Code:
$post[musername] HTML Code:
<if condition="$post['fieldx'] != '' "> <font style="font-family:$post[fieldx]">$post[musername]</font> <else /> $post[musername] </if> [high]HIT SAVE[/high] [high]AND WE'RE DONE![/high] If you want them to be able to choose both color AND font, only do step 1 in each part, and then replace: HTML Code:
$post[musername] HTML Code:
<if condition="$post['fieldx'] != '' "> <font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[musername]</font> <else /> $post[musername] </if> [HIGH]Current Add-Ons[/high] Exclude Certain Colors [HIGH]Planned For Next Version (So Far)[/high] - Have a pop up that allows you to pick a color and then shows the code for that color. If you have any other ideas feel free to post them! Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
||||
|
||||
Idea #1 - Show up in Who's Online
Idea #2 - Show up in Online Users in VBAdvanced Idea #3 - Set everyone's font/color to a default - remove the if conditional :P |
#53
|
|||
|
|||
please integrate this hack with ucash. So people can use poins to buy colored thread!!!
|
#54
|
|||
|
|||
this is nice... thanx for putting it up
|
#55
|
||||
|
||||
How do i limit this to numerous usergrps plz? such as subscribers and mods.
Cheers |
#56
|
||||
|
||||
I'd like a similar hack: automatically make their username green when they are online. Or make it GLOW !
And black (or red) when they are offline. That'd be slick as hell, and much cleaner than the "status" dot. |
#57
|
|||
|
|||
This is a great idea and my member's have asked for this, but i just can't get this to function........dang it.
All i want is the color choice. I have set this up in postbit-legacy and there is absolutely no change at all......just stay's dark blue. K, i got it working in postbit-legacy. Is there anyway to get this to work globably? Right now the color only show's in the thread made by the member.........thanks |
#58
|
|||
|
|||
So, does anyone know how to make this function in 3.6.5?
|
#59
|
|||
|
|||
Can someone update this for 3.6.8 because it doesn't work? Thanks.
|
#60
|
|||
|
|||
It works for 3.6.8 just fine.
|
#61
|
|||
|
|||
works with 3.6.9 just fine also.
is there an easy way to make this show on the front page / whos online/ and in chatbox? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|