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 |
#62
|
|||
|
|||
I just followed the instructions is all. Mind ya I have installed
tons of hacks "and even modified some" so maybe it is my version 2.03 or mysql "which I doubt" but I`ll work on scripting it later. |
#63
|
||||
|
||||
JJR512 gave info above about how to add a Spoiler code, but it was pretty vague (at least to me, I'm no vB guru yet). Here's step-by-step instructions:
1. Go to the Admin Control Panel. 2. Click 'Modify' under the 'Styles' item on the left navigation bar. 3. Click Fonts/Colors/etc. 4. In the Head Insert box, scroll down to the bottom and insert this line above </style> .spoiler {color: white; background: white} 5. Click Save Changes at the bottom of the window. 6. Click "Add" under the 'Custom BB codes' item on the left navigation bar. 7. Fill in these entries: vB Code tag: spoiler vB Code replacement: <font class=spoiler>{param}</font> vB Code example: Highlight this text to see the answer: [spoiler]Luke Skywalker is Darth Vader's son.[/spoiler] vB Code explanation: The [spoiler] tag allows you to place text in your message that is unreadable, unless someone highlites it. This makes viewing the text a deliberate effort. This is for posting messages about movies or other things where you might not wish to give away plot points to those that haven't seen it yet. Use { option } ? Yes ( ) No (*) 8. Click Save. For a fancier vB Code replacement, put this: <BLOCKQUOTE><FONT face="verdana,arial,helvetica" size="1" ><B>Spoiler Alert!</B> (highlight to read)</FONT><HR><FONT class="spoiler">{param}</FONT><HR></BLOCKQUOTE> |
#64
|
|||
|
|||
Quote:
same problem as above, i installed topics feature... Please tell me how to fix it if i installed topics feature from PHPportal..Thanks |
#65
|
|||
|
|||
from long time i was tring to install this hack but I face many problem .
and now i have new one it is like ( foryou) & (LangTuDaTinh) and we are waiting for the anser from any body to help us > please . |
#66
|
|||
|
|||
:noid: :noid: :noid: :noid: :noid:
i am wating for help any body please .. Database error in vBulletin: 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 = '21226' mysql error: Table '7loocom_as :noid: .ratetotal' doesn't exist mysql error number: 1146 Date: Friday 25th of January 2002 01:39:01 PM Script: /vb/showthread.php?s=&action=showpost&postid=21226 Referer: |
#67
|
|||
|
|||
:cry: :cry:
no support?? |
#68
|
|||
|
|||
This is a great hack.. Only problem Im having after installing is when replying to a message and attaching an image the file uploads and everything post but it never redirects or changes screens. It stays on the page where you insert your text. Anybody know what the problem might be? This is without checking the hidden option. Other than that everything is working great!! Thanks
|
#69
|
|||
|
|||
anybody??
|
#70
|
||||
|
||||
Can someone with some knowledge please tell me if I'm correct in thinking that instead of:
functions.php Code:
if (!$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit")."\";"); } else { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } Code:
if ($ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } elseif ($hidden==1) { eval("\$retval = \"".gettemplate("postbit_userhidden")."\";"); } else { eval("\$retval = \"".gettemplate("postbit")."\";"); } Code:
if (!$ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit")."\";"); } else { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } Code:
if ($ignore[$post[userid]]) { eval("\$retval = \"".gettemplate("postbit_ignore")."\";"); } elseif ($hidden==1) { eval("\$retval = \"".gettemplate("postbit_userhidden")."\";"); } else { eval("\$retval = \"".gettemplate($templatename)."\";"); } |
#71
|
|||
|
|||
ummmmmmm does this hack work on 2.2.4 ????
Be nice to know ?!?!?!? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|