vBulletin Modifications

[How-To] - Set username 'Colour/Font/Style' etc... Based on usergroup

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support > vBulletin Modification Tutorials

Reply
 
LinkBack Thread Tools
Old 02-07-2007, 10:07 AM   #1
Coder
Join Date: Nov 2006
Distance is on a distinguished road

Default [How-To] - Set username 'Colour/Font/Style' etc... Based on usergroup

Distance's First Official vBulletin Article!!

What it does

The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:

[openning tag]username[closing tag]


Installation

1. Go to your admincp
2. Expand the Usergroups setting group
3. Click on Usergroup Manager
4. Select the usergroup you wish to set the username markup for and select 'Edit Usergroup (id: x) Then click Go

x being the id number of the usergroup

5. You should see an option saying 'Username HTML Markup'

The first box is the start tag, and the seccond box is the end tag.



Examples of the start tag


You can either use standard tags such as:

<b> - Making your username Like this
<i> - Making your username Like this
<u> - Making your username Like this

You can combine any of these for example all three

<b><i><u> Making your username Like This



Or you can use the more advanced way to do it


Like this:

<span style="font-weight: bold;"> - Making your username Like this
<span style="font-style: italic;"> - Making your username Like this
<span style="text-decoration: underline;"> - Making your username Like this

You can combine any of these for example all three

<span style="font-weight: bold; font-style: italic; text-decoration: underline;"> Making your username Like This


Other style options:


Usergroup Colour

<span style="color: red;"> Making your username - Like this



Usergroup Font

<span style="font: Comic Sans MS;"> Making your username - Like this


Usergroup Size

<span style="font: 20px;"> Making your username 20px in size




Once again you can link all these together like this:

<span style="font: 20px Comic Sans MS; color: red;"> Making your username Like this



Or... All style options..

<span style="font: 20px Comic Sans MS; color: red; font-weight: bold; font-style: italic; text-decoration: underline;"> Making your username Like this


*note i cannot show you the size on this page as vBulletin have disabled it on this board for security reasons*


Examples of the End Tag

For every tag you open, you must close it..


So if you have got <span xxxxwhatever >

you must have </span> in the seccond close tag box..


Eg..

Box 1:

<span style="font: Comic Sans MS;><b>

Box 2:

</span></b>



Always remember to close your tags!!



I hope you find this useful.. Cya!!






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 02-07-2007, 11:43 AM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Thanks for posting this detailed article




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2007, 12:14 PM   #3
Coder
Join Date: Nov 2006
Distance is on a distinguished road

Default

Glad to be of help




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2007, 10:01 AM   #4
vB Newbie
Join Date: Oct 2007
Rahulrulez is on a distinguished road

Default

Thnx for awesome tutorial




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] set usernames in color/bold/italic GirlsOnTop vBulletin Modification Tutorials 17 05-13-2008 02:24 AM
[How to] Set User Titles Rex vBulletin Modification Tutorials 24 11-20-2007 05:25 PM
php tcl eggdrop - repost DeadGaze General vBulletin Support 14 03-25-2006 06:20 AM
Additional Usergroup promotions/demotions based on posting... bryanb vBulletin Modification Requests 0 02-21-2006 10:24 PM
Be able to set a usergroup as a moderator holowugz vBulletin Modification Requests 3 05-11-2005 08:31 PM


All times are GMT -3. The time now is 04:22 PM.


SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc. (Patent Pending)