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
  #2  
Old 02-29-2004, 05:32 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great - thanks for releasing !
Reply With Quote
  #3  
Old 02-29-2004, 06:17 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good work, although wouldn't it just be easier to set up a private forum?
Reply With Quote
  #4  
Old 02-29-2004, 09:14 PM
Gaffer's Avatar
Gaffer Gaffer is offline
 
Join Date: Nov 2001
Location: Australia
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOOOOHOOOOO

i requested this months and months ago.... (but for vb2.x.x) finely i can use it. it will be EXTREAMLY handy.
Reply With Quote
  #5  
Old 02-29-2004, 09:24 PM
rms10 rms10 is offline
 
Join Date: Jan 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
good work, although wouldn't it just be easier to set up a private forum?
This gives you the ability to mix groups, i.e. today you want groups 1, 5 and 6 to view a certain thread. Tomorrow you may want 2,1 and 4 to view a different one.

I plan to use this to allow me to post certain information. Depending on the topic not all groups can have access to it. The access could change for each thread I post. Therefore a private forum would not work as well.
Reply With Quote
  #6  
Old 03-01-2004, 02:21 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One question....

Are users able to exclude admins to read their post?
I sure hope not... :/

Can i define which usergroups are able to use this feature?

nice mod if tweakable tho
Reply With Quote
  #7  
Old 03-01-2004, 11:16 AM
rms10 rms10 is offline
 
Join Date: Jan 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your questions are answered in his post.
Reply With Quote
  #8  
Old 03-01-2004, 11:30 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea!

The only option I would like to see, is some sort of marking that shows that a thread is private.

While the threadview itself is nice, it would be nice to see some sort of icon or whatnot that would display in the threaddisplay.
Reply With Quote
  #9  
Old 03-01-2004, 11:50 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpeedStreet
Great idea!

The only option I would like to see, is some sort of marking that shows that a thread is private.

While the threadview itself is nice, it would be nice to see some sort of icon or whatnot that would display in the threaddisplay.
Very nice!

I am sure I will use this hack!
Reply With Quote
  #10  
Old 03-02-2004, 01:46 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpeedStreet
Great idea!

The only option I would like to see, is some sort of marking that shows that a thread is private.

While the threadview itself is nice, it would be nice to see some sort of icon or whatnot that would display in the threaddisplay.
If you have acces to the thread and you enter to it a legend of "This is a private thread and these are the allowed users" will appear. If you are not allowed to see it you will not see the thread at all. Users that are allowed to post are aware that it is a private thread.
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 09:31 PM.


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.08320 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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