|
Post by Jordan Reposter on Sept 5, 2011 22:24:06 GMT -5
Code by JordanThis code changes a users display name to an image of your choice. Put the user's user name in the first set of quotes, and the image URL in the second set of quotes. Be sure to increase the red number inside of the [] by one each time. Global Footers <script type="text/javascript"><!-- /* * Image as Display Name * Created by Triad * support.proboards.com */
var _name = new Array(); _name[0] = ["admin", "image_url"]; _name[1] = ["test", "image_url"];
for(var a = document.getElementsByTagName("a"), x=0; x<a.length; x++){ if(a[x].className && a[x].className.match(/group/i)){ for(b=0; b<_name.length; b++){ if(_name[0] == a[x].href.split("=")[2]){ var _img = document.createElement("img"); _img.src = _name[1]; _img.border = 0; _img.alt = a[x].href.split("=")[2]; _img.title = a[x].href.split("=")[2]; var _a = a[x].cloneNode(true); _a.replaceChild(_img, _a.firstChild); a[x].parentNode.replaceChild(_a, a[x]); break; } } } } //--></script>
|
|
|
Post by iPokemon on Sept 10, 2011 13:04:30 GMT -5
Accepted [style=-webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px; background-color: rgba(0,0,0,0.9);padding: 6px;display:inline;color:white;font-weight:bold;]Thank you for your submission! It will be archived in our index!
[/style]
|
|