The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Password Forums / sub-forums
I have a hack I have used since vb3.0. All has worked ok Till 3.5 (something changed )
All users no matter the usergroup must enter a password to a forum that has a password. Open: includes/functions.php Search: (about line 3023) 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)) Change to: Code:
if (!$password) This will not work on Sub-Forums only forums on the 1st level now for some reason. In VB3.0x it worked on sub-forums. Any ideas ? |
#2
|
||||
|
||||
I don't think it is a problem with the Code.
Are you sure you've applied the password to the child-forums as well? |
#3
|
||||
|
||||
Quote:
That's why your KirbyDE :bunny: |
#4
|
||||
|
||||
May I ask what RAWR does mean?
|
#5
|
||||
|
||||
Quote:
Just sending you some praise. Your idea on th sub-forums is true. This must be done on sub-forums. The parent 1st level forums do not need it, but it will not hurt it. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|