The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
Here's an easy one, it barely took 4 minutes to do. :china:
This hack will add a quick replying box at the bottom of all threads, only if the user has permission to reply, so when you need to reply to something real quickly you don't need to click the Post Reply button and wait for the page to load. Instructions are in the attached .txt file, and if you want a demo... just look below. ![]() NOTE: For the vB 2.3.2 version please see this post. Extras:
Show Your Support
|
Comments |
#77
|
||||
|
||||
![]()
Hmm, the smilie part isn't working for some reason, where do I put those two lines of script in the showthread_replybox? Do they go after the <form blah blah blah> or after the closing </form> tag?
|
#78
|
|||
|
|||
![]()
i put mine after the <form>
|
#79
|
||||
|
||||
![]()
Ok, somethings up here. I just replied to this thread twice using the quick reply and it's not showing in the thread at all. This time I am trying the normal reply.
Where is there a plain <form> tag? I see the <form enctype etc> and </form> tags and that's it. |
#80
|
|||
|
|||
![]()
Here is my code JTMON hope this helps.
Code:
<script language="javascript"> <!-- var postmaxchars = $postmaxchars; function validate(theform) { if (theform.message.value=="") { alert("Please complete the message field."); return false; } if (postmaxchars != 0) { if (theform.message.value.length > $postmaxchars) { alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long."); return false; } else { return true; } } else { return true; } } function checklength(theform) { if (postmaxchars != 0) { message = "\nThe maximum permitted length is $postmaxchars characters."; } else { message = ""; } alert("Your message is "+theform.message.value.length+" characters long."+message); } //--> </script> <form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)"> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="action" value="postreply"> <input type="hidden" name="threadid" value="$threadid"> <input type="hidden" name="title" value=""> <input type="hidden" name="iconid" value="0"> <input type="hidden" name="parseurl" value="yes"> <input type="hidden" name="email" value=""> <input type="hidden" name="disablesmilies" value=""> <input type="hidden" name="closethread" value=""> <input type="hidden" name="hiddenreply" value=""> <input type="hidden" name="signature" value="yes"> <input type="hidden" name="rating" value="0"> <script language="Javascript" src="vbcode.js"></script> <script language="Javascript" src="vbcode_language.js"></script> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr> <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td> </tr> <tr> <td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont>$clickysmilies</td> <td bgcolor="{secondaltcolor}"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea><br> <smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td> </tr> </table> </td> </tr> </table> </td></tr></table> <br> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td align="center"><normalfont> <input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2"> <input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3"> </normalfont></td> </tr> </table> </form> |
#81
|
||||
|
||||
![]()
Didn't work-time to recheck showthread. Mods-again I replied using the quick reply and it did not post!
|
#82
|
||||
|
||||
![]()
Working-It helps when you upload the new showthread to the proper directory :stupid:
|
#83
|
|||
|
|||
![]()
Line 437 to 441
Code:
if ($thread[open]) { $replyclose="{replyimage}"; } else { $replyclose="{closedthreadimage}"; } Line 437 to 445 Code:
if ($thread[open]) { eval("\$replyopenclosed = \"".gettemplate("showthread_replyopen")."\";"); } else { if (ismoderator($thread[forumid],'canopenclose')) { eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosedmod")."\";"); } else { eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosed")."\";"); } } |
#84
|
||||
|
||||
![]() Quote:
![]() |
#85
|
|||
|
|||
![]()
that goes in the showthread file m8, just posted it for reference.
|
#86
|
|||
|
|||
![]()
Having a few problems since I installed it
Bit of a strange one and it hasnt happened to me yet, but some users after making a quick post cant see any replies. It has happened to about 4 or 5 users, I am trying to get more information out of them at the moment, but any ideas what may be causing this? Help if I included the image http://f4g.net/images/f4g.jpg |
#87
|
||||
|
||||
![]()
Haven't seen that one yet, but I have seen where they can't see THEIR post after using the QRB (Quick Reply Box) to reply. It happened to me here about 3-4 times.
|
#88
|
||||
|
||||
![]()
JTMON, that's odd. I'm just replying using it and it's fine. I'll look into it.
|
#89
|
||||
|
||||
![]()
From what I can tell it's intermittent at best-I am posting this using the quick reply
|
#90
|
||||
|
||||
![]()
It's actually fixed I think, the problem was with an opened <form> tag I accidentally caused somewhere.
![]() |
#91
|
||||
|
||||
![]()
Cool! Way to go!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|