Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 31, 2004 14:04:53 GMT
Code created by Infinite & A_Leon[/color]
Username in Mini-Profile <script> /*Display username in mini-profile created by Infinite & A_Leon. Board Footers. This code may not re-posted without the express permission from its creators. All Rights Reserved. This copyright must stay intact at all times.*/
var TD=document.getElementsByTagName("TD") for(u=0;u<TD.length;u++){ if(location.href.indexOf("action=display")!=-1){ if(TD[u].width=="20%" && TD[u].innerHTML.match(/Post/i)){ var name=TD[u].innerHTML.split("username=")[1].split("\">")[0] if (TD[u].innerHTML.match(/" CLASS="adminuser">/i) || TD[u].innerHTML.match(/" CLASS="gmoduser">/i)){ name=TD[u].innerHTML.split("username=")[1].split("\" CLASS=")[0] } TD[u].innerHTML="<b>Username: </b>"+name+"<br />"+TD[u].innerHTML+"" TD[u].align="center" }}} </script> Insert in board footers. This code inserts the usernames of members in the mini-profile for easy access. Preview
|
|