![]() |
Selected Users Only Can Edit Admin Options
This hack will let you NOT allow certain users to edit your administrator usernames properties and also other options you want to restrict access to, for example editing the templates.
I recommend you to enable only the ones you really trust, that means only yourself. ESTIMATED INSTALL TIME: 2 minutes REQUESTED BY: (nobody) TESTED IN VERSION: 2.2.6 [high]UPDATE[/high] The hack was updated. It was fixed the problem I had with editing yourself of all users. NOTE: FireFly posted also another way of doing this, few posts below. In my hack, I also explained how to stop other admins to edit other options, for example the templates. You like this hack? Please click on the [high]Install[/high] button. To download the latest version of this hack, click below: |
good job Nakkid i guess it was the global issue ;)
either way good work :) g-force2k2 |
actually i unset in the wrong file the $caneditadmin variable... :)
firefly, as usual, helped me to understand what was wrong. |
Quote:
Really a good idea, i won't use it, because im the only admin of my board, but ist very usefull, perhaps when i work on other boards where are more admins. Also i know hellsatan loves this hack isn't it so? :) |
What does this have that hellsatan's hack doesn't? Does his have more?
|
it wont let you edit nothing, not even the passwords if you are not listed in config.php file. it works the same way as pruning the admin log (i got the idea from there). simple and secure.
if i understood correctly, in his hack you still can edit the passwords? not sure. let me know please. also dont look as doing more, but rather as hacking in a different way. :) my hacks are learning tools for myself, while experiencing with different aspects of vB. |
I was just wondering, I already installed yours :D
Also, can this same idea be applied to a hack I want to see, I'd like it so only adminid 1 can edit the templates, and create new styles, etc. Is that possible? |
Fantastic Thanks! But I've got one question. I've already installed hellsaten's admin hack... should I uninstall that one or can the 2 work together?
|
Code:
+-----------------------------------------------+ |
yep. it is. for example, if you dont want your admins to modify the templates do this...
admin/template.php find: Code:
if ($action=="modify") { Code:
if ($action=="modify" && checklogperms($caneditadmin,1,"<p>You are not allowed to modify the templates.</p>")) { |
All times are GMT. The time now is 11:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|