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
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.
nope it's on New Posts...search.php...but according to what i read above i missed an edit in Search.php?! I'll go double check, but i don't believe that's the case...one sec.
Code:
// show results as posts
if ($search['showposts'])
{
foreach ($itemids AS $post)
{
// M/DD/YY PRIVATE THREADS PORT
include_once('./includes/functions_privatethread.php');
if (private_thread_not_allowed($post))
{
continue;
}
// END PRIVATE THREADS PORT
Code:
// threadbit_deleted conditionals
$show['threadtitle'] = true;
$show['viewthread'] = true;
$show['managethread'] = true;
foreach ($itemids AS $thread)
{
// M/DD/YY PRIVATE THREADS PORT
include_once('./includes/functions_privatethread.php');
if (private_thread_not_allowed($thread))
{
continue;
}
// END PRIVATE THREADS PORT
No, that's quite correct and matches what I have for private threads in my search.php file. And you say they're showing up when you do NOT have permission to view them on a "New Posts" search?
No, that's quite correct and matches what I have for private threads in my search.php file. And you say they're showing up when you do NOT have permission to view them on a "New Posts" search?
go there, click Today's Posts (or register and do New Posts) and you should be able to see a thread named Test w/ a preview of, "You can see this can't you?"
Hmmm.... The next best thing to try is to uninstall the entire hack, and try at installing it again. Ensure that all of the plugins are turned on, and that all the file edits have been made.
Might I ask when you downloaded the package? It has been changed quite a few times in the past few days. Sorry about that.
Also, if you need any help installing it or wish me to do it then just drop me a PM. I have some free time this week so it wouldn't be to much of a problem
Hmmm.... The next best thing to try is to uninstall the entire hack, and try at installing it again. Ensure that all of the plugins are turned on, and that all the file edits have been made.
Might I ask when you downloaded the package? It has been changed quite a few times in the past few days. Sorry about that.
Also, if you need any help installing it or wish me to do it then just drop me a PM. I have some free time this week so it wouldn't be to much of a problem
I had installed the version you posted just before you sent out the email that it had been updated (removed 2 plugins, added a file change or two...last week sometime)...then did the update when you sent the email about those new changes.
I'll uninstall/reinstall right now and tell you what I find.
Thats just bizarre, I can't replicate it and I don't see anything in the code you posted, is there by chance anything that could be blocking it?
Any other hack that might be getting in the way.
the only other plugin that's registering on any of the search pages/functions is Thread Prefixes. I'm not sure if that could be it but i'll go disable it and test it.
EDIT: well..that was it. i turned off Thread Prefixes and the thread disappeared...*dang* i know you're busy but if "one day" you get a chance to work through that I'd appreciate it I have to use thread prefixes for a NWS section on my site that i want CLEARLY marked (so i require the prefix) so i can't keep that plugin disabled.