inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jul 1, 2005 8:20:36 GMT -8
This code will force users to provide their own Avatar URL rather than using a default one. However, it will keep the preview box. Goes into the Main Footer
<script type="text/javascript"> <!-- /* remove default avatars by elindir 101support.proboards43.comdo not redistribute or edit */ var ka=document.getElementsByTagName("td") for (e=0;e<ka.length;e++) if(location.href.match(/action=modifyprofile/gi) && ka[e].innerHTML.match(/Avatar:/) && ka[e].width=="160"){ var image=document.getElementsByTagName('input') for(f=0;f<image.length;f++) if(image[f].name.match(/avatarurl/) && image[f].size=="35"){ if(image[f].value.match(/./)){var url=image[f].value;}else{var url="http://img181.imageshack.us/img181/4568/blank9zi.gif";} var width=image[f+1].value; var height=image[f+2].value; ka[e+1].innerHTML="<img name='avatarImage' src='"+url+"' width='"+width+"' height='"+height+"' \/>"; ka[e+1].align="center"; ka[e+2].style.display="none"; } } // --> </script>
|
|