Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Dec 17th, 2017, 12:17am

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: Statistics & Moderator Column <- Code Inside  (Read 4584 times)
Luke Dyson

member is offline


Want a free shoutbox? Check my sig!

Homepage PM

Gender: Male
Posts: 103
xx Statistics & Moderator Column <- Code Inside
« Thread started on: Dec 27th, 2003, 10:31am »

This removes Topics and Posts and adds Statistics(Topics and Posts) and Moderators :)

If you'd like to see a preview of this code's effects click here

Edit by Garet - Code belongs in main footer

<script type="text/javascript">
/* Conforums Hack By Luke Dyson
This cannot be re-posted */
if (location.href.indexOf("/index.cgi") != -1){
var td = document.getElementsByTagName('TD')
for(a=0; a<td.length; a++) {
if(td[a].innerHTML.match("by")) {
var TDS = td[a].innerHTML.split("<B"+"R>")
if (location.href.indexOf("/index.cgi") != -1){
var td=document.getElementsByTagName("td")
for(t=0;t<td.length;t++) {
if(td[t].innerHTML.match("Topics")) {
if(td[t].width=="1%") {
td[t].innerHTML="<font class=text1 size=2><b>Statistics:</b></font>";
var td=document.getElementsByTagName("td")
for(q=0;q<td.length;q++) {
if(td[q].innerHTML.match("Posts")) {
if(td[q].width=="1%") {
td[q].innerHTML="<font class=text1 size=2><b>Moderators:</b></font>";
var td = document.getElementsByTagName('TD')
for(p=0; p<td.length; p++) {
if(td[p].innerHTML.match("by")) {
var line = td[p-3].innerHTML.split(":")
var mods = line[1];
var posts = td[p-1].innerHTML;
var topics = td[p-2].innerHTML;
td[p-2].innerHTML = "Posts: "+posts+"<br />Topics: "+topics+"";
var iMods = document.getElementsByTagName("i");
if(iMods[i].innerHTML.indexOf(/Moderators:/i) || iMods[i].innerHTML.indexOf(/Moderator:/i)){

« Last Edit: Jul 6th, 2006, 12:13pm by Garet » User IP Logged

Simple Shout
*Free Remotely Hosted Shoutboxes!
*Unlimited Shouts
*100% Customizable
* Validating HTML 4.01 and CSS 2
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls