July 24, 2024, 08:25:33 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

[IF] Hide Member From Mod Team

Pages: [1]   Go Down
Author Topic: [IF] Hide Member From Mod Team  (Read 483 times)
Offline Offline

Gender: Male
Posts: 154

View Profile
Badges: (View All)
« on: November 03, 2008, 07:05:30 pm »

My first script.
This code will hide a specified member from the list of moderators/admins from the moderating team page.
I saw some of those forums where the administrator creates the root account with the name "Admin" and then creates another admin account to make their posts and such with. So, this is intended to hide unwanted names on the mod team list.

Admin CP -> Footers
Preview: http://z9.invisionfree.com/Vitcodetesting/index.php - You will notice the latest member name is 'HiddenUser', and is a global mod so that name would show up on the mod team list, but has been hidden.

<script type="text/javascript">
//Code by Vitality
var a=document.getElementsByTagName('td')
if(a[i].className == "row1" && a[i].innerHTML.match("Username")){

Replace the "Username" with the name of the member you wish to hide.
Report Spam   Logged


Share on Facebook Share on Twitter

Pages: [1]   Go Up
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy