![]() |
Guests viewing threads?
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?
|
in showthread.php find:
$getperms=getpermissions($thread['forumid'],-1,-1,$forum['parentlist']); after that add: if ($bbuserinfo[userid]<1) {show_nopermission();exit;} |
Didnt work :(
|
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 |
Quote:
Quote:
|
All times are GMT. The time now is 07:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|