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.
Ok, I have it working for me (Administrator) but everyone else says they don't see it? I tried the fix that was posted back around page 3 and it didn't help. I seem to be the only one that can see the quick reply box? Any suggestions? I double checked the showthread file and my changes are in there and the part of the code where it checks for ismoderator, is commented out.
I am so grateful/thankful for this hack, Chen. I just wish all of your instructions, including adding smiles would be in one file, to make it easier for everyone to not have to look around all over the thread to get instructions. Good work! Thanks again.
I like when little things do big things.
Quote:
Originally posted by FireFly JTMON - Add this line:
Code:
$clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:
$textareacols = gettextareawidth();
then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:
Originally posted by !!freebsddude I am so grateful/thankful for this hack, Chen. I just wish all of your instructions, including adding smiles would be in one file, to make it easier for everyone to not have to look around all over the thread to get instructions. Good work! Thanks again.
I like when little things do big things.
The reason it's not in the installation file is that it's an extension to the hack a user requested, and not part of the hack.
And thank you for the kudos.
Originally posted by FireFly JTMON - Add this line:
Code:
$clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:
$textareacols = gettextareawidth();
then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it
Sorry, for the benefit of dumb folks like us, could you tell us precisely where to put $clickysmilies in the showthread_quickreply template please. Unfortunately, I can't find any of your replies that talk about this.
Ok... I added the bit that made closed forums closed even with the quick reply... I got a parse error... I could not find the code that was posted in the reply... so i found one that was very similar (I couldn't see a diff) that code was
Code:
if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
$replybox='';
} elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
$replybox='';
} elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
$replybox='';
} else {
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}
{
I edited that with the code I was asked to edit... Could someone please help me?