vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=187992

QHSF Private Thread
by Moya
13 Aug 2008 07:47

10 Attachment(s)
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add under


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 13 Aug 2008 07:49

Reserved for future information / planned features

RedeemedWarrior 13 Aug 2008 07:54

this sounds good :D

where are the files ;)

Moya 13 Aug 2008 07:59

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

Vegetrunks 13 Aug 2008 09:03

Good, I will try it.

KURTZ 13 Aug 2008 12:08

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 13 Aug 2008 14:00

so long moya ..... thanks

Moya 13 Aug 2008 16:25

Kurtz,

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

xorex 13 Aug 2008 18:11

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 13 Aug 2008 18:15

Hi xorex,

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

xorex 13 Aug 2008 18:26

1 Attachment(s)
HI Moya

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

Thanx work fine @! :up::up:

+ russian translate attached update first post please ! ;)

Moya 13 Aug 2008 18:39

I can't upload anymore. The system is saying that I have reached maximum 10 files

xorex 13 Aug 2008 18:43

...... 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 ?

Moya 13 Aug 2008 18:46

Hmmm I don't have that error on my site. I will check it again tonight.

xorex 13 Aug 2008 18:56

I tried to load this hack on a pure test forum a mistake also exists


All times are GMT. The time now is 16:50.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.