Skip to content

[Code/CSS] Remove "Post Group" for Admins/Mods

4931 Views 7 Replies

0 Members and 1 Guest are viewing this topic.

[Code/CSS] Remove "Post Group" for Admins/Mods
on:
#1
NOTE: There is another way to do this, and it doesn't involve coding, it is in the settings for your board:
Quote
Admin-> Layout Settings-> Theme Settings-> Turn "Hide post group titles for grouped members" to on. (section two-subsection four-option six)

Add to your CSS (Doesn't matter where in the CSS, just needs to be in there):
Code: [Select]
/* Remove "Post Group" for Admins/Mods //Created by Agent Moose */
li.membergroup + li.postgroup { display: none; }

This code removes the "Post Group" name (EX: Newbie, Member) in topics/PM's for Admins and Moderators.  I didn't see it in the Features and Options section of the Admin CP, so I decided to make it.  If it is there, please tell me.

Very simple CSS code, but useful :)

Enjoy :)
Last Edit: August 05, 2010, 01:02:26 am by Agent Moose
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);
Re: [Code] Remove "Post Group" for Admins/Mods
Reply #2 on:
#3
I still don't see it.

I checked all over the membergroup section and nothing.
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);
Re: [Code/CSS] Remove "Post Group" for Admins/Mods
Reply #6 on:
#7
Thanks Representation :)
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);