PDA

View Full Version : Something tiny: Password protect your forums from Mods + Supermods too!


CJPC
02 Jul 2004, 18:33
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with (in functions.php)


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Pretty much forces mods + supermods to throw the password in, and not have it wide open by default!

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!)

hpwilhelm
02 Jul 2004, 18:48
Thanks! I've been pondering how to make it so! :)

Andreas
02 Jul 2004, 19:03
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?

CJPC
02 Jul 2004, 19:05
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

Andreas
02 Jul 2004, 19:11
> 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 :)

CJPC
02 Jul 2004, 19:15
>

This could be easily done with access-masks or additional usergroups as well ...




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!

Merjawy
02 Jul 2004, 22:35
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

007
02 Jul 2004, 22:50
You can do this through access masks too. Just select who can and cannot view the forum.

CJPC
02 Jul 2004, 22:51
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!

BarHopper
03 Jul 2004, 22:16
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?

Could be for a site staff forum or something? Wwhere forum staff may not be welcomed.

Tim Wheatley
06 Jul 2004, 18:48
I use these. I have mods of a gaming forum, who are not allowed inside the beta testing forum of that game.

Problem is, I upgraded to 3.0.3 and it does not work anymore. Can anyone tell me what code changed between 3.0.1 and 3.0.3 to stop it?

Tim Wheatley
06 Jul 2004, 19:41
Nevermind, problem my end!

Skyline_GT
07 Jul 2004, 05:20
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
Well I think this may be userful if their account has been hacked?
If the protected forum has a password, then it is just a double security.
Even they hacked into mod, or super mod account, then they still need another password in order to have access to that forum.

Zachariah
09 Jul 2004, 14:02
OFN?
http://www.vbulletin.org/forum/showthread.php?t=59878

Post 8 is my reason :)