The Arcive of vBulletin Modifications Site. |
|
User Color/Font In Posts Editable Via Profile Details »»
|
|||||||||||||||||||||||||||
|
User Color/Font In Posts Editable Via Profile
Developer Last Online: Aug 2012
Whats Up,
I was looking for something like this and couldnt find it for 3.6. But i do give most of the credit to gio~logist for the idea even though i knew how to do this, dont wanna look like im taking credit for something i didnt do.Its like his for 3.5 except i added a color wheel link pop up. I dont have alot of coding experience, but template mods are not hard. Just wanted to kinda share this. Details: Allows users to edit their font color and their font type for when they post. It also puts a link where your users can find a colorwheel next to the description! Installation: 5 Mins First Thing You Need To Do: Code:
Go to User Profile Fields > Add New User Profile Field
Choose: Single-Line Text Box
Title: Font Color In Posts
Description: This will be your font color when posting. (Ex: #000000 is black)<br /> <a href="http://html-color-codes.info/" onclick="window.open('http://html-color-codes.info/');
return false;" target="newWin"><b>Click Here For Color Codes</b></a>
Max length of allowed user input: 7
Click Save!
Second Thing You Need To Do: Code:
Go to User Profile Fields > Add New User Profile Field Choose: Single-Line Text Box Title: Font In Posts Description: This font will appear when posting. (Example: Verdana) Max length of allowed user input: 15 Click Save! Find this code: Code:
$post[message] Code:
<if condition="$post['fieldX'] != '' OR $post['fieldX'] != ''"> <font style="font-family:$post[fieldX]; color:$post[fieldX];">$post[message]</font> <else /> $post[message] </if> Profile > Edit Profile and it will probably be somewhere towards the bottom. PLEASE CLICK INSTALL ENJOY! SCREENSHOT: The Red Blur Is The Link For The Colorwheel Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Install for Sure ..
Thanks You VM .. |
|
#3
|
|||
|
|||
|
Can I set this for just certain usergroups?
|
|
#4
|
|||
|
|||
|
This is great, thanks alot.
|
|
#5
|
||||
|
||||
|
Would be nice to have this as a product and with usergroup restrictions.
|
|
#6
|
|||
|
|||
|
thanks
|
|
#7
|
||||
|
||||
|
Quote:
I'm not to sure on what go's where so could you please be more specific? Thanks! Font Color In Posts >>field11 Font In Posts >>field12 <if condition="$post['fieldX'] != '' OR $post['fieldX'] != ''"> <font style="font-family:$post[fieldX]; color:$post[fieldX];">$post[message]</font> <else /> $post[message] </if> |
|
#8
|
|||
|
|||
|
Quote:
<if condition="$post['field11'] != '' OR $post['field12'] != ''"> <font style="font-family:$post[field12]; color:$post[field11];">$post[message]</font> Hope that helped
|
|
#9
|
||||
|
||||
|
it did, thanks alot!
|
|
#10
|
|||
|
|||
|
No problem.
|
![]() |
|
|