![]() |
[AddOn] Useful Additions For Quickreply (and normal reply page)
HACK: [AddOn] Useful Additions to QuickReply box & Normal Reply page
BY: KuraFire [www.kurafire.com] REQUESTED BY: My left brainhalf. *gives credit* DESCRIPTION: Puts several small additions to the QuickReply box, as well as some to the normal Reply page. DIFFICULTY: Medium INSTALL-TIME: 10-15 minutes + time for FireFly/Chen's QuickReply box if you haven't installed that yet STEPS: 7 !! NOTE: instructions updated on 22:19 CET* - make sure to clear your cache and re-download if you downloaded it already! (* = see edit of this post timestamp for your own time) EXTENDED DESCRIPTION: What this hack do is simple: it adds a Signature checkbox, E-mail notification checkbox, and a Return-to dropdown box to your Quick Reply box (hack by FireFly). For Admins and Mods, it also adds two checkboxes: Close thread, and Stick thread (so that you can stick/unstick & close/open threads when you make a reply). On the normal Reply page, it adds the same stuff minus Signature and E-mail checkboxes, of course (as they are already there :p). Files to hack: newreply.php, showthread.php Templates to mod: showthread_replybox*, newreply, newpost_attachment Instructions are in the Attachment :) |
Screenshot:
NOTE: the Close Thread and Stick Thread boxes are only visible to Admins & Mods!! |
Wohooo !
It gets released Cheers KuraFire :) To use your addon, should I just : 1. outright remove Tecks quick reply with close 2. install fireflys quick reply 3. install your add-ons ? |
Yeah, that'd be best cos I have no idea how Teck did his quickreply hack, so it's probably not compatible with my add-on to FireFly's hack.
In fact, I'm 99% sure that it's incompatible. So Install FireFly's instead ^_^ |
Ok
Thanks for the quick answer. Will do. One other question, can you possibly incorporate you add-ons to editpost as well ? |
uhm, good idea :)
I'll update the hack later so that it incorporates that (and I'll update the zipfile in the attachment) :) thx 4 tip ^_^ |
Kura, I can't extract the files from the RAR archive (and I've got WinRAR). Could you please just post the text files? Thanks! :)
|
Update your WinRAR to the latest version
|
Sweet
Ive now un-installed Tecks and installed Firefly's Quick question though. Your instructions say : PHP Code:
PHP Code:
Do you mean replace both instances of : <td bgcolor="{secondaltcolor}" ? |
Nice hack buddy :)
Thanks for releasing - miSt |
can someone post the file has a txt file? :p
|
The RAR has text files inside. :)
But here you go, anyway. Also, there are a couple of small fixes in there for the signature checked option and a parse error fix. I had to add some extra code to get the signature box to be checked if you had a signature in your options and not checked if you don't. |
KuraFire, in step 7, you forgot to add a ; at the end of the line. I got a parse error, but all is well now. ;)
Your code: PHP Code:
PHP Code:
|
Thanks, Boofo. I shall be installing it soon ^^;
|
You're very welcome. Let me know how it goes. ;)
|
Quote:
Boofo: I deliberately made it _not_ to check on whether you had a signature or not, to have it auto-checked or not. I *Hate* signatures for each post, I disabled sigs for 80% on my board (you really simply have to put effort into it if you want your sig to show more than once in a thread) and I would rather see _more_ boards use sigs off by default. I also hate it that vb.org has sigs on if you use quickreply. It's yucky and hugely annoying (esp. for ppl on slow connections like me) v-net: ack, yeah, I couldn't remember what the original template was (I overwrite my vB-Default templates instead of add my own for my style) but that's what I had. Yeah, you have to replace both instances in that case :) I'll update the hack instructions as well on that, tomorrow :) |
s/tomorrow/2 minutes ago/
Yes, I updated the install file (attachment in first post) Make sure to clean your cache before you re-download! :) |
Quote:
No biggie. It jumped right out at me, easy to fix. ;) Quote:
Great hack, though. Nice touch. ;) |
On the second step I don't find
Code:
<tr bgcolor="{secondaltcolor}"> |
I should make a hack that gives you the option "only display user's sigs once per threadpage" I think....
cos I wanna see them, but only -ONCE- ffs :) |
You could also make this for new threads. Like you can make a thread sticky or close it or even both. Just a suggestion.
|
great hack nice job one question return to: forum forumhome doesnt want to work any ideas???
Also I get this from database Database error in vBulletin 2.2.9: Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1043104125',last poster='admin',sticky='0',open='1' WHERE forumid IN (28,37,-1) mysql error: Unknown column 'sticky' in 'field list' mysql error number: 1054 Date: Monday 20th of January 2003 05:08:45 PM Script: http://www.polskieforum.com/forum/forum/newreply.php Referer: http://www.polskieforum.com/forum/sh...p?postid=25366 the script its not located where its says to many /forum the strip should be http://www.polskieforum.com/forum/newreply.php[/url] any ideas |
gohanssj2: I can, but I'm not gonna.
PiotrasG: erm, wtf?!?!?! How the h*** do you not have a sticky column?! o_O |
i get the same thing
|
I installed it and it works fine for me.
|
i fixed it, it was this step:
Next, a little bit below this, you will find _TWO_ occurences of: addslashes($postusername)."' WHERE REPLACE BOTH WITH: addslashes($postusername)."'$modbit WHERE I accidently skipped one. Nice hack :) |
Quote:
also for this step Next, a little bit below this, you will find _TWO_ occurences of: addslashes($postusername)."' WHERE REPLACE BOTH WITH: addslashes($postusername)."'$modbit WHERE I did that |
Quote:
don't know if it works on 2.2.9 though (last post says not, but I didn't check) - djr |
KuraFire, I think a sticky for a new thread might not be a bad idea, but a close thread option for a new thread is ridiculous. Why would you want to close a thread you are just opening? LOL You have to be really bored to do that one. :)
|
Nice Hack
Thanks |
Quote:
I do it sometimes, you know sometimes I make rule threads for the forum. And I close them for new replies. |
Quote:
|
Quote:
|
Quote:
|
hmm the rar file is corrupt ?
|
I downloaded it and it unpacked fine. But I am also using the latest version of WinRAR, so that might make a difference.
|
i get
Quote:
|
On the first page some one posted a .zip version of it.
|
|
in 2.2.9 there are two occurrances of:
// redirect if ($visible) { in newreply.php which occurrance do I replace? the first or the second..with your new code??? thanks |
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|