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
And I figured out the multiple users thing...I was doing what was intuitive and putting a space after the semi-colon like a list...but no space can go there. So I'm altering the template to put a warning about that for my users (who aren't the most computer literate sometimes!).
The only problem that's keeping me from making this live now...when the thread shows in the Last Post column and you click on it, you can see it no matter if you're supposed to or not. It's like that call doesn't check the private_thread_not_allowed().
Future Plans: Private Threads will NOT show in the lastpost column when user does not have access to thread
I'm hoping to have that changed soon. I still need to find out how to make it check for the next available "last thread" after that, and then repeat the permissions check, and loop until it finds one the person does have permission to.
I'm hoping to have that changed soon. I still need to find out how to make it check for the next available "last thread" after that, and then repeat the permissions check, and loop until it finds one the person does have permission to.
Yup...
I don't mind it showing in the Last Post column...that doesn't matter at all...it's just that it needs to check it when you load from that link (or any other direct link).
Buro, the program by default checks if you are an admin or not. I am working on a more advanced usergroup selection for making and viewing threads, also, I am drawing closer to the cure for the message in the last thread posted in area, 'Tis a beta for a reason, It will have errors as it goes further, thanks for the feedback so far .
The update later should also include the permissions for the thread creator by default and make it so all admins, mods, and super mods can view threads, unless you choose to turn supermods and mods off.
I will add making permissions for who CAN make private threads to the "future plans" list. Hi already can set the ability to have private threads per forum (this is Yes by default).
When I make a thread and list the people allowed to see it,I go in with my test regular user name...If I click on new posts or the forum the private thread is in ,I get this error message:
Fatal error: Cannot break/continue 1 level in /home/*****/public_html/forums/forumdisplay.php(938) : eval()'d code on line 4
But, I don't get this error if I make a thread using the test account and then go look at it logged in as an admin. I hope that made sense. Any idea?:ermm: