MyBB Community Forums

Full Version: Moderator Colored Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to make a moderator's post have a green background and the administrators post have a gold background?
In your postbit template, find:
			<td class="trow2 post_content {$unapproved_shade}">
Replace with:
			<td class="trow2 post_content group_{$post['usergroup']} {$unapproved_shade}">

In your theme, edit global.css, and add this to the CSS (you may need to go to the Advanced CSS to add this):
.group_6, .group_3 {background: green}
.group_4 {background: gold}

Give that a spin Smile
(2008-08-21, 08:47 PM)DennisTT Wrote: [ -> ]In your postbit template, find:
			<td class="trow2 post_content {$unapproved_shade}">
Replace with:
			<td class="trow2 post_content group_{$post['usergroup']} {$unapproved_shade}">

In your theme, edit global.css, and add this to the CSS (you may need to go to the Advanced CSS to add this):
.group_6, .group_3 {background: green}
.group_4 {background: gold}

Give that a spin Smile

That worked! Thanks!
I sense a RuneScape player here ..
Link to your forum? I want to see this in action actually Toungue
DennisTT: If he doesn't supply a link, I could set it up on mine :o
Oh, and http://community.mybboard.net/thread-36391.html
How does that relate to this thread?
You started to help me, then let my thread fall and abandoned me.