I have updated this hack. It now hides hidden posts during replying, when they are shown below the newreply screen for review.
See the upgrade instructions below.
-------------------------------
Just for the record this IS NOT Lockdown. This allows the user to select an option when posting/editing a post that will make his post display a message that it is hidden, and to view it, click here. It's great for spoilers, off-color language, or anything else that you would want the viewer to make a conscious decision to view it.
Idea by amykhar.
Screenshot is here.
For version: 2.0.3
Files needed: install_hiddenposts.php
Files to edit: newthread.php, newreply.php, editpost.php, showthread.php, admin/functions.php
Templates to edit/create: newthread, newreply, editpost, postbit_hidden
Instructions are in the zip in a file named INSTALL.
Upgrading Instructions: To upgrade from the previous version of this hack (which didn't hide posts when replying), do the following:
In newreply.php, find
Right below that, add
Then find
and replace that with
And that's it. 
Please DO NOT email, PM, IM, or otherwise contact me off this board about this hack. Post in this thread.
Feedback appreciated. Enjoy!
This hack is ©2001 Kevin Schumacher and may not be redistributed, edited or not, without this copyright notice attached.
See the upgrade instructions below.
-------------------------------
Just for the record this IS NOT Lockdown. This allows the user to select an option when posting/editing a post that will make his post display a message that it is hidden, and to view it, click here. It's great for spoilers, off-color language, or anything else that you would want the viewer to make a conscious decision to view it.
Idea by amykhar.
Screenshot is here.
For version: 2.0.3
Files needed: install_hiddenposts.php
Files to edit: newthread.php, newreply.php, editpost.php, showthread.php, admin/functions.php
Templates to edit/create: newthread, newreply, editpost, postbit_hidden
Instructions are in the zip in a file named INSTALL.
Upgrading Instructions: To upgrade from the previous version of this hack (which didn't hide posts when replying), do the following:
In newreply.php, find
PHP Code:
if ($ignore[$post[userid]]) {
$reviewmessage = $ignoreduser;
PHP Code:
} elseif ($post[hidden]) {
eval("\$hiddenpost = \"".gettemplate("threadreviewbit_hidden")."\";");
$reviewmessage = $hiddenpost;
PHP Code:
post.pagetext,post.allowsmilie,post.userid FROM post
PHP Code:
post.pagetext,post.allowsmilie,post.userid,post.hidden FROM post

Please DO NOT email, PM, IM, or otherwise contact me off this board about this hack. Post in this thread.
Feedback appreciated. Enjoy!
This hack is ©2001 Kevin Schumacher and may not be redistributed, edited or not, without this copyright notice attached.
Comment