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
  #12  
Old 08-13-2008, 04:26 PM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI Moya

Ooops !! upload functions_privatethread.php in forum root and it work fine

Thanx work fine @! :up::up:

+ russian translate attached update first post please !
Reply With Quote
  #13  
Old 08-13-2008, 04:39 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't upload anymore. The system is saying that I have reached maximum 10 files
Reply With Quote
  #14  
Old 08-13-2008, 04:43 PM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...... i have error in thread of forum where this hack disabled

Quote:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\******\showthread.php(2157) : eval()'d code on line 377
ideas ?
Reply With Quote
  #15  
Old 08-13-2008, 04:46 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm I don't have that error on my site. I will check it again tonight.
Reply With Quote
  #16  
Old 08-13-2008, 04:56 PM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to load this hack on a pure test forum a mistake also exists
Reply With Quote
  #17  
Old 08-13-2008, 05:17 PM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [pathtoforum]/showthread.php(2153) : eval()'d code on line 74
Reply With Quote
  #18  
Old 08-13-2008, 06:16 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedeemedWarrior View Post
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [pathtoforum]/showthread.php(2153) : eval()'d code on line 74
Do you have the product enabled? I created and viewed a thread here without any problem

http://www.christfirstrpg.co.uk/foru...7711#post47711
Reply With Quote
  #19  
Old 08-13-2008, 07:09 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem. I forgot to close the if statement in the template.

Please download and reinstall
Reply With Quote
  #20  
Old 08-13-2008, 10:21 PM
bw1 bw1 is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am blind.
Where?s the on/off switch?

___________
FOUND
Reply With Quote
  #21  
Old 08-13-2008, 11:37 PM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When a user without access visits the post link a message appears: Invalid Thread specified. If you followed a valid link, please notify the administrator

Is there anyway to change this message specific for this hack? This message seems as if the thread does not exist. 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 11:32 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.09348 seconds
  • Memory Usage 2,308KB
  • 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
  • (4)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