Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Completely private threads Details »»
Completely private threads
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-28-2004 Last Update: Never Installs: 33
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-14-2005, 12:02 AM
rnmcd rnmcd is offline
 
Join Date: Aug 2004
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe you are right...oops.
Thanks for correcting me.

It would be great if someone could preventing the private thread form showing up in the latest thread on forum home.
Reply With Quote
  #53  
Old 03-09-2005, 02:44 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does not work with 3.0.6 did all the edits and even worked around the outdated code sections to get everything installed. On new threads the settings weren't stored in the DB nor was I able to admin the threads.
Reply With Quote
  #54  
Old 03-14-2005, 02:38 AM
Mukashi's Avatar
Mukashi Mukashi is offline
 
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got this working in 3.0.7? I don't want to install it when it might screw up the system, especially when it seems to be no longer supported.
Reply With Quote
  #55  
Old 03-19-2005, 07:25 PM
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Location: Oklahoma
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this on a patched 3.0.5 and it took away the button to post new attachtments. Yes, they're enabled. The button that says "Mnage Attachments" is gone. I can look at a style that is completely unedited I can post attachments that way. Does anyone know how I can fix this?
Reply With Quote
  #56  
Old 03-19-2005, 08:52 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mukashi
Has anyone got this working in 3.0.7? I don't want to install it when it might screw up the system, especially when it seems to be no longer supported.
it works for me on 3.07
Reply With Quote
  #57  
Old 03-19-2005, 08:55 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only wish that in search, instead of displaying a search page with no entries (if only one result and it is private), that it displays a message about that thread being private
Reply With Quote
  #58  
Old 05-08-2005, 09:58 PM
JD210 JD210 is offline
 
Join Date: Dec 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, how do you get a private thread from showing up on the portal page? I installed this, and can read the private posts on the portal page.
Reply With Quote
  #59  
Old 07-18-2005, 03:38 PM
Singularity Singularity is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JD210
Okay, how do you get a private thread from showing up on the portal page? I installed this, and can read the private posts on the portal page.
Are there any plans to make this hack 3.5.0-compatible?
Reply With Quote
  #60  
Old 07-24-2005, 02:02 PM
Singularity Singularity is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Singularity
Are there any plans to make this hack 3.5.0-compatible?
And one more question:

Is it possible to enable completely private threads only for a single subforum?
Reply With Quote
  #61  
Old 08-20-2005, 01:05 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works in 3.0.8, and I added conditionals to the template edits, so only mods and admins can access the feature to post a private thread by adding
Code:
<if condition="$show['modcplink']">private threads code goes in here</if>
(obviously your template edits are used instead of "private threads code goes in here")
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04538 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete