MyBB Community Forums

Full Version: Another quick CSS question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

Just curious - in topics: how can I edit it so that when members in groups that have username links that are colored (admins, moderators, etc.) post, the links are not colored?

I don't mind if the admins/mods/etc. being shown on the 'logged in users' or 'users browsing *' lists have colored names. But when they post in topics, I would rather not have those colored links in the topic.

Any way to go about doing this?

Thank you again guys,
Your support means a lot;
Andy
heloo there,

umm well if u remove the color , i doubt that they will appear anywhere else.

just try to remove them from the Admin CP > Users and Groups > Manage Groups
then look at the username style, it should be something like this

<font color="red"><b><i>{username}</i></b></font>

remove everything except {username}

ciao
He meant only in posts Wink

Open up functions_post.php and search for:
$post['profilelink'] = "<a href=\"".str_replace("{uid}", $post['uid'], PROFILE_URL)."\">".formatname($post['username'], $post['usergroup'], $post['displaygroup'])."</a>";

Replace with:
$post['profilelink'] = "<a href=\"".str_replace("{uid}", $post['uid'], PROFILE_URL)."\">".$post['username']."</a>";

Done. Wink