News:

Create A Forum Installed

Author Topic: [Code/CSS] Remove "Post Group" for Admins/Mods  (Read 2432 times)

0 Members and 1 Guest are viewing this topic.

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile

Badges: (View All)
Linux User Mobile User Level 5
[Code/CSS] Remove "Post Group" for Admins/Mods
« on: August 02, 2010, 07:57:49 pm »
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);

Share on Facebook Share on Twitter


Offline McLovin

  • Newbie
  • *
  • Posts: 30
  • Karma: -4
    • View Profile

Badges: (View All)
Topic Starter Combination Level 2
Re: [Code] Remove "Post Group" for Admins/Mods
« Reply #1 on: August 02, 2010, 11:55:34 pm »
Nevermind... I didn't read the entire name of the topic.. I'm stupid. :|
« Last Edit: August 03, 2010, 01:21:16 am by McLovin »

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile

Badges: (View All)
Linux User Mobile User Level 5
Re: [Code] Remove "Post Group" for Admins/Mods
« Reply #2 on: August 03, 2010, 01:20:23 am »
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);

Offline McLovin

  • Newbie
  • *
  • Posts: 30
  • Karma: -4
    • View Profile

Badges: (View All)
Topic Starter Combination Level 2
Re: [Code] Remove "Post Group" for Admins/Mods
« Reply #3 on: August 03, 2010, 01:22:56 am »
Lol, I didn't read the entire title of the post... I'm stupid...

Offline DMVA

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile

Badges: (View All)
Combination Level 2 Topic Starter
Re: [Code/CSS] Remove "Post Group" for Admins/Mods
« Reply #4 on: August 04, 2010, 03:09:16 pm »
Nice code, I'm using it now. :)
VERY simple, it almost seems stupid not to include it.

Offline Nick9

  • Jr. Member
  • **
  • Posts: 61
  • Karma: -38
    • View Profile

Badges: (View All)
Level 3 Topic Starter Combination
Re: [Code/CSS] Remove "Post Group" for Admins/Mods
« Reply #5 on: August 04, 2010, 10:32:58 pm »
Admin-> Layout Settings-> Theme Settings-> Turn "Hide post group titles for grouped members" to on. (section two-subsection four-option six)


That's the manual way to do what the code does...
CreateAForum Codes | RuckaScape | Open Testing Forum

I like the people who come on here JUST to defect my karma. ;)

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile

Badges: (View All)
Linux User Mobile User Level 5
Re: [Code/CSS] Remove "Post Group" for Admins/Mods
« Reply #6 on: August 05, 2010, 01:00:35 am »
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);

Offline Nick9

  • Jr. Member
  • **
  • Posts: 61
  • Karma: -38
    • View Profile

Badges: (View All)
Level 3 Topic Starter Combination
Re: [Code/CSS] Remove "Post Group" for Admins/Mods
« Reply #7 on: August 05, 2010, 01:23:17 am »
Thanks for letting me repost all of your codes onto the coding forum. (:
CreateAForum Codes | RuckaScape | Open Testing Forum

I like the people who come on here JUST to defect my karma. ;)

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1888 Views
Last post January 14, 2012, 04:55:49 pm
by Roblox_Forums_Account
1 Replies
744 Views
Last post March 20, 2012, 03:05:12 am
by Seldom Fail
2 Replies
1350 Views
Last post April 20, 2016, 02:17:53 pm
by darkoflite
1 Replies
98745 Views
Last post October 29, 2016, 09:13:06 am
by ✪ 𝕁𝖆𝖈𝕜 ✪
6 Replies
18044 Views
Last post November 21, 2017, 11:43:18 pm
by CreateAForum