Version: 1.0.6, by Eikinskjaldi
Developer Last Online: Jul 2023
Version: 3.5.4
Rating:
Released: 02-27-2006
Last Update: 03-02-2006
Installs: 67
Supported DB Changes Uses Plugins Template Edits
Code Changes Additional Files
vBPrivate Threads
This hack has been ported to vBulletin 3.5.4 from the vBulletin 3.0.0 version with permission granted by:
Quote:
"You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission"
in Kentaurus's post for its original release, found here
--------------------------------------------------------
This is my first major ported and released hack for vB.
--------------------------------------------------------
With this Code Modification you can add private threads to your forums. A private thread is:
A thread that some users or usergroups can view. Others cannot.
A thread that some users or usergroups cannot view. All others can.
Using this Modification, any user in a forum that has Private Threads turned on may create a private thread. It is useful for holding private moderator conversations, or for making a thread private when some users would like to see the discussion closed and others want it to continue.
Future Plans:
Add Super Moderators and Moderators to override the standard permissions
Admin Options for allowed private thread types
Admin Options to define users with override-permissions privilages
Admin Options for those who can make private threads
Private Threads will NOT show in the lastpost column when user does not have access to thread
Creator can view thread by default
Hack History:
Version 1.0.6
Changed several file edits to plugins (Thank you waza)
Some plugins were reverted back to file edits, no version change as it is going a bit backward
am i doing something wrong? when i click New Posts i can see the threads that are supposed to be hidden (from my test account)...however when I click them it says i don't have permission. The problem is when I hover over the link it gives me the preview of the thread...sort of defeating the purpose of the hack?
This is an error I am working on currently, I am sorry for the current inconvience, it should be patched and fixed within the near future hopefully
EDIT: Wait, is this on forumdisplay or forumhome? When you view a forum you see the thread? Because that means you must have missed an edit somewhere. The only place a none viewable person can find out if a private thread exists is through forumhome's lastpost bit. I am currently working on making it so they cant see that either.
mine can be seen from the vbcmps screen... that's the only problem with this hack. it doesn't display in forumdisplay, and follows its permissions accordingly...
That's one of the things I'm still trying to work on. The original version also did not prevent threads in private threads from showing in the lastpost column or on a vbacmps page. What needs to happen is that the permissions check needs to occur, but if the user does not have the permission, the next latest thread needs to be found (and the process must repeat until there is a viable thread).
missed one file edit in search.... now if it wouldn't display in forumhome....
here are the edits in forum (the search is fixed)..
PHP Code:
$threadbits = '';
$threadbits_sticky = '';
$counter = 0;
$toread = 0;
while ($thread = $db->fetch_array($threads))
{ // AND $counter++ < $perpage)
// M/DD/YY PRIVATE THREADS PORT
include_once('./includes/functions_privatethread.php');
if (private_thread_not_allowed($thread))
{
continue;
}
// END PRIVATE THREADS PORT