![]() |
Something tiny: Password protect your forums from Mods + Supermods too!
By default, when a forum is password protected, mods and supermods can still access with out a password, so last nite i fixed it (looked around, couldnt find anything similiar!)
Find (in functions.php) Code:
if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid)) Code:
if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL)) Umm, admins can still access it w/o a pass (if you want, i can, or anyone really, change it so admins must enter the pass too!) Remember, backup all your data etc... im not responsible for anything (hopefully noone rlsd this before, i couldnt find it!) |
Thanks! I've been pondering how to make it so! :)
|
Hmm ... does this make sense?
Why should ppl you trust (eg. you give them mod-power over that forum) be required to enter a password? |
Heh, they should be trusted!, but in a case when your trying to find a leak, or to even have a more private forum (mods that are IN, and those that arent) it helps!
Edit: Also safer for sensitive info, just incase someone hacks a moderators/supermods password, they will still need the seperate forum pass |
> Heh, they should be trusted!, but in a case when your trying to find a leak
Hmm ... so if you try to find a "leak" and give the password only to a few ppl, what do you gain? Either the untrustworthy person belongs to the group or it doesn't. > or to even have a more private forum (mods that are IN, and those that arent) it helps! This could be easily done with access-masks or additional usergroups as well ... > Also safer for sensitive info, just incase someone hacks a moderators/supermods password OK, that does make sense :) |
Quote:
Yeah, but we really dont wanna have to change the masks and additional groups every time we want to give access, easier to give a pass! |
great mod... needed indeed
yes sometimes you need a break even hidden forums they find you in :) I was in a hidden forum once and this mod located me there and I found him right with me :) I test things and I want to see my test quick rather than looking to see 10 replys and its only a test.. closing the thread doesn't help much either so this hack is a must.. thnx |
You can do this through access masks too. Just select who can and cannot view the forum.
|
Thx, and yes im aware of that , but it means changing user permissions /groups, and i do not want to move users to a diff group when they need to access, or enable them to view the forum!
|
Quote:
|
All times are GMT. The time now is 08:01 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:
|