Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Oct 17th, 2017, 04:34am


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
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Custom title in profile  (Read 11339 times)
Garet
Conforums Elite
Senior Member


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 2070
xx Custom title in profile
« Thread started on: Aug 19th, 2006, 03:24am »

This will allow you to create a custom title on the main profile page.

Cross Browser
Main Footers
Edit Green



<script type="text/javascript">
<!--

function o(user,old,asdf){
if(location.href.match("action=viewprofile&username="+user)){
var font=document.getElementsByTagName("font")
for(z=0;z<font.length;z++){
if(font[z].innerHTML.match(old)){
font[z].innerHTML=font[z].innerHTML.replace(old,asdf);
}}}}
o("USERNAME", "ORIGINAL RANK", "NEW RANK");

//-->
</script>



Just add more of the following to make it take effect on more users.
o("USERNAME", "ORIGINAL RANK", "NEW RANK");







Put the following code in your board footers






<script type="text/javascript">
<!--

/*
Custom Title in Mini Profile
Coded By Zando
http://eldesigns.conforums.com
Do not repost or redistribute without permission
*/

function o(user,old,asdf){
var td=document.getElementsByTagName("td")
for(z=0;z<td.length;z++){
if(td[z].className.match(/windowbg|windowbg2/) && td[z].width=="20%" && td[z].innerHTML.match(old) && td[z].vAlign=="top"){
var a=td[z].getElementsByTagName("a")
for(i=0;i<a.length;i++){
if(a[i].href.match("viewprofile&username="+user)){
td[z].innerHTML=td[z].innerHTML.replace(old,asdf);
}}}}}
o("USERNAME", "ORIGINAL RANK", "NEW RANK");

//-->
</script>



If you want the code to take effect on more than one user, just add more of this.....
o("USERNAME", "ORIGINAL RANK", "NEW RANK");
User IP Logged

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