vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - QHSF Private Thread (https://vborg.vbsupport.ru/showthread.php?t=187992)

Moya 08-12-2008 10:00 PM

QHSF Private Thread
 
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 :D
  • 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.

Moya 08-13-2008 05:49 AM

Reserved for future information / planned features

RedeemedWarrior 08-13-2008 05:54 AM

this sounds good :D

where are the files ;)

Moya 08-13-2008 05:59 AM

:D I am a slow snail :D. I haven't work with releasing mod for awhile :D

Vegetrunks 08-13-2008 07:03 AM

Good, I will try it.

KURTZ 08-13-2008 10:08 AM

2 questions:

1) admins and mods are affected by this hack?
2) the name of the usergroups must be write only by name or also by the ID?

thx

*tagged

Barakat 08-13-2008 12:00 PM

so long moya ..... thanks

Moya 08-13-2008 02:25 PM

Kurtz,

1) Currently, this mod is set to allow Admins the privilege, not mods
2) It uses the usergroup title

xorex 08-13-2008 04:11 PM

Help ! :eek:

Quote:


Warning: include_once(./includes/functions_privatethread.php) [function.include-once]: failed to open stream: No such file or directory in [path]\forumdisplay.php(955) : eval()'d code on line 187

Warning: include_once() [function.include]: Failed opening './includes/functions_privatethread.php' for inclusion (include_path='.;C:\1\php\pear\') in [path]\forumdisplay.php(955) : eval()'d code on line 187

Fatal error: Call to undefined function private_thread_not_allowed() in C:*****\forumdisplay.php(955) : eval()'d code on line 188


Moya 08-13-2008 04:15 PM

Hi xorex,

Did you upload the file called function_privatethread.php to your includes directory?


All times are GMT. The time now is 07:21 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.01082 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete