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.
Changing Username/Usergroup Style Per Theme
An Audentio Design Creation
This may just be common sense for some, but it is something that I use and
I find it very useful.
Have you ever wanted to have many colored usergroups and many colored
styles, but didn't want the two conflicting with each other? Here is how
you can do it.
Go to Users and Groups >> Manage Groups >> Administrators (or
which ever group you want).
Find Usergroup Style. The default for this is:
<span style="color:
green;"><strong><em>{username}</em></strong></span>
Delete all of this and replace it with:
<span
class="administrator_name">{username}</span>
Now you can go to Themes >> Modify / Delete >> Pick a theme
> Edit Theme Style. Scroll all the way to the bottom and find:
Additional CSS.
In this area, put this at the very top:
/* USERGROUPS */
.administrator_name {
color: red;
text-decoration: underline;
font-weight: bold;
font-style: italic;
}
This will make everyone who is an admin have a red, bold, underlined, and
italic username. You can play around with the colors and attributes to your
needs. For more information on CSS, please go to W3's
CSS Reference.
The whole point of this is to be able to have a different style per theme
for your usergroups, so go edit your other styles. Maybe, if you have a
redish theme, you will want your admins to show up green, and maybe on your
blue themes where your admins are orange, you may want them to be a pink on
your blue theme. Who knows, you are the admin, you make the choices!
Thanks for reading this resource,
Audentio