View Full Version : Guests viewing threads?
SpotMe
07-17-2002, 11:40 PM
Is there a way to allow guests to view the board, the forums, but when they click on an individual thread, they get a nopermissions_logginedin error for vb 2.2.6?
Logician
07-18-2002, 05:29 AM
in showthread.php find:
$getperms=getpermissions($thread['forumid'],-1,-1,$forum['parentlist']);
after that add:
if ($bbuserinfo[userid]<1) {show_nopermission();exit;}
SpotMe
07-18-2002, 06:20 AM
Didnt work :(
Logician
07-18-2002, 10:26 AM
didnt work and what happened? give details plz.
Also, you enabled their access permissions in your Admin CP, right?
And there are 2 instances of code in showthread.php, dont forget the add your code after both of them
SpotMe
07-18-2002, 05:09 PM
Originally posted by Logician
Also, you enabled their access permissions in your Admin CP, right?
Yes I did.
Originally posted by Logician
[B]And there are 2 instances of code in showthread.php, dont forget the add your code after both of them
No, I didnt know..that worked!! Thank you :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.