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 Jan 29, 2006 8:26:22 GMT -8
<script type="text/javascript"> <!-- /* protect accounts */
var protect = /^(user1|user2|user3)$/i;
if(pb_username != 'admin') { if(document.modifyForm && document.modifyForm.user.value.match(protect) && pb_username != document.modifyForm.user.value) { var obj = document.modifyForm.parentNode; obj.parentNode.parentNode.parentNode.getElementsByTagName('b').item(0).innerHTML = 'An Error Has Occured'; obj.innerHTML = 'You are not allowed to modify this persons profile.'; } } //--> </script>Main Footer. In the bold part, enter the usernames of the people whos profiles cannot be modified (seperated with a '|' line). Only the main admin and the owner of the account will be able to modify the profile
|
|