Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Apr 2012, 21:26
Irishnotsane Irishnotsane is offline
 
Join Date: Apr 2012
Password Protect Categories

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:

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:

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?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:32.

Layout Options | Width: Wide Color: