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 Sept 18, 2005 14:12:37 GMT -8
Main FooterWhat this does is stops members (particually staff members) from modifying certain aspects of their own profile such as Post Count, Karma, etc. <script type="text/javascript"> <!-- function disable(element) { if(document.modifyForm && pb_username==location.href.split('user=')[1]) { var td = document.modifyForm.getElementsByTagName('td'); for(i=0; i<td.length; i++) if(td.width == '245' && (td.firstChild.name == element || (td.firstChild.firstChild && td.firstChild.firstChild.name == element))) { td.parentNode.style.display = 'none'; } } }
disable('Element ID'); disable('Element ID');
//--> </script>Edit and repeat these lines - disable('Element ID');In the purple, put the ID of the element you want to disable, here's a few you might want to use: - posts = Post Count
- karma = Members Karma
- customtitle = Custom Title
- notes = Account Notes
- membergroup = Member Group
UPDATED TO WORK WITH v4.5 - Wormo 8/7/2010
|
|