View Full Version : view theads
vashadow
06-21-2002, 03:14 AM
Is there a hack or a way to make it so the bourd will show the user all the thead titles but unless they are loged in it will not allow them to view the thread it self. I have been looking for two days for a way to lock down the board so that my lurkers will have to log in to see the threads but get teased by the thead titles.. any help on this would be wounderful
Thanks
VaShadow
Logician
06-21-2002, 05:25 AM
In AdminCP/ Forum Permissions:
Can view forum YES
Can view others' threads NO
I'm not sure if this will do the trick but give it a shot.
Broekie
06-21-2002, 07:50 AM
That way they won't see the threads at all, not even in the forumdisplay, logged in or not...
Deleted the code listed here, it didn't work
See the attachment in the next post for the working code :)
Broekie
06-21-2002, 08:20 AM
Here you go.
This should work, at least it does at my testboard...
Just to be secure, backup your showthread.php before applying this.
Have fun with it!
Chris M
06-22-2002, 05:07 PM
Broekie...
There is a slight error with your code :
// To make sure that not logged in users can't view threads
if ($bbuserinfo['usergroupid']==1) {
should be:
// To make sure that not logged in users can't view threads
if ($bbuserinfo['usergroupid']==0) {
Satan
Chris M
06-22-2002, 05:09 PM
A "error_threadviewnotloggedin" template option:
Sorry, you're not allowed to view threads when you're not logged in. Please login or <a href="register.php">Register</a>!
Satan
vashadow
06-22-2002, 07:31 PM
So simply but yet so efective.!!! awsome.. thankyou so much this is perfect.!!!
I knew switching from openbb to VBB would be worth it..
Thanks
vashadow
Broekie
06-23-2002, 08:32 AM
hellsatan...
As I said to you, check your admin cp
Unregistered / Not Logged In = usergroupid 1 :)
So my code is correct :D
reefland
08-25-2002, 06:29 AM
This works great but is there a simple way to make it where this works only in specific forums?
Regards,
Scott Z.
ar-K-ic
10-27-2009, 12:14 PM
I agree, I have an area for paid users and if I can show the thread titles, more folks might be interested into joining...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.