The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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 PHP Code:
PHP Code:
PHP Code:
PHP Code:
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. Show Your Support
|
Comments |
#32
|
||||
|
||||
The script works great when i post a new thread but when i try to post a new reply it comes up with this error:
Database error in vBulletin: Invalid SQL: SELECT IF(post.userid=0,post.username,user.username) AS username, post.pagetext,post.allowsmilie,post.userid FROM post post.pagetext,post.allowsmilie,post.userid,post.hi dden FROM post LEFT JOIN user ON user.userid=post.userid WHERE post.visible=1 AND post.threadid='2' ORDER BY dateline DESC mysql error: You have an error in your SQL syntax near '.pagetext,post.allowsmilie,post.userid,post.hidde n FROM post LEFT JOIN u' at line 4 mysql error number: 1064 Any ideas on how to fix it ? |
#33
|
||||
|
||||
Find
post.pagetext,post.allowsmilie,post.userid FROM post and delete that whole line. The instructions are fixed, sorry |
#34
|
||||
|
||||
works like a charm now
excellent hack |
#35
|
|||
|
|||
What about allowing a user to make only part of the post hidden, inside a [hidden] tag or someting.
If you can't do that, could there be an option for the user to specify why they hid the post? |
#36
|
||||
|
||||
Nice hack, very useful for the anime forum that I help on.
|
#37
|
||||
|
||||
Ok, the users gave me this idea, like when you select the option to use a poll, have it take you to another page where you can specify what is in the post, like what the spoiler is about, so you can specify the reason the post it hidden in detail.
|
#38
|
|||
|
|||
This person has specified this post as Hidden. It may contain some type of spoiler or less-than-family-friendly language, among other things. To view this post click [here]
when i click the "here" link, i get another window which says... This person has specified this post as Hidden. It may contain some type of spoiler or less-than-family-friendly language, among other things. To view this post click [here] the same window!!lol any ideas? |
#39
|
|||
|
|||
^bump^
|
#40
|
|||
|
|||
^bump^
|
#41
|
|||
|
|||
i have not installed it all all. how do i install it from scratch? your direction in the first post are for upgrade instructions? are there any instructions for 1st time installation of this hack?
thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|