![]() |
Password Forums all Users (vb3.5)
/* -----------------9/29/2005 4:37PM-----------------
*** Password Forums all Users (vBulletin 3.5) ****** ** ** ****** * Zachariah - http://www.gzhq.net ****************** ************************************ All users no matter the usergroup must enter a password to a forum that has a password. ** Default Install of VB allows: Administrator = god, can see all do all - passwords on forum are useless. Super Mod = forum god, do all go every were - password on forums (site wide) are useless. Forum Mod = can go in and out with no road blocks on the forums they mod. ** What this will do: With this bit of code a password must be entered from all groups and users that wish to enter a forum with a password. It fits my needs. I host forums for on-line gammers that wish to have a password protected forum. I have Admins and Super Mods (multi-clan mixture) that help run the forums. I don't need wondering eyes in places that they do not belong. I have an issue telling someone that they have a privet area that requires a password, and it not be true. IMO, if you place a PW on something, you need a PW to access it. 1 File Edit --------------------------------------------------*/ When setting passwords on sub-forums: Apply This Password to Child Forums [x] yes []no (Only if changed) |
handy and simple.
|
No hook for this? ;)
|
Quote:
BTW: good to see you sir. |
And great to see you, too. sir. PM me when you get a chance. ;)
|
Well .... some things are so easy !!!
Thanks (installs) |
However, this code is not in the functions.php
But Code:
if (!$password OR ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) OR ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator']) OR can_moderate($forumid)) |
Quote:
Code:
function verify_forum_password($forumid, $password, $showerror = true) |
found it, but as far as I can see in my forum I can still enter the forum without being asked for a password ?!?
|
Ok, I just tested it with another forum, it seems that this modification does only affects main forums and not subforums ..
|
All times are GMT. The time now is 10:02 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:
|