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.
For some reason it is not working for me, most likely I did something wrong but have no idea what is going on. Also I have 2.3.3, does that make a difference? I used 2.3.3
Also what is the install button do? Please help
The install button shows that you've installed the hack, without actually installing it for you.
The install button shows that you've installed the hack, without actually installing it for you.
Bummer lol. I still havent got it to work yet. If anyone can help me out that would be great. I am on AOL Instant Messenger a lot and my screen name is Silveradon20z If you can help me out please IM me. Thanks
As for the install button, it only adds a record to your User CP that you installed this hack, so you can use your CP to check back to hack threads for updates.
I have been hearing of a compatibility issue with 2.3.2. and Chen's quick reply box. I believe there is a new alternative Quick Reply that involves no Hacking. Try Mist's Hackless Quick Reply Box
gr8 hack, got it installed and working, but just a question
when thy reply VIA Quick reply, there signature does show up, have i installed it wrong, or?
You can add the option to the quick reply template, but with the original hack, the user will have to have signature included by default selected in their control panel.
Everybody is right, this hack doesn't work in 2.3.3 even with the changes in the update.
Search in showthread.php for
PHP Code:
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
if ($noshutdownfunc) {
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}
if ($bbuserinfo[cookieuser]) {
set_bbarraycookie('threadview', $threadid, time());
}
replace it with
PHP Code:
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
show_nopermission();
}
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')."\";");
}
if ($noshutdownfunc) {
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}
if ($bbuserinfo[cookieuser]) {
set_bbarraycookie('threadview', $threadid, time());
}
Than add the template und make the showthread template edit and it works..