Version: 1.00, by Admin (Coder)
Developer Last Online: Nov 2024
Version: 2.3.x
Rating:
Released: 01-28-2002
Last Update: Never
Installs: 1206
No support by the author.
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:
If you want users who have the Use Email Notification option ON, to automatically subscribe to threads they reply to with this hack, see this post.
If you want to add an option for each user to turn this feature on and off, please see this post.
If you want smilies in your quick reply box please see this post.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I installed everything exactly as it was supposed to be, but when I try and reply using the Quick Reply Box I get a "no thread was specified" error message.
Well... if you installed everything exactly as you were supposed to, you should be flying... but the error message sounds like something you'd get if this; " <input type="hidden" name="threadid" value="$threadid">" was omitted from the "showthread_replybox" template.
how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....
...but it doesn't do the job sometimes. Wonder where I'm going wrong?
Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"... I'll go hunting for a reason.
Originally posted by desi how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....
could someone pls explain me what to do now
cheers
The hack works fine in 2.2.5. The code changes between the latest versions are often not very big, and thus most hacks work for 2.2.5 or 2.2.6 even though they were made for 2.2.1, for example.
Originally posted by rebirth can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?
Basically, you need to include "<input type="checkbox" name="parseurl" value="yes" $parseurlchecked>" and "<input type="checkbox" name="signature" value="yes" $signaturechecked>" to the layout (and some text labels for the check boxes, obviously ) and add it to the "showthread_replybox"-template where you want them. Afterwards remove "<input type="hidden" name="parseurl" value="yes">" and
"<input type="hidden" name="signature" value="yes">" from the template.
Originally posted by James Cridland For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.
And the reason why we don't do this, kids, is because it then scrolls to the bottom of the page when you click on a thread to read, annoying the hell out of everyone.
Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"...
This is a valid point: we argue a lot on our board, and it's easy to post a reply without reading where the argument is going...
To make your reply box always appear at the END of the conversation (which will be at the beginning if you sort your posts the other way round!)... search for the following in the hack:
//Get total posts in this thread
$jrc_threadinfo=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE threadid='$threadid'");
//Check post order
if (!$postorder) {
// newest last page
$jrc_wherearewe=$jrc_threadinfo[posts]-($perpage*$pagenumber);
} else {
// oldest last page
$jrc_wherearewe=($perpage*$pagenumber)-$jrc_threadinfo[posts];
}
// print a reply box on page containing last post
if ($jrc_wherearewe<=0 or (!isset($pagenumber) and ($jrc_threadinfo[posts]<$perpage))) {