Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 17, 2006 0:07:24 GMT
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 && document.cookie.match(new RegExp("user=" + 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
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Jan 19, 2006 1:46:32 GMT
here's a few you might want to use: - posts = Post Count
- karma = Members Karma
- customtitle = Custom Title
- notes = Account Notes
- membergroup = Member Group
what about disabling the option to disable their own profile?
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 19, 2006 23:48:30 GMT
Try accountenabled
|
|