Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
QHSF Private Thread Details »»
QHSF Private Thread
Version: 1.0.0, by Moya Moya is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.2 Rating:
Released: 08-12-2008 Last Update: 08-13-2008 Installs: 59
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Private Threads

This hack has been ported to vBulletin 3.7.2 from the vBulletin 3.5.4 version with permission granted by:

Quote:
Originally Posted by Eikinskjaldi
Quote:
Originally Posted by Moya
Hi Eikinskjaldi,

Are you going to release this for 3.7.x? I have it works under 3.7.x. If you don't plan to release it, can I release it?
Hi there,

Feel free to release it
This hack starts from this thread Completely Private Thread and this thread vBPrivate Thread

This private thread mod allow administrators allow a certain forum to have this feature on or off.

With this modification members can create threads that are useful for private conversations. Here are the basic options
  • Allow Selected Users To View and Prevent Others from viewing.
  • Allow Selected Usergroup To View and Prevent Others from viewing.
  • Prevent Selected Users From viewing.
Hack Overview:
  • Products: 1
    • 2 Queries
    • 15 Phrases
    • More than 15 Plugins
  • File Edits: 1
  • File Uploaded: 2
  • Template Added: 4
  • Estimated Install time: Under 5 minutes
vbadvanced cmps support: (3.0.x)
  • Block Content From Private Thread From Displaying In News Module
  • Block Content From Private Thread From Previewing In Recent Thread Module
Note : To make the message of a private thread less offensive, I use the invalid thread link

Install Instruction:

Upload :
  • functions_privatethread.php to your includes folder
  • hooks_privatethread.xml to your includes/xml folder
Edit :
  • Open archive/index.php
Find
PHP Code:
else
{
    
$globalignore '';

add under

PHP Code:

($hook vBulletinHook::fetch_hook('privatethread_archiveindex')) ? eval($hook) : false
Install the product using your Plugin & Products System
Edit your forum information to turn private thread option on/off

Bug Fixed :

VBPhrase Tranlation:



Please post your comments, suggestions, ideas for this product. I will read all posts.

Make sure you click INSTALL!
You will be contacted when a new version is released.

Show Your Support

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

Comments
  #22  
Old 08-14-2008, 12:47 AM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, would it be possible to disable the selection of usergroups? It will also make sense if members can uninvite themselves from threads as well.
Reply With Quote
  #23  
Old 08-14-2008, 12:52 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this take the archives into consideration?
Reply With Quote
  #24  
Old 08-14-2008, 02:32 AM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

soletrader,
I change the message to regular notification and add the archive option.

Lionel,

It is now
Reply With Quote
  #25  
Old 08-14-2008, 02:47 AM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lionel. I would be interested in seeing an option for the thread starter to add/remove users even after the thread is created since the edit limit by default is only 30 min. Thanks
Reply With Quote
  #26  
Old 08-14-2008, 03:46 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 problems.

1-installing it gave me a class_bitfield_builder.php error
2-it is not inserting anything in TABLE_PREFIX . "thread (so the checkbox always remain at first option) and for admin in showthread, it displays a line for an empty table
Reply With Quote
  #27  
Old 08-14-2008, 04:23 AM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lionel,

This hack doesn't use any bitfield. I don't know why you get that error. For your second error, I think it is because the product didn't finish installing.
Reply With Quote
  #28  
Old 08-14-2008, 04:47 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had disabled it when you had made the thread

The glitch stopped with the new Xml file

not tested it yet though
Reply With Quote
  #29  
Old 08-14-2008, 11:27 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moya View Post
Hi Lionel,

This hack doesn't use any bitfield. I don't know why you get that error. For your second error, I think it is because the product didn't finish installing.
hummm I installed it 4 times.
I know it does not use bitfields. That is getting me puzzled also.
Reply With Quote
  #30  
Old 08-14-2008, 03:08 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have the list of hacks that are currently installed on your board?
Reply With Quote
  #31  
Old 08-14-2008, 03:16 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I managed to get it to work. I fixed the line in showthread by closing all the <table within each if condition. instead of table on top and at the end ... so of course if you get nothing then you get a thin line for table, at least in FF

Only that bitfields error .... but hey it works. Thanks.
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 02:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07111 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
  • (2)bbcode_php
  • (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
  • (4)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