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
[HTL] & [Normal] Private threads Details »»
[HTL] & [Normal] 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: 01-31-2004 Last Update: Never Installs: 15
 
No support by the author.

Tested with 3.0.1

This hack lets you have private threads. A private thread is either:
* A thread where only some selected users can post
* A thread where some some selected users cannot post, everybody else can

With this regular users can protect their threads from regular spammers, it is useful for a roleplaying game, for a semi-private conversation (everybody can read, only some users can post), if you wanted to have a semi-private conversation with 5 people that is not possible in private messages, but a private thread would do.

The hack works:

When you create a thread you will be given the option for the thread to be private. If the thread is private you need to specify:

To allow some users or to deny some users (not both!)

Everybody can see the thread but when they try to answer they must have the proper permissions, otherwise a "this is a private thread" message would be shown to them.

After the thread is posted you can go to the "edit thread" screen and change which users can see the thread and its general behaviour, you can either make it public again or make a public thread now private. This is done by whoever has access to the edit thread tool.

I am not planning to release a "completely private" thread hack, if you don't want anybody to see the thread or to post in it just use a private forum I think only not being able to post is enough functionality (at least for me!).



Please take in consideration this hack only runs with php version > 4.1.0

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
  #32  
Old 03-06-2004, 09:39 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack is only good if the "privateusers" are aware that there is a thread awaiting them ...
the ability to notify the "privateusers" upon submitting new thread would take this hack to the next level

just my .02¢
Other than the above, I think this is a great hack.
Reply With Quote
  #33  
Old 03-07-2004, 04:43 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated the hack to make it work with RC4. It is not longer compatible with any version < RC4 since some vbulletin code is in different place.
Reply With Quote
  #34  
Old 03-21-2004, 06:26 PM
The General's Avatar
The General The General is offline
 
Join Date: Aug 2002
Location: Netherlands
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus

I am not planning to release a "completely private" thread hack, if you don't want anybody to see the thread or to post in it just use a private forum
Too bad, because that's exactly what I need.
Reply With Quote
  #35  
Old 09-23-2004, 05:43 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack. It works as described. Only one major glitch: How do you prevent people from seeing it thru the archives?
Reply With Quote
  #36  
Old 01-08-2006, 10:49 PM
rnmcd rnmcd is offline
 
Join Date: Aug 2004
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is sooo awesome it could take the place of the unruly Private Messaging system.
Reply With Quote
  #37  
Old 01-25-2006, 09:00 PM
Dreiko's Avatar
Dreiko Dreiko is offline
 
Join Date: Nov 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, I'm waiting for someone to port this to 3.5.x
Reply With Quote
  #38  
Old 01-26-2006, 04:13 AM
vau7 vau7 is offline
 
Join Date: Mar 2004
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yes, me too. Thought there would be already the hack for 3.5
Reply With Quote
  #39  
Old 02-01-2006, 05:03 PM
joefitz joefitz is offline
 
Join Date: May 2005
Location: Boston, MA
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm almost ready for beta release with my update although it does have some differences from this mod. It is 3.5.3 ready and is configured as a product although there is one manual file change required that I haven't been able to figure out a good workaround for...

The system is not based on this code although I'm sure it bears some resemblence in certain areas. The main differences between my hack and this one are:

1) mine supports completely private threads
2) mine does not support denying certain members the ability to access/post to the thread

I may develop the latter feature at some point but I don't have it as a need at the moment. It is pretty cool using the Ajax name completion stuff that vB has built-in now! Anyway, I'm going to start a new thread for the beta once it is ready, hopefully on Friday.
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 03:01 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.04739 seconds
  • Memory Usage 2,284KB
  • 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_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
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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