vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=244786

Default Post Color
by Dave
17 Jun 2010 12:15

I could only find bad descriptions of this mod in this section so I decided to make one with a better explanation.

Description: Let users have a default font color of their text in a post. (Also possible for default font size and family.)

Time needed: A few minutes.

How to:

1) First login into the admin cp and go to User Profile Fields > Add New User Profile Field

2)
Title: Post color
Description: Please fill in a color code in the box. Example: #FF0909
Uncategorized
Default Value: (Leave empty or fill in a color code)
Max length of user input: 7
Field length: 7
Profile field type: Single-line text box

The other options are up to you.

https://www.vbulletin.org/forum/external/2010/06/23.png

3) Press save and go to User Profile Field Manager to check the field number and write it in a notepad or something.
https://www.vbulletin.org/forum/external/2010/06/24.png

4) Now go to Styles & Templates > Style Manager > Open the skin you want the default color / font or size in > Postbit templates > Postbit

5) Find this:

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

And replace with this:

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

You have to replace the X with your own field number.

6) Save and do step 5 for postbit_legacy too.

That's it!

You can also replace color with size or family but you will have to edit the user profile field.
Best is to use multiple-selection menu for font family.

Kolbi 17 Jun 2010 13:20

Nice description :)

The font tag is an old standard I guess?

Wouldnīt there be a modern xhtml version?

merk_aus 17 Jun 2010 16:42

I am sure Kolbi if you want the xhtml version you could easily do it for your site. To the Original Poster thanks for this it is greatly appreciated.

1320Nation 26 Dec 2011 20:53

This mod works perfect on my 4.1.9 version board.

However I Replaced the text the developer used in the Description area with the following text:

Quote:

This will be your font color when posting. (Ex: #FFFFFF is white)<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>
You will see what this does is add a color wheel type option which will allow your members to easily come up with ANY color they choose. I have a Dark Style board, so if you have a bright color board you might change the text (Ex: #FFFFFF is white) to (Ex: #000000 is black).

With this added info you should end up with a nice clean looking mod to your board. :up:

Webrunner 28 Dec 2011 14:13

is there a way to make this working in the social groups?

HHelp1 28 Dec 2011 15:00

May any 1 here show me some SS please? :/

doctorsexy 28 Dec 2011 18:59

Quote:

Originally Posted by HHelp1 (Post 2281649)
May any 1 here show me some SS please? :/

+1 on that....

Webrunner 19 Feb 2012 06:37

Since this mod is just about adding standard vb profile fields, what would be the point in showing screenshots.
The text in post just change into color the user entered in these fields.
I myself also added font and font size.


All times are GMT. The time now is 19:45.

Powered by vBulletin® Version 3.8.12
Copyright © 2018, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.