Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Articles Thread, Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup. in C and C++; Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup . What it does The first field is the ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3462


Reply
LinkBack Thread Tools Display Modes
Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup.
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
13-09-2008, 01:24 AM
 
Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup.



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:

</b></span>



Always remember to close your tags!!



I hope you find this useful.. Cya!!

__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Articles Thread, Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup. in C and C++; Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup . What it does The first field is the ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3462


Bookmarks

Tags
color or font or style, rating, set, usergroup, username


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

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Usergroup Color Bar Legend Developer Mods for 3.8.x 5 08-02-2009 10:14 PM
Usergroup Color Bar Legend Developer Mods for 3.7.x 0 30-09-2008 03:45 PM
User Color/Font In Posts Editable Via Profile Developer Mods for 3.6.x 0 22-09-2008 09:20 PM
User selected default posting font and color Developer Mods for 3.7.x 0 20-09-2008 10:42 PM
How To Set Username 'Color/Font/Style' Per Usergroup Developer Articles 0 08-09-2008 07:05 PM