The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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:
Show Your Support
|
Comments |
#512
|
|||
|
|||
Never mind all sorted now and ive marked as installed! Great hack thanks!
2600 |
#513
|
||||
|
||||
I've got a modification that I wrote for my forums that allows users to turn the quick reply box on/off in their profile. If anyone's interesting, let me know, because otherwise I won't bother .
|
#514
|
|||
|
|||
I'm very interesting, and also very interested in this hack.
(Actually, I'm quite boring.) |
#515
|
||||
|
||||
I want to be mature about this so...gimme, gimme, gimme, pweez!
Quote:
|
#516
|
||||
|
||||
Since I already have two requests...
First, run this database query: Code:
ALTER TABLE user ADD showquickreply tinyint(1) DEFAULT '1' not null AFTER nosessionhash That will set the default to show the quick reply - changing "DEFAULT '1'" to "DEFAULT '0'" should set the default to no display. Make a new template "modifyoptions_showquickreply" with the following contents: Code:
<tr> <td bgcolor="#13486D"><normalfont><b>Show Quick Reply Box?</b></normalfont><br> <smallfont>Disabling this option will hide the quick reply boxes at the end of each thread. You can still reply by clicking on "Post Reply".</smallfont></td> <td bgcolor="#13486D"><normalfont> <input type="radio" name="showquickreply" value="yes" $showquickreplychecked> yes <input type="radio" name="showquickreply" value="no" $showquickreplynotchecked> no </normalfont></td> </tr> PHP Code:
PHP Code:
PHP Code:
PHP Code:
In member.php, after: PHP Code:
PHP Code:
PHP Code:
Code:
,showquickreply='$showquickreply' PHP Code:
Add: PHP Code:
Edit the modifyoptions template. After the following code: Code:
<!-- *** --> <tr> <td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF"><b>Thread View Options</b></normalfont></td> </tr> <!-- *** --> Code:
$showquickreplyoption |
#517
|
|||
|
|||
vB 2.2.6
Been trying to add the smilies to this with no luck... I tried $vbcode_smilies as in the new reply,etc.. but it is not working. Anyone know the code? Thanks, |
#518
|
||||
|
||||
To add smilies to the quick reply box:
Add this line: PHP Code:
PHP Code:
PHP Code:
|
#519
|
|||
|
|||
Parse error: parse error, unexpected '}' in c:\programmi\easyphp\www\upload\showthread.php on line 94
|
#520
|
||||
|
||||
Post the lines 89 to 99 here and let us look at it.
Quote:
|
#521
|
|||
|
|||
Quote:
|
#522
|
||||
|
||||
Yes. Take the 5 lines above it to the 5 lines below the error and post all of those.
Quote:
|
#523
|
|||
|
|||
$post=$DB_site->query_first("
SELECT post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')." attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter ".iif($avatarenabled,",avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline","")." FROM post ".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')." LEFT JOIN user ON user.userid=post.userid LEFT JOIN userfield ON userfield.userid=user.userid ".iif ($avatarenabled,"LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid","")." LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid WHERE post.postid = '$postid' "); if (!$getperms['cangetattachment']) { $viewattachedimages=0; } $postbits = getpostbit($post); updateuserforum($thread['forumid']); eval("dooutput(\"".gettemplate("showpost")."\");") ; exit; } |
#524
|
||||
|
||||
Which line is the line with the error in it (line 94, I think)?
|
#525
|
|||
|
|||
LEFT JOIN customavatar ON customavatar.userid=user.userid","")."
|
#526
|
||||
|
||||
Try changing this:
PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|