The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User selected default posting font and color Details »» | |||||||||||||||||||||||||||
User selected default posting font and color
Developer Last Online: Nov 2008
Hello,
This mod allows users to select their default posting font and color. You will have to select this at registration and can update it whenever you want in profile. First you must make two new single selection menu user profile fields. Options for them are below. Profile field one: Title: Default Post Color Description: What color your posts show up as? Options: Black Blue Green Red Pink Orange Purple Set Default: Yes, but no first blank option Display Order: Doesnt Matter Field Requiried: Yes, at registration and profile updating Field Editable by User: Yes Private Field: No Field Searchable on Members List: No Show on Members List: No Profile field two: Title: Default Post Font Description: What do you want your default post font to be? Options: Arial Arial Black Arial Narrow Book Antiqua Century Gothic Comic Sans MS Courier New Fixedsys Franklin Gothic Medium Garamond Georgia Impact Lucida Console Microsoft Sans Serif Palatino Linotype System Tahoma Times New Roman Tribuchet MS Verdana Set Default: Yes, but no first blank option Display Order: Doesnt Matter Field Requiried: Yes, at registration and profile updating Field Editable by User: Yes Private Field: No Field Searchable on Members List: No Show on Members List: No Now go to the user profile field manager, and jot down the two field numbers of the new fields listed on the right side of the two fields. Along with that, write down what number goes with what field. Please note this is not the display number, its the number next to it that says fieldX Template Edits: Go to your styles postbit/postbit legacy (whatever you use) Find: Code:
<!-- message --> Code:
<font COLOR="$post[fieldX]"><font face="$post[fieldX]"> Replace: The first red X with your default text color field number The second red X with your default font field number. Find: Code:
<!-- / message --> Code:
</font></font> You are done, hope you like it! Show Your Support
|
Comments |
#32
|
|||
|
|||
Yes, this is important.
|
#33
|
|||
|
|||
Just edit the legacy template
|
#34
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=167487&highlight=font+color" target="_blank">https://vborg.vbsupport.ru/showt...ght=font+color</a>
thats the one i posted for 3.6 which works for 3.7 as well with no bugs... |
#35
|
|||
|
|||
Teşekk?rler, Thanks
|
#36
|
|||
|
|||
Thanks for the hack. I just installed this (on 3.7.0 Gold) and it works great.
Quote:
It appears that we can allow a default size to be selected by using the same method as you used for the font and color. Just need a third new profile field and a third font tag in the postbit. |
#37
|
||||
|
||||
Before I start messing around with this, it is possible for a user to use Bold, Italics or Underline if they want too? I would also like to see a size option. It would come in handy for those on my site with poorer vision
Thanks! |
#38
|
|||
|
|||
Thanx..
|
#39
|
|||
|
|||
nice hack , thanks. clicked at install and nomiated.
here it is some spell mistake in font list please Edit it, i have seen over many places,they just copy the same. it is "Trebuchet MS" instead Tribuchet MS Finally, i want to see in Quoted box same font as well,because someone does Quote you it does not show the same font we selected . Can you find it please? Cheers |
#40
|
|||
|
|||
cant get this to work....the font never changes....
Peace |
#41
|
|||
|
|||
Simple and VERY useful!
Thanks!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|