Advertise Here

Author Topic: [Code] Hide Moderators  (Read 8367 times)

0 Members and 1 Guest are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
[Code] Hide Moderators
« on: June 11, 2007, 10:49:58 pm »
This code hides the moderators from the index page...
Footers:
Code: [Select]
<script type="text/javascript">
function hide_moderator(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var DIV = document.getElementsByTagName("div");
for(x=0;x<DIV.length;x++){
if(DIV[x].innerHTML.match(/Moderator:/i) || DIV[x].innerHTML.match(/Moderators:/i)){
DIV[x].style.display = "none";
};};};
hide_moderator();
</script>
« Last Edit: May 02, 2008, 08:49:48 pm by Agent Moose »
Check out Revolution X's Brand new Code Index!

Offline glennn8

  • SMF For Free Newbie
  • *
  • Posts: 16
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Hide Moderators
« Reply #1 on: June 12, 2007, 08:11:24 am »
verry nice!

Good job! ;D

You always make good things ;)

Glenn,
« Last Edit: June 12, 2007, 08:13:55 am by glennn8 »

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: Hide Moderators
« Reply #2 on: June 12, 2007, 11:13:11 am »
Nice work, Agent Moose.


And I Play:  Mafia-Mandemz

Offline deathwilldie

  • Style Designer
  • *
  • Posts: 770
  • Give me an idea for a Stylesheet
    • View Profile
    • Revolution X

  • Total Badges: 28
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary Search Eighth year Anniversary Seventh year Anniversary
Re: Hide Moderators
« Reply #3 on: June 12, 2007, 04:29:16 pm »
Nice Work.

Offline 73lue73oy

  • SMF For Free Member
  • *
  • Posts: 63
    • View Profile
    • bdesignz

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Hide Moderators
« Reply #4 on: August 02, 2008, 03:54:32 pm »
what do you mean by "This code hides the moderators from the index page..."?

Offline Jessie

  • SMF For Free Hero
  • *
  • Posts: 754
    • View Profile
    • iSimple

  • Total Badges: 18
    Badges: (View All)
    Windows User Apple User Mobile User Topic Starter Combination
Re: [Code] Hide Moderators
« Reply #5 on: August 02, 2008, 04:05:08 pm »
It doesn't show board moderators..*I presume*
Feel free to PM me or email me. ;)

My Forum :)

Offline 73lue73oy

  • SMF For Free Member
  • *
  • Posts: 63
    • View Profile
    • bdesignz

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Hide Moderators
« Reply #6 on: August 02, 2008, 04:07:31 pm »
oh kool

Offline tyler_ownz

  • SMF For Free Newbie
  • *
  • Posts: 6
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Hide Moderators
« Reply #7 on: August 30, 2008, 10:29:27 pm »
wicked :uglystupid2: :uglystupid2:

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Hide Moderators
« Reply #8 on: August 30, 2008, 11:35:06 pm »
is there a way you can change forum moderatores to Mini-Mods or another name in the staff list
« Last Edit: August 31, 2008, 08:38:27 am by Stitch »

Offline Josh[y]

  • SMF For Free Sr. Member
  • *
  • Posts: 478
  • <Insert whitty tagline here.>
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Hide Moderators
« Reply #9 on: August 31, 2008, 08:00:35 am »
W00t Moose is back with another awesome code! Ive been waiting for him to make another one.  :uglystupid2:

Offline T00l

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Hide Moderators
« Reply #10 on: November 02, 2008, 07:50:21 pm »
Ever since I put this code in my forums footer, Im not able to see the headers and footers area, all that pops up is my chat box
 :buck2:

Offline Shimmy Shabby

  • SMF For Free Full Member
  • *
  • Posts: 143
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Hide Moderators
« Reply #11 on: November 02, 2008, 07:56:10 pm »
Ever since I put this code in my forums footer, Im not able to see the headers and footers area, all that pops up is my chat box
 :buck2:
Forum url? so we can take a look at it.


Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Hide Moderators
« Reply #12 on: November 02, 2008, 08:14:14 pm »
Ever since I put this code in my forums footer, Im not able to see the headers and footers area, all that pops up is my chat box
 :buck2:

I can see your forum fine.
You have no code in your header except the jquery
The only code you have in your footer is the chatbox and a hitcounter.
The chatbox shows up fine in your footer.    The hitcounter is hidden but you have it set to be hidden so that is fine.
The only problem I see in your footer code is at the very top of it.

erase this at the very top of your footer:

http://

It is JUST before:   <embed serc=
« Last Edit: November 02, 2008, 08:16:34 pm by simply sibyl »

Offline T00l

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Hide Moderators
« Reply #13 on: November 03, 2008, 07:56:43 pm »
Nah guys it's ok i just used the remove footer code

Offline schart28

  • SMF For Free Newbie
  • *
  • Posts: 2
    • View Profile

  • Total Badges: 4
    Badges: (View All)
    Topic Starter Level 1 First Post One year Anniversary
Re: [Code] Hide Moderators
« Reply #14 on: February 20, 2011, 02:17:11 pm »
ok problem solved.....

---------------
Guys, i've put in that code and know I cant access the Header/Footer section. Can someone please remove all code in the footer..

http://canadianveteransadvocacy.smfforfree.com/index.php


thanks
« Last Edit: February 20, 2011, 02:40:57 pm by schart28 »

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2035 Views
Last post November 12, 2008, 07:59:32 am
by simply sibyl