Board Logo

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

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: Thread Subject Prefix  (Read 4220 times)
Conforums Elite
Senior Member

member is offline


Homepage PM

Gender: Male
Posts: 2070
xx Thread Subject Prefix
« Thread started on: Aug 19th, 2006, 03:13am »

This code will allow you to add a prefix to the thread subject of stickied subjects, locked subjects and stickylock subjects.

Board Footers
Edit Red

<script type="text/javascript">

Lock, sticky and locked sticky thread prefix
Coded By Zando

function ooo(source,text){
var tdz=document.getElementsByTagName("td")
if(tdz[z].width.match(/48%/) && tdz[z].className.match(/windowbg/) && tdz[z-1].width=="4%" && tdz[z-1].className.match(/windowbg2/)){
var pic=tdz[z-2].getElementsByTagName("img")[0]
var des=tdz[z].getElementsByTagName("font")[0].innerHTML
tdz[z].innerHTML="<font size='2'>"+text+" "+des

ooo("locked.gif","Locked:"); //Delete this line if you do not want a locked prefix
ooo("sticky.gif","Sticky:"); //Delete this line if you do not want a sticky prefix
ooo("stickylock.gif","Sticky Lock:"); //Delete this line if you do not want a sticky lock prefix


In the line
you must replace
with the URL of the locked image (once again, just the last part of the URL)
You must replace the
with the prefix that will appear before a locked subject.

You must do the same with the other two lines.
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