Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 18th, 2018, 04:42am

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: Revolution Board Modification (Conforums adapted)  (Read 2258 times)
Ex-Shiny Gold Star Club Member
Conforums Administrator

member is offline


Homepage PM

Gender: Male
Posts: 1777
xx Revolution Board Modification (Conforums adapted)
« Thread started on: May 18th, 2012, 3:56pm »

<script type="text/javascript">
Revolution Board Modification Alternate A
Created By Eichi modded by Dalton

var td = document.getElementsByTagName('td');
for(t=0; t<td.length; t++){
   if(td[t].width == "66%" && td[t].className == "windowbg2"){
      var board = td[t].getElementsByTagName('font')[0].innerHTML;
      var description = td[t].innerHTML.split(/<br\/?>/i)[1].split(/<br\/?>/i)[0];
      if(td[t].innerHTML.indexOf('Moderator') !=-1){
         var mod = td[t].innerHTML.split(':')[1].split('<\/i>')[0];
         td[t].vAlign = "right";
         td[t].innerHTML = '<table width="100%" cellspacing="0" cellpadding="0"><tr><td width="50%">' + board + '</td><td width="50%"><font size="1">(Board Led By: ' + mod + ')</font></td></tr><tr><td colspan="2">' + description + '</td></tr></table>';
      } else {
         td[t].vAlign = "right";
         td[t].innerHTML = '<table width="100%" cellspacing="0" cellpadding="0"><tr><td>' + board + '</td></tr><tr><td>' + description + '</td></tr></table>';

Adapted to find the right parts of the table to do the correct modification, only difference is in the placement of the moderators.

Main footers
User IP Logged

User Image
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