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 |
#52
|
|||
|
|||
This hack works great on 2.2.0.. ^^
But a few request/suggestion, Is there a way to make it where 1) Unregistered users cant view them 2) Only specified members can view them 3) Only specified user groups can/or cant view them That would be awesoem if it could have this stuff... if possible.. lol -Syphin |
#53
|
||||
|
||||
Syphin how did you get it to work on 2.20 all I get is errors when I try to load it up in 2.20
Invalid SQL: SELECT post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath, attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter ,avatar.avatarpath, user.avatarrevision > 0 OR NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline FROM post LEFT JOIN icon ON icon.iconid=post.iconid LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e LEFT JOIN userfield ON userfield.userid=user.userid LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid WHERE post.postid = '35451' mysql error: Table 'csdatabase.ratetotal' doesn't exist mysql error number: 1146 Date: Monday 05th of November 2001 09:50:50 PM Script: http://www.customerssuck.com/forums/...t&postid=35451 |
#54
|
|||
|
|||
Maybe an addition to this hack? i want to know who view this hidden text, is that possible?
|
#55
|
|||
|
|||
im havin probs with gettin this 2 work with 2.2.0 aswel, n e body shed n e light on how to get it goin or how ya did it?
thanks |
#56
|
||||
|
||||
Butty, it worked fine for me on 2.2 with no modifications necessary.
What is it doing wrong on your board? Amy |
#57
|
|||
|
|||
Get Error ..any idea for help //
----------------- Database error in vBulletin 2.2.1: Invalid SQL: SELECT post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath, attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter ,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline FROM post LEFT JOIN icon ON icon.iconid=post.iconid LEFT JOIN user ON user.userid=post.userid,ratetotal,ratenum,allowrat e LEFT JOIN userfield ON userfield.userid=user.userid LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid WHERE post.postid = '44' mysql error: Table 'vb2.ratetotal' doesn't exist mysql error number: 1146 Date: Monday 17th of December 2001 02:12:21 AM Script: http://localhost/vb2.1/vb2.1/showthr...post&postid=44 Referer: please help me |
#58
|
|||
|
|||
I have tried and tried "well twice actually" and it just won`t work.
Like I told the peeps at the board, of all the hacks I have installed..this is the only one I cannot get to work. Me wonders why come? Maybe it`s just that on some servers it won`t work right? I have 2.03 so any ideas why it doesn`t work? Please help.... |
#59
|
|||
|
|||
I guess it just wasn`t meant to work for me
I just redid it again and it still doesn`t work. Thanks for the help anyway. Button look cool though. |
#60
|
|||
|
|||
I just looked over this and I think the problem is in functions.php.
You can click "hide" all you want but it does not hide anything. Since this isn`t being called up "postbit_userhidden , I suspect functions.php." Maybe the new instructions got messed up or whatever but it does not work now. Guess I was just too late getting the first file. Would be cool if someone could get a working model of this though. |
#61
|
||||
|
||||
i had it working in 2.2, I just now installed something, and I decided I would take it out..so....you might want to learn how to add the snippet of code as needed
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|