Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 22nd, 2018, 06:54am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Remove Moderators List from Board Index  (Read 3180 times)
Conforums Administrator

member is offline


"Pure intentions, its about the journey, not particularly the end result."

Homepage PM

Gender: Male
Posts: 12607
xx Remove Moderators List from Board Index
« Thread started on: Dec 8th, 2003, 10:18pm »

Code submitted by Ben Woodruff

// Don't list moderators hack
// Writen by Ben Woodruff

if(window.location.href.indexOf("index.cgi?") == -1 || window.location.href.indexOf("index.cgi?action=login2") !=-1 || window.location.href.indexOf("index.cgi?action=logout") !=-1){
if(getMod[m].innerHTML.indexOf("Moderator: ")!=-1 || getMod[m].innerHTML.indexOf("Moderators: ")!=-1){

This goes in the footers board index (main page) only. It will still work if you put it in all your footers, but it is just better if it only goes in the main ones.
« Last Edit: Aug 16th, 2006, 12:26pm by Garet » User IP Logged

Roger Sutton
User Image
Conforums Elite
Senior Member

member is offline


Homepage PM

Gender: Male
Posts: 2070
xx Re: Remove Moderators List from Board Index
« Reply #1 on: Jul 6th, 2006, 8:11pm »

var TD = document.getElementsByTagName("TD")
if(TD[i].className=="windowbg2" && TD[i].align=="left" && TD[i].width=="66%" && TD[i].innerHTML.match(/Moderators: none/i)){
TD[i].innerHTML+=" "
var i = document.getElementsByTagName('i');
for (m=0;m<i.length;m++) {
if (i[m].innerHTML.match(/Moderators: none/) && i[m].parentNode.size=="1")

Main Footer

This code acts a little more differently then the above code it will remove the moderators:none only after all the moderators have been removed from a board via the admin section.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls