The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Completely private threads Details »» | |||||||||||||||||||||||||
This is an "upgrade" to my previous "private threads" hack. I am releasing it as a new hack because some people would not want the "completely private" functionality and because the code is different.
Special thanks go to RMS10 who sponsored this hack and decided it should be public and for everyone to test. A private thread is either: * A thread that some selected users/usergroups can view * A thread that some some selected users/usergroups cannot view, everybody else can * The thread can be hidden from other users/usergroups at the user's will How does it work? When the user creates a thread he will be given the option to type users or usergroups and to limit posting only to that users or for that users to be excluded from the threads. The disallowed users cannot see the thread in the forumdisplay page, they cannot search for it, the cannot view it even if they know the direct url (a message error appears to them). It is unavailable to them. If a thread is private guests canot see it, otherwise a user can just log off your forum to see the thread. You have to be validated in the forum with proper permissions to see the thread. Administrators can always see private thread, even if the user selected to exclude administrators. If you installed the previous private thread hack please uninstall it (reverse the file and template edits) to properly install this one. Info for hackers: 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 Some portions of the code are (c) Jelsoft Enterprises Ltd. Show Your Support
|
Comments |
#32
|
|||
|
|||
Quote:
I HAVE A PROBLEM WITH IT .. IAM USE VB 3.0.3 I HAVE DONE ALL AND WHEN I GO TO CHECK THE ADMIN PANEL I GET THIS ERROR -------------------------------------------- Parse error: parse error in c:\apache\htdocs\forums\includes\functions.php on line 1935 Fatal error: Call to undefined function: devdebug() in c:\apache\htdocs\forums\includes\functions.php on line 1000 ------------------------------------------- I GO TO TO CHECK FUNCTIONS.PHP AND I REMOVE THE CODE THAT I ADD IN THIS FILE AND THE ADMIN WORK FINE BUT WHEN I GO TO THE FORUM HOME PAGE AND I TRY TO ENTER ANY FORUM I GET THIS ERROR ---------------------------------- Fatal error: Call to undefined function: private_thread_not_allowed() in c:\apache\htdocs\forums\forumdisplay.php on line 751 ---------------------------------- ANY IDEA PLEASE |
#33
|
||||
|
||||
The other problem is that the "lightbulb" for a new post will go on for everybody, even if they aren't allowed to view the thread.
|
#34
|
|||
|
|||
How can I set permissions so that only certain usergruops can access this feature?
Thanks. |
#35
|
|||
|
|||
Can anyone work on this hack or only the orginal author?
I'd be willing to pay for this hack if we cab get some of these minor bugs mentioned fixed. This is a great hack. What's the deal? |
#36
|
||||
|
||||
Quote:
I could add the features in, but then the up-tights would get their panties all twisted up over it. If you want it done, I'd be willing to do it for a fair price. IM me on AIM @ Mroadster84 or PM me. Thanks |
#37
|
|||
|
|||
Hi, how can I prevent EVERYONE to see it from the archives?
ok, I fixed that by placing the below in archive/index.php // display thread // HACK: private threads. if (private_thread_not_allowed($threadinfo)) { echo "<div align=center>The author of this thread made it private and only users that he designated it for may access it.</div>"; eval(print_standard_error('privatethread_notallowe d')); } // HACK: private threads. if ($do == 'thread') |
#38
|
|||
|
|||
this sounds like a great hack, why doesn't some expert iron out the shortfalls?
|
#39
|
|||
|
|||
In this image attachment
https://vborg.vbsupport.ru/attachmen...chmentid=17025 it has 5 options for a Private thread. Can someone expand the intent of each of those options for me? For example, option 2 says, "Only Selected Users". Does this mean "Only Selected Users" can see the thread but they cannot post or does it mean "Only Selected Users" can read and post to this thread? Thank you. |
#40
|
|||
|
|||
Does this function with vb 3.0.3?
|
#41
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|