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

Reply
 
Thread Tools
Private Threads Beta 2! Details »»
Private Threads Beta 2!
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-31-2003 Last Update: Never Installs: 1
Supported
Is in Beta Stage  

DO NOT USE THIS HACK IF MODERATION IS TURNED ON!

This will give admins the option, while creating a thread, to make it a private thread. Private threads can only be seen by admins and are prefixed with Private:. I just created it, and it's probably not the most secure thing in the world. The install file is pretty pathetic, just basically logged what I did, but it should get the job done. All options are edited in the Admin CP --> Edit Options --> Private Threads Hack. Enjoy!

Features currently available in Beta 2:
Private threads can be created by usergroupd entered in the admin CP (and if enabled - users).
All abilities that are done to normal threads can be done in a private thread.
Private threads are prefixed.
Admins can enter in the usergroupids that can make/view private threads in admin CP.
Users can make private threads that only they and the selected usergroups can see (ON/OFF option).

NOTE: IF YOU DOWNLOADED BEFORE 7:38 PM EST ON 2/1/03, RE-DOWNLOAD IT AND REDO THE LAST NEWTHREAD.PHP EDIT AND CREATE THE NEW TEMPLATE NEWTHREAD_NOINVISIBLE!

If you do not, every new thread not posted by an admin would be deemed "Private".

NOTE: IF YOU DOWNLOADED BEFORE 10:02 PM EST ON 2/1/03, RE-DOWNLOAD IT AND CHANGE THE NEWTHREAD_INVISIBLE TEMPLATE TO WHAT IS IN THE NEW FILE!

Otherwise, every new thread made by an admin would be deemed "Private".

UPDATE: 2/1/03
Beta 1.1 released. The only difference is the ability to use the Admin Options on private threads (close, stick, edit, etc.) and the ability to edit posts in private threads. To upgrade from Beta 1, simply edit postings.php and editpost.php as stated in the text file.

UPDATE: 2/2/03
Beta 2 released. New options include: ability to add usergroups who can see all private threads in the admin CP, ability for users to create private threads that only they and selected usergroups can see (ON/OFF option), and a few bugfixes. To upgrade from Beta 1.1, follow the instructions in the upgrade.txt file; to upgrade from Beta 1, follow the instructions to edit editpost.php and postings.php in the install.txt file and then follow the instructions (minus the editpost.php and postings.php parts) in the upgrade.txt file.

Credits for Beta 2: Xenon, as I took a piece of code from his Custom Postbit hack to get this hack to work fully.
PHP Code:
strstr(" ".$canusecpb." "" ".$bbuserinfo[usergroupid]." "

Show Your Support

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

Comments
  #2  
Old 02-01-2003, 09:32 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen:
Reply With Quote
  #3  
Old 02-01-2003, 09:42 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Request more features!
Reply With Quote
  #4  
Old 02-01-2003, 09:59 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

Would it be possible for users to start a thread in a specified forum, and then only that user and the admin/smods/mods can see the content ? This way there can be nice one on one discussions between members and the staff without other members being able to see the content of those threads?

I would seriously have a big interest in such an addition to this cool hack
Reply With Quote
  #5  
Old 02-01-2003, 10:00 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look into it
Reply With Quote
  #6  
Old 02-01-2003, 11:28 PM
Sketch Sketch is offline
 
Join Date: Apr 2002
Location: Baltimore, Maryland
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah I'm the only admin so a convo with myself doesn't enlighten me online. I already do that enough as it is, don't need to add vBulletin to the picture...lol

However, awesome concept and when you get the usergroup thing worked out I'll definitely install this.

Aaron
Reply With Quote
  #7  
Old 02-01-2003, 11:31 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This can all be done using new usegroups & permissions.

But whatever works for you.
Reply With Quote
  #8  
Old 02-02-2003, 01:59 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE: 2/1/03
Beta 1.1 released. The only difference is the ability to use the Admin Options on private threads (close, stick, edit, etc.) and the ability to edit posts in private threads. To upgrade from Beta 1, simply edit postings.php and editpost.php as stated in the text file.
Reply With Quote
  #9  
Old 02-02-2003, 06:27 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Link14716
Next Beta: ability to define what usergroups can see private threads.
Next Beta/Future Release: ability for users to be able to create private threads than only they and the defined usergroups can see.
Cool :banana: :banana: :banana:
Reply With Quote
  #10  
Old 02-02-2003, 07:01 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neo
This can all be done using new usegroups & permissions.

But whatever works for you.
Yeeah!
I just found that out. How dumb am I to overlook that 500 million times, ROFL. (no, don't awnser that)
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:12 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.10162 seconds
  • Memory Usage 2,298KB
  • 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
  • (1)bbcode_php
  • (2)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
  • (1)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