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.
alright i got a problem with showthread.php in 2.2.6
first step says
1. In showthread.php find this bit of code:
// ##################################################
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}
----------------------
my showthread shows
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
---------------------------------
but not the rest......the other part is in an entirely different place.
Well - it could be because of any of a number of hacks you have previously installed. To make it easier to diagnose, post ALL the code, incuding what is between the first and last part - but put it in an attachment.
With a little more info, we may be able to help you make this work.
Nope...not even on a fresh install...I've put it away for now to look at it again later...but I think it's in the code hack not the original showthread code, is that right?
Anyways...I originally used another version of this hack as a basis for the idea and then wrote it my own way w/o modifying showthread.php...
There's the problem. That code is in the code that you add for Firefly's Quick Reply box. That is why it is not on a fresh install of vb. You will only find it after adding the Quick Reply Box code.
Quote:
Originally posted by dwh Nope...not even on a fresh install...I've put it away for now to look at it again later...but I think it's in the code hack not the original showthread code, is that right?
Anyways...I originally used another version of this hack as a basis for the idea and then wrote it my own way w/o modifying showthread.php...
to the template right after the <form> tag. That should work.
that worked great man thx, but I use like 54 smilie display for new thread/reply, and for my quickreply box that FAR too much, is there anyway to have a smaller pick of smiles? thx boofo