View Full Version : Check this out
Logikos
02-15-2004, 08:35 AM
Please if someone could tell me how i can let guest post to one thread ID only i will appreciate it. This is the reason why. http://www.computerproblems.org/forums/showthread.php?t=1153
I would appreciate it alot, and would mean alot to eddie.
Thanks in advance
Boofo
02-15-2004, 08:43 AM
Set in in the forum permissions for the usergroup.
Logikos
02-15-2004, 08:44 AM
i can set it to that one thread?
Boofo
02-15-2004, 08:51 AM
Sorry. My fault. I was thinking forum. Nope. Can't do that in there. Probably have to go with a hack. ;)
Logikos
02-15-2004, 06:29 PM
if i only knew the code.
vbmechanic
02-15-2004, 06:42 PM
Here's a guess...
newreply.php, FIND:
if (($bbuserinfo['userid'] != $threadinfo['postuserid'] OR !$bbuserinfo['userid']) AND (!($forumperms & CANVIEWOTHERS) OR !($forumperms & CANREPLYOTHERS)))
{
print_no_permission();
}
if (!($forumperms & CANVIEW) OR (!($forumperms & CANREPLYOWN) AND $bbuserinfo['userid'] == $threadinfo['postuserid']))
{
print_no_permission();
}
Replace with:
if ($threadinfo['threadid']!=1153)
{
if (($bbuserinfo['userid'] != $threadinfo['postuserid'] OR !$bbuserinfo['userid']) AND (!($forumperms & CANVIEWOTHERS) OR !($forumperms & CANREPLYOTHERS)))
{
print_no_permission();
}
if (!($forumperms & CANVIEW) OR (!($forumperms & CANREPLYOWN) AND $bbuserinfo['userid'] == $threadinfo['postuserid']))
{
print_no_permission();
}
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.