vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=281215

Password Protect Categories
by Irishnotsane
06 Apr 2012 20:26

Hello, How can I password protect a forum

BEFORE YOU REPLY:

I want this for Admins too since admins and mods automatically bypass the default forum passworded sections

I've tried to edit functions.php and edit it from:

Quote:

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

to:

Quote:

if (!$password)
However my forum didn't like that one bit and all user-uploaded attachments ended up showing up with the "broken image" display.

Is there a modification for this or somehow I can do with without breaking the attachments?
Can I do it via .htaccess?


All times are GMT. The time now is 00:41.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.