MyBB Community Forums
[How To?] Make Admin Posts have a different BG color than other people - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Make Admin Posts have a different BG color than other people (/thread-122245.html)



Make Admin Posts have a different BG color than other people - JakeA - 2012-07-10

Such as the support team here, how would I make it so admin posts stick out with a bg color without using a plugin for it?

Thanks Smile


RE: Make Admin Posts have a different BG color than other people - Yaldaram - 2012-07-10

Try this: http://yaldaram.com/showthread.php?tid=1436


RE: Make Admin Posts have a different BG color than other people - JakeA - 2012-07-10

(2012-07-10, 07:41 AM)Yaldaram Wrote: Try this: http://yaldaram.com/showthread.php?tid=1436

That didn't work, unfortunately. Sad

It makes no sense as to why this doesn't work, it's so simple!


RE: Make Admin Posts have a different BG color than other people - Yaldaram - 2012-07-10

Couple of things;

- Make sure you're editing the right template set.
- Make sure you're adding the proper class, with proper class name in global.css

Can you please post your website's URL?


RE: Make Admin Posts have a different BG color than other people - JakeA - 2012-07-10

Sorry for the trouble. I figured it out. You might want to edit your tutorial as this is what fixed it:

Change:

{$post['gid']}

To:

{$post['usergroup']}

Not exactly sure why this worked, but it did.

In case you still want it,

forum URL is www.stellarrecharge.com


RE: Make Admin Posts have a different BG color than other people - Nathan Malcolm - 2012-07-10

We use MySupport here. It might be more than you need, so you might want to try this instead: http://mods.mybb.com/view/group-post-css


RE: Make Admin Posts have a different BG color than other people - JakeA - 2012-07-10

Thank you Nathan and Yaldaram. I happened to be just messing around and solved it. Thank you both for taking the time to help me out. I really appreciate it Smile