Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Nightvision's Avatar
Nightvision : 50+
Nightvision is just really niceNightvision is just really niceNightvision is just really niceNightvision is just really niceNightvision is just really nice
offline Joined: Sep 2007 Posts: 76 Thanked: 44
  #1  
Thread Starter Unread 10-01-07
Guests can see forums and threads, but must register to read threads

Guests can see forums and threads, but must register to read threads


In showthread.php, look for the following:
 
if (!($forumperms & CANVIEWOTHERS) AND ($thread['postuserid'] != $bbuserinfo['userid'] OR $bbuserinfo['userid'] == 0))
{
 print_no_permission();
}
 
 
Below this, paste the following:
###DENY NOT LOGGED IN (USER 0) AND USERS AWAITING EMAIL CONFIRMATION (GROUP 3)###
if($bbuserinfo['userid']==0||$bbuserinfo['usergroupid']==3) print_no_permission();
Attached Files Click the thanks button to view this attachment.
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
threads, register, read, guests, forums
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
Powered by GYSN Underground 2021