Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

Setting Different Name Styles for Different Themes

See the title


I have this issue... so I have worked out this little workaround.

This tutorial requires basic knowledge of CSS.

In the Theme Editor put the following into the Additional CSS box of every one of your themes.

Code:
.name_style_registered
{
CSS Code Here
}

.name_style_mods
{
CSS Code Here
}

.name_style_smods
{
CSS Code Here
}

.name_style_admins
{
CSS Code Here
}

.name_style_banned
{
CSS Code Here
}


Insert your CSS code where it says "CSS Code Here" for each usergroup, based on each theme.

Then put the following in your Username Style box of the usergroups:

Code:
<span class="name_style_registered">{username}</span>


For Registered

Code:
<span class="name_style_mods">{username}</span>


For Moderators

Code:
<span class="name_style_smods">{username}</span>


For Super Moderators

Code:
<span class="name_style_admins">{username}</span>


For Administrators

Code:
<span class="name_style_banned">{username}</span>


For Banned

And you're done! Now each usergroup will have a different Username Style for each of your themes!