Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #12  
Old 02-01-2004, 12:12 PM
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Location: TX
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
interesting, but not sure if it is of some use for me ...
Good hack. I think Administrators need to be able to see it no matter what.
Reply With Quote
  #13  
Old 02-01-2004, 12:24 PM
Giveit2u43 Giveit2u43 is offline
 
Join Date: Jun 2003
Location: Liverpool
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack.. works well and was easy to install.. shows off how much easier the HTL makes it for somewhat bigger hacks like this..
Reply With Quote
  #14  
Old 02-01-2004, 12:25 PM
Giveit2u43 Giveit2u43 is offline
 
Join Date: Jun 2003
Location: Liverpool
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheComputerGuy
Good hack. I think Administrators need to be able to see it no matter what.
It doesn`t stop people from seeing the thread, just replying.. we`ve got this set for our poetry, story submission threads where some people are constantly flamed by the same people, just gives them a little control and might make them post more...
Reply With Quote
  #15  
Old 02-01-2004, 01:45 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is fantastic! I'll get alot of use for this in my RPG forums! Great idea! <3

Questions! Would Admins still have the ability to reply, even if they are not on the reply list? And are admins or mods able to edit who is on the reply list?
Reply With Quote
  #16  
Old 02-01-2004, 06:52 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!
Reply With Quote
  #17  
Old 02-01-2004, 07:14 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Diana Notacat
This is fantastic! I'll get alot of use for this in my RPG forums! Great idea! <3

Questions! Would Admins still have the ability to reply, even if they are not on the reply list? And are admins or mods able to edit who is on the reply list?
I second this and would like to know as well, but also, is it possible that only certain usergroups could get this privelage? Thank you.
Reply With Quote
  #18  
Old 02-01-2004, 07:18 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Diana Notacat
This is fantastic! I'll get alot of use for this in my RPG forums! Great idea! <3

Questions! Would Admins still have the ability to reply, even if they are not on the reply list? And are admins or mods able to edit who is on the reply list?
Admins wouldn't be able to reply right away. Although because they can edit the thread they can add themselves to the allowed list and then reply.
Reply With Quote
  #19  
Old 02-01-2004, 07:22 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Also, I ran a test thread and can see the 3 options to allow, disallow, etc., but after hitting the edit thread to put who can or can't, it doesn't show me a form to enter the names. I'm sure I've installed everything right. Any suggestions?
Reply With Quote
  #20  
Old 02-01-2004, 08:41 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bluecat
Thanks. Also, I ran a test thread and can see the 3 options to allow, disallow, etc., but after hitting the edit thread to put who can or can't, it doesn't show me a form to enter the names. I'm sure I've installed everything right. Any suggestions?
Did you do the template edit completely? It should show a "Select users - Separate multiple users with a ;" and an input box to type
Reply With Quote
  #21  
Old 02-01-2004, 09:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be addd to the editpost if you are editing the first post in the thread?
Reply With Quote
Reply

Thread Tools

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 07:16 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.04781 seconds
  • Memory Usage 2,301KB
  • 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
  • (5)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