Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 23, 2006 16:10:15 GMT
Main Footer<script type="text/javascript"> <!-- /* disable avatars - ross */
var allowed = /^(user1|user2|user3)$/i;
if(document.modifyForm && !pb_username.match(allowed)) { var avatar = document.modifyForm.avatar.parentNode.parentNode.parentNode; for(i=0; i<4; i++) { avatar.style.display = 'none'; avatar = avatar.nextSibling; } } //--> </script>Will hide all avatar options for anyone who is not listed in the allowed list. Edit the red with the allowed usernmaes seperated by a '|' line
|
|