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 |
#572
|
||||
|
||||
Okay, tripped slightly.
This is what I've done: 1) In showthread.php, added the necessary code. 2) Created a new template, with the name, "showthread_replybox" and added the same code in there. 3) Went to Show Thread Templates > Expand > showthread and added $replybox right after $pagenav. 4) Then I uploaded showthread.php. The result is zilch, nada, zip. I know I've screwed up, just tell me where. |
#573
|
||||
|
||||
In the showthread template, the $replybox goes after the SECOND $pagenav.
Quote:
|
#574
|
||||
|
||||
Still doesn't work though.....
|
#575
|
||||
|
||||
Ok, let's help you get this figured out. First, let's have you go through the showthread.php part and double check that you have added everything you are supposed to. Check that out and let me know what you find out. This is one of the easiest hacks to install so it must be messed up somewhere.
And just to be sure...make sure you add this: Code:
$replybox Code:
</tr> </table> <!-- first unread and next/prev --> Quote:
|
#576
|
||||
|
||||
I PMed you my showthread template. Originally I put it here:
PHP Code:
PHP Code:
|
#577
|
||||
|
||||
I tryed to install it but nothing appeared can I get some help?
|
#578
|
||||
|
||||
n/m I got it.
|
#579
|
||||
|
||||
Good for you.
Where am I going wong?? |
#580
|
||||
|
||||
Whimper....
I got vbhacker now. Can I use that to do this? It doesn't show up though. Would I have to reupload or something. Firefly, where for art thou and all that malarkey. |
#581
|
|||
|
|||
Great hack Firefly .
Just another thought, how do I use graphic buttons for the Reply and Reset forms? I'd like to change it for the quick reply and the usual reply. Cheers. |
#582
|
||||
|
||||
I can't work out what is supposed to go in the showthread_replybox template. FireFly's txt file looks too weird. Please check out the screenshot to see what I'm seeing.
|
#583
|
||||
|
||||
When I actually download the text file and open it in NotePad, I see this:
Quote:
|
#584
|
|||
|
|||
Looking at the screenshot you've sent in, it looks like you've cut and paste too much of the text from his readme. Check carefully that you've only selected the bits he has indicated. I've just introduced this hack and it works perfectly and the text was pretty straight forward.
It maybe as simple as you've forgotten an { or something like that, but from what I see you've copied in a large section of the text including his actual comments. |
#585
|
|||
|
|||
I just submitted an answer just as you posted that.
Anyway, that definitely isn't right. Looks like you had a corrupted download or something. Try it again. Like I say I know it works because I only downloaded it myself 30 mins ago. The text file should look like this at the beginning (this isn't all of it btw): Code:
// ################################################## // ################ Quick Reply Box ################# // ########### Hack version 1.0 (01.29.02) ########## // ############## for vBulletin v2.2.2 ############## // ################################################## // ########### by Chen 'FireFly' Avinadav ########### // ########## (chen.avinadav@vbulletin.com) ######### // ################################################## 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; } // ################################################## And replace it with the following: // ################################################## if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) { show_nopermission(); |
#586
|
||||
|
||||
In my showthread.php I have ntered this code in the right place:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|