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 noticed the reply box showed up.. but only in one forum, and its at the top of the thread instead of at the bottom.. also what sucks is it showed up in a forum i keep locked.. does anyone know why?/
I installed this hack, works perfect, my thanks for that. problem is the quickreply box is at the top instead of at the bottom of the thread when I enter it, can someone tell me where to change the code to put it at the bottom instead of the top?
thanks
....mauisun
Originally posted by mauisun I installed this hack, works perfect, my thanks for that. problem is the quickreply box is at the top instead of at the bottom of the thread when I enter it, can someone tell me where to change the code to put it at the bottom instead of the top?
thanks
....mauisun
totally right Boofo, thanks again bro, Man i apologize for not reading the whole friggin thread before asking for help, stupid newbie dumb pet trick! I should have known better then to fall into that trap. won't happen again. I appreciate the help bro
.....mauisun
Okay, pure nightmare here. In showthread.php I have to find this code:
PHP 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; }
But in mine (2.2.6), it's smaller:
PHP Code:
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
So I replace all that with this?
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 ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") { $pagenumber=1; }
Then I create a new template called showthread_replybox. Do I add the same code to this template?
Then the instructions say:
Quote:
3. In the "showthread" template add $replybox right after the following: // $pagenav
Does it mean the showthread_replybox template or the major Show Thread Templates > Expand > showthread ??