View Full Version : Quick Reply Box (with Close/Open thread switch)
This hack will let your users post a Quick Reply, instead of going through the New Reply steps.
If you have permissions, it will show you a Close/Open Thread check box beside the Quick Reply. Also, the check box will show in New Thread, New Reply, New Post and Edit Post.
ESTIMATED INSTALL TIME: 10 minutes
REQUESTED BY: hellsatan (https://vborg.vbsupport.ru/showthread.php?postid=266624#post266624)
TESTED IN VERSION: 2.2.7
CREDITS: The hack includes one small code segment of FireFly's Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?s=&threadid=34597) related to user permissions.
(9 lines of code)
RELATED HACKS
Quick Delete Post (https://vborg.vbsupport.ru/showthread.php?s=&threadid=40523)
Quick Close/Open Thread (with reason) (https://vborg.vbsupport.ru/showthread.php?s=&threadid=40275)
You like this hack? Please click (https://vborg.vbsupport.ru/misc.php?s=&action=install&threadid=40380) on the Install button.
To download the latest version of this hack, click below:
A screenshot in Show Thread...
To view the Open/Close check box in New Reply for example, click here (https://vborg.vbsupport.ru/attachment.php?s=&postid=265748).
LightBringer
06-28-2002, 03:01 AM
Nakkid..is this compatible with the "Reason for Closed Thread" hack?
ya.. it is. the steps are identical, except the showthread.php changes. btw, i released v1.1 for 'Quick Close/Open Thread'.
LightBringer
06-28-2002, 03:07 AM
Originally posted by Nakkid
ya.. it is. the steps are identical, except the showthread.php changes. btw, i released v1.1 for 'Quick Close/Open Thread'.
forgive my ignorance..but uhh..where did you release v1.1 at?
LightBringer
06-28-2002, 03:39 AM
Nakkid,
How about some upgrade instructions for those of us who have already added the quick reply box? :)
Velocd
06-28-2002, 03:57 AM
Looks nice, although I sorta like the space of FireFly's quick reply. So I will just extract the quick close option on yours and apply it to his ;)
Once again, good job.
the idea was to have the close/open switch handy everywhere. i made this template because i like it smaller... :)
just a note for you.. firefly forgot to add his new template into $templatesused so that will add an extra query and also there are some code leftovers from his hacked board.
make sure you remove them from the template. ;)
Originally posted by LightBringer
Nakkid,
How about some upgrade instructions for those of us who have already added the quick reply box? :) the 2 hacks are totally different. there are present 9 lines of code from firefly's hack. i clearly mark them on the hacked code. also i included credits for that code segment. ;)
best way is to compare firefly's showthread.php and replybox template with mines. that's the only resemblance to the hack.
Bro_Joey_Gowdy
06-28-2002, 05:00 AM
Nice hack
let me know if everything was clear in the install steps and if it's working well, so others collegues here, know.
Chris M
06-28-2002, 11:31 AM
FireFly Modification for Quick Reply :
here (https://vborg.vbsupport.ru/attachment.php?s=&postid=266902)
^^ - That url downloads the attachment to Nakkid's post which has his Quick Reply Box in the style of FireFly's...
Satan
FireFly's style template for my hack (remove the space inside the bracketed variables):
LightBringer
06-28-2002, 01:17 PM
Originally posted by hellsatan
It sorta works...
I keep getting this though :
Satan
Hey Satan..what steps were you going through to produce that error?
you rock satan... :)
he helped me fix a little code bug in there, while checking the script.. i corrected the bug and updated the .txt file. :)
thank you for helping me help others ;)
now the hack is bug free. enjoy.
Chris M
06-28-2002, 08:38 PM
No problem:)
BTW : I recommend this hack to people - It rocks!:D
Satan
Gaz.t
06-29-2002, 03:17 PM
NOTE: Remove the spaces in front of each bracketed variable.
what is ment by this
Chris M
06-29-2002, 03:20 PM
Well...
For example, there are spaces in the template, such as :
{ tablebgcolor}
Just find each case of "{ ", and remove the space...
P.S. - Only do it for ones that start with "{ " and end with "}"...
Satan
Seifer
06-30-2002, 03:34 AM
I installed it just fine, and I like it pretty much, aside from the gobutton replacing the "Submit Reply"...Is there some way to make it so it's perhaps a different graphic button that I make, or just a regular "Submit Reply" button?
I'm not too good with PHP, I just follow instructions, so moddifying isn't such an easy task =P
mashby
06-30-2002, 09:05 AM
This hack was a long one, but if you follow the directions, it installs without a hitch. Excellent work and a VERY nice hack. Thank you! :D
Originally posted by Seifer
I installed it just fine, and I like it pretty much, aside from the gobutton replacing the "Submit Reply"...Is there some way to make it so it's perhaps a different graphic button that I make, or just a regular "Submit Reply" button?replace $gobutton with this:<input type="submit" class="bginput" name="submit" value="Submit" tabindex="2">change the value to whatever name you want to give it to your button.
GMeadows
07-25-2002, 09:49 AM
Bah...
I'm getting the following error:
Parse error: parse error in /usr/local/psa/home/vhosts/forum.com/httpdocs/newreply.php on line 312
Any tips?
Gary
if you get any parse errors, please read the information placed at the end in the instructions file.
a parse error is due only to code errors, while you modify or write it.
DrkFusion
07-25-2002, 05:28 PM
Nice work Nakkid, thanks for this mod
Drk
dssforum
08-24-2002, 07:51 PM
how can i change color of the hack it shows up green someone take a look if i did it correctly www.dssforum.com
dssforum
08-25-2002, 04:01 PM
ok i changed color now when i try to edit a a thread i get : parse error in /var/www/html/forum/editpost.php on line 109
anyone know how to fix this?
crazza
09-19-2002, 07:37 PM
I've installed the Hack.. and it does what it's supposed to..
Except.. that when you either open or close a thread (and post a comment), the thread comes back without my post attached to it.
It only shows up after a reload of the thread..
Does anyone else notice this.. or did I screw up somewhere ?
PS: And another question.. how do I make this box respond to Alt-S (instead of pressing the button).
crazza, there are several people who installed this hack without any problem.
check your code segments, there is alot of it.
havefun
09-19-2002, 08:32 PM
thanks 4 your box!
works fine on 227...
lg, havefun :rambo:
crazza
09-19-2002, 08:52 PM
I've checked the code and the templates. But the problem still persists.
Can anyone who actually installed this hack confirm that newreply.php does not correctly reload the page immediately when you "reply with open/close" ... and does reload correctly if when you "reply without open/close".
You can probably imagine that I want this confirmed before I go digging deep into the code again.
You can probably imagine that I want this confirmed before I go digging deep into the code again.
you will have to do it. you made a mistake. the hack works perfectly for everyone... well at least for 100 of them. :)
crazza
09-20-2002, 07:50 AM
After checking the code four times, installing the hack on a brand spanking new installation of VBulletin 2.2.6 I discovered that I did nothing wrong in the first place.
Route 1.
When entering a thread by clicking the thread's title (e.g. ..../forums/showthread.php?s=&threadid=6055) the thread is only called by threadid.
After entering something in the QuickReply box AND clicking either close or open.. the exact same link will be called as stated above, thus showing you an 'old copy' of the page, without your new post.
Route 2.
When entering a thread by clicking the 'last post' button for this thread (e.g. ..../forums/showthread.php?s=&goto=lastpost&threadid=6055) a 'forced query' is run to determine what the actual lastpost is.
After entering something in the QRB and doing an open or close.. the exact same link will be called.. the same query will be run.. and voila.. there's your post.
Conclusion
Reloading the same page without running the extra query doesn't update correctly when closing or opening the thread. This can be fixed by forcing the reload to run the query (i.e. adding a 'lastpost' statement).
Code change
Only the php code for newreply.php needs to be altered in two places [around lines 308 and 450]
Old code:
$threadinfo[notes]="Thread $action by $bbuserinfo[username] on ".vbdate($dateformat." ".$timeformat,time()).". $threadinfo[notes]";
$DB_site->query("UPDATE thread SET open=$threadinfo[open],notes='".addslashes($threadinfo[notes])."' WHERE threadid='$threadid'");
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
} else {
eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
}
New Code:
$threadinfo[notes]="Thread $action by $bbuserinfo[username] on ".vbdate($dateformat." ".$timeformat,time()).". $threadinfo[notes]";
$DB_site->query("UPDATE thread SET open=$threadinfo[open],notes='".addslashes($threadinfo[notes])."' WHERE threadid='$threadid'");
$goto="showthread.php?s=&goto=lastpost&threadid=$threadid";
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"$goto\");");
} else {
eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
}
aLuCaRD
09-20-2002, 11:28 AM
Any ideas why my avatars arent showing in the thread now..? There still in the PMs though...
aLuCaRD
09-20-2002, 11:47 AM
My bad, was a hack I done before but didnt realise the avatars missing, lmao. Great hack mate, I perfer the QR box without smilies, less load on the server. :D
**EDIT** I mean without not with :D
crazza, do you have it showing:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
or:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session
[sessionhash]&threadid=$threadid\");");??
it must be in one line. if separated, that's why is not redirecting you properly.
in the hack, it is listed in one line.
crazza
09-20-2002, 02:41 PM
Tech,
Sorry for the inconvenient wrapping in my earlier post.. but yes, the statement was on one line (it wouldn't even end up in the right thread if it wasn't).
But the "fix" I put in works a charm.. so I'm a happy camper after all..
np, the important thing is that it's working great for you now. congrats. :)
crazza
09-20-2002, 02:46 PM
And as a bonus I am actually starting to understand all this mumbly jumbly lame excuse for a programming language vbportal vbulletin myseekwall thingamajig :)
It makes me happy I might add..
good to hear this.. and welcome to our community.
yzztik
09-22-2002, 02:47 PM
I notice that when you reply using the quick reply box, it does not register that you have posted to subscribe you to the thread if you have that as a default ... is there anything I can add to the code to make it do that? even if I have to add another checkbox below it to do it that would be great!
Any ideas anyone?
ya, you are right... i added this to the file.
in showthread.php, find:
$textareacols=gettextareawidth();
replace it with:
if ($bbuserinfo['emailnotification']) {
$emailchecked = 'yes';
} else {
$emailchecked = '';
}
$textareacols=gettextareawidth();
in template showthread_replybox, find:
<input type="hidden" name="email" value="">
replace it with:
<input type="hidden" name="email" value="$emailchecked">
now it will look in your default preferences, all done in the background, so there is no need for an ugly extra checkbox. if you have it set to automatically recieve email notifications, that change will allow you to do it from now on. :)
for those who installed the hack already, just change the code listed above.
yzztik
09-22-2002, 05:28 PM
OMG! You are a god! Thank you, thank you, thank you!!! :D
*runs to edit*
EDITED: just made the changes. Works like a charm! Thanks a million!
Dave-ahfb
09-24-2002, 04:09 PM
I am getting reports of a JS error in IE5
Line: 864
Char: 1
Error: Object expected
Code: 0
my line 864 is
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)">
Wish I knew javascript :(
Dave
hello dave. try this:
onSubmit="return validate(this);"
notice the ; an the end. let me know if it fix it.
it could also be because you have some javascript that you added in the header, that is not part of vBulletin.
in this case i cannot help you.
cheers.
Dave-ahfb
09-24-2002, 04:18 PM
Ill give it a shot
thanks :)
Dave
Hey TECH, I love this hack and would love to implment it into my Forum also. I am really new to this and I followed your directions to the T and I get this error..
Parse error: parse error, unexpected $ in /home/xxx/public_html/Forum/showthread.php on line 508
I am running 2.2.8.
Is there anything else that I can do?? Please?? hehe
MultiSync
09-26-2002, 08:56 PM
I have installed the hack to my new site, but it didn't show up on the forum. It is weird. And I have check over for 4 times already. Any clue? Thanks!
Btw I am using v2.2.8
check your code. is nothing wrong with the hack.
Originally posted by TECK
check your code. is nothing wrong with the hack.
OK, checked it 4 times, replaced the phpfile, them redid it again, even had my 3 year old take a look at it also, still errors.. :(
Oh well thanks anyways..
hello K2
Parse error: parse error, unexpected $ in /home/xxx/public_html/Forum/showthread.php on line 508
that a code typo... you probably typed something by accident there...
Originally posted by TECK
hello K2
Parse error: parse error, unexpected $ in /home/xxx/public_html/Forum/showthread.php on line 508
that a code typo... you probably typed something by accident there...
I understand whatyou are sayin, but I triple checked my code. I used my backup showthread.php file 3 times too.. I dont think I could do the same typo 4 times.
It does say line 508, is there any editor that takes me to line 508? I am just using WordPad to edit..
Thanks
Nevermind, went and found UltraEdit. Line 508 has this in it..
?>
thats it. SO I deleted it, and still said the same thing.. Now, get this, I cant getmy forum back to where it was before, lmao! When I try to click on reply to a thread, it errors.. Thank God I have only 43 members.
:banana:
MultiSync
09-27-2002, 03:52 AM
I dunno why there is problem on my side too? I got no error msgs, but the reply box didn't show up on the forum :cry:
Is there anyway that u can take a look @ my files? or something that u can check?
Guys, you dont understand one thing. A hack cannot be installed just like that... "Ahh well it doesn't matter if I dont read every single info or explanation included on install readme file"...
I see all the time people who complain that the hack is no good or there are problems and come asking here why it's not working...
Let me give you one advice:
PLEASE READ ONE LINE AT THE TIME EVERY SINGLE NOTE OR EXPLANATION.
Then you will see how easy it is to install a hack, even a HUGE one.
DO NOT RUSH IT. One little bracket missed can screw everything.
Take your time. Read carefully and make sure you understand perfectly everything BEFORE you proceed with any modifications in the file. Then if something is unclear, you ask here your question and I will answer, so you can go to the next step.
Comming up with questions like "it doesnt show up??" or "is not working??" makes me turn my back and never answer.
Study the hack, ask pertinent questions and I guarantee you, you will be a happy hacker.
You will understand better how the code works and you will not make any mistakes.
An example of pertinent question should be like this:
point 2 in functions.php modification
I dont understand why the iif() function include only a value.
Also, where is located $post[icon] variable in the template?
So one more time, please ask pertinent questions.
Thank you and all the best.
[shad0w]
09-29-2002, 07:00 PM
Error on 507. 507: ?>
I followed the exact instructions and it works flawlessly on 2.2.8, so no one should have ANY problems ;)
thank you Tha_Rock. the hack works. i simply hate it when people are in a rush installing it fast.
that's how you make mistakes. especially on a large one like this.
LOD-squa
09-29-2002, 07:13 PM
can this be done with Fire Fly's quick reply? if yes what code do I need to change or add?
did you read the first few posts?
winston
09-29-2002, 07:53 PM
i installed the hack which is great but the reply box is bright green>
Why is that and how can i change it?
thnx :(
I cantr find it anywhere and boy is it ever loud. lol I also am seeing 2 of the reply boxes one on top and another on bottom.
Please give a guy some help here.
much thnx
in showthread template, you didn't add the reply box variable twice did you?
Also, in the instructions, it says to change all variables which are like this: { catbgcolor} to {catbgcolor} so there's no space infront of the letters.
winston
09-29-2002, 08:36 PM
yes i just figured it out and came to let you guys know that i goofed up. although i may kinda like it on top and bottom.
I am learning though. Playing with the colors now. thank you for the prompt response
:)
np winston. let us know if you need any extra help.
jwoodall
09-29-2002, 11:36 PM
Alright... I'm totally clueless to this stuff. This is my first effort, so bear with me.
I don't appear to have any templates (nor a directory called such). I have experience modifying html and cut & pasting java/vbscript, but programming is way out there for me (I'm a hardware guy).
I don't know where to add this, or how to create a template. I would like the reply box to look like the one in this forum. I know there's a couple versions of this thing going around, but still have no clue.
Could someone point me to the code I need -- and some tips on how to do this? (yeah, I read the How to Install, but I wasn't real sure what I was reading)
Thanks
i would recommend you to start with a smaller hack. this is a huge one. :)
once you get comfortable with vb hacking than try this one...
my friendly advice.
try for now, firefly's hack wich is a simplified version of what you see here. the link is on the first post. cheers.
jwoodall
09-30-2002, 12:07 AM
I looked at that file (firefly_template) but have no clue what to do with it.
jwoodall
09-30-2002, 12:11 AM
As for starting small, I'm not aware of any other hacks I'd like to use.
Lightbringer, if you read this thread any more -- what's up!?
(Rooster)
jwoodall, ask in "general hacking discussions" forum for some guidelines, i will post an answer there. :)
Cyrex56
10-01-2002, 06:59 PM
Not sure if this is already posted or not (I could have missed it) but in VB 2.2.8 doing exactly as in the txt file for the hack will give an error when u click the "go" button.. you need to change it to this:
+-----------------------------------------------+
| FILE: FORUM/showthread.php (2 changes) |
+-----------------------------------------------+
|
+-----------------------------------------------+
| 1. Find this code:
+--------------------------------------------------------------------------+
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_b uddy,postbit_useremail,icq,aim ,yahoo,postbit_homepage,postbit_profile,postbit_ip _show,postbit_ip_hidden,postbi t,postbit_sendpm,postbit_avatar,postbit_offline,po stbit_online,postbit_editedby, postbit_signature,postbit_attachment,postbit_attac hmentimage,showthread_adminopt ions,showthread_threadrate,showthread_pollresults_ voted,showthread_pollresults_c losed,showthread_firstunread,showthread_nextnewest thread,showthread_nextoldestth read,forumrules,showthread';
+--------------------------------------------------------------------------+
|
+-----------------------------------------------+
| Replace it with:
+--------------------------------------------------------------------------+
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_b uddy,postbit_ignore,postbit_us eremail,icq,aim,yahoo,postbit_homepage,postbit_pro file,postbit_ip_show,postbit_i p_hidden,postbit,postbit_sendpm,postbit_avatar,pos tbit_offline,postbit_online,po stbit_editedby,postbit_signature,postbit_attachmen t,postbit_attachmentimage,show thread_adminoptions,showthread_threadrate,showthre ad_pollresults_voted,showthrea d_pollresults_closed,showthread_firstunread,showth read_nextnewestthread,showthre ad_nextoldestthread,forumrules,showthread,showthre ad_replybox,newthread_closeope n';
for the very first change in the showthread.php
this is for VB 2.2.8
DarkRider
10-10-2002, 11:17 PM
Hey. The hack is sweet, but, the color is black. I can't find where to change it. Please let me know. Thanks.
Ember
12-13-2002, 04:56 PM
This might have been said, but I have installed this on 2.2.9, it works fine.
Ember
12-13-2002, 04:56 PM
darkrider, did you remove the spaces before the colour variables?
Probably not, it's working here (also @ 2.2.9) with my very own colours
BlackDeath
12-22-2002, 09:52 AM
Originally posted by Cyrex56
Not sure if this is already posted or not (I could have missed it) but in VB 2.2.8 doing exactly as in the txt file for the hack will give an error when u click the "go" button.. you need to change it to this:
+-----------------------------------------------+
| FILE: FORUM/showthread.php (2 changes) |
+-----------------------------------------------+
|
+-----------------------------------------------+
| 1. Find this code:
+--------------------------------------------------------------------------+
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_b uddy,postbit_useremail,icq,aim,yahoo,postbit_homep age,postbit_profile,postbit_ip_show,postbit_ip_hid den,postbit,postbit_sendpm,postbit_avatar,postbit_ offline,postbit_online,postbit_editedby,postbit_si gnature,postbit_attachment,postbit_attachmentimage ,showthread_adminoptions,showthread_threadrate,sho wthread_pollresults_voted,showthread_pollresults_c losed,showthread_firstunread,showthread_nextnewest thread,showthread_nextoldestthread,forumrules,show thread';
+--------------------------------------------------------------------------+
|
+-----------------------------------------------+
| Replace it with:
+--------------------------------------------------------------------------+
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_b uddy,postbit_ignore,postbit_useremail,icq,aim,yaho o,postbit_homepage,postbit_profile,postbit_ip_show ,postbit_ip_hidden,postbit,postbit_sendpm,postbit_ avatar,postbit_offline,postbit_online,postbit_edit edby,postbit_signature,postbit_attachment,postbit_ attachmentimage,showthread_adminoptions,showthread _threadrate,showthread_pollresults_voted,showthrea d_pollresults_closed,showthread_firstunread,showth read_nextnewestthread,showthread_nextoldestthread, forumrules,showthread,showthread_replybox,newthrea d_closeopen';
for the very first change in the showthread.php
this is for VB 2.2.8
YES THIS IS VERY IMPORTANT. THE TXT IS WRONG. THE USER NEEDS TO LOOK FOR THIS. IT GIVES AN ERROR W/ THE ORIGINAL TEXT. THIS NEEDS TO BE FIXED.
ok, it's working for me after i did what the above person i quoted stated but now the quick reply is showing at the top of my form instead of the top.
http://www.squadops.com/main/deathsquadfiles/pic1.JPG
how do i get it to show on the bottom?
You placed the code in the wrong place, in your showthread template. :p
BlackDeath
12-22-2002, 10:02 AM
ok i fixed it. for those who don't know coding like me the following code should be reworded to make it idiot proof:
+--------------------------------------------------------------------------+
|
|
|
+-----------------------------------------------+
| TEMPLATE: showthread |
+-----------------------------------------------+
|
+-----------------------------------------------+
| 1. Find this code, at the bottom:
+--------------------------------------------------------------------------+
<!-- first unread and next/prev -->
<!-- /spacer -->
+--------------------------------------------------------------------------+
|
+-----------------------------------------------+
| Replace it with:
+--------------------------------------------------------------------------+
<!-- first unread and next/prev -->
$replybox
<!-- /spacer -->
+--------------------------------------------------------------------------+
|
|
|
i was able to figure this out on my own cause i have a programming background. in the showthread template there are two instances of the above code. these instructions say find the one on the bottom but it should say find the 2nd instance. it was confusing until i went back and checked it again. thought that'd help. thanks.
BlackDeath
12-22-2002, 10:03 AM
Originally posted by TECK
You placed the code in the wrong place, in your showthread template. :p
yeah. i figured that out. the instructions are a little hazy. also, i have another fix for the proxy hack that i installed. i'll post that there if i can find it. it has to do w/ in one of the php docs it says "proxys" instead of "proxy" and that caused an error. i'll try and find it.
SemperFidelis
01-07-2003, 12:36 PM
Originally posted by TECK
hello dave. try this:
onSubmit="return validate(this);"
notice the ; an the end. let me know if it fix it.
it could also be because you have some javascript that you added in the header, that is not part of vBulletin.
in this case i cannot help you.
cheers.
Im experiencing the exact same problem Teck
I was also experiencing a similar js error when just dragging the mouse over the 'vb Code' section on new reply.
I then applied your suggestion above, and the issue with newreply has dissapeared.
But I am still getting the javascript error when hiting the go button on quick reply.
Any suggestions ?
KuraFire
01-07-2003, 10:39 PM
funny, I wrote this hack for my own board just a week or two ago, but I added the quick-select options for mods to also (un)Stickify threads at the same time :)
And for users there's the option to show their signature (sigs are turned off by default on my board, (cluttersome crap)--) and to set E-mail notification on with their quick replies :)
This all is funny, cos 199 people installed this hack here... *grins* :)
:up:
dotagious
01-09-2003, 08:56 PM
Anyway to add check boxes for the following features below the quick reply message field?
[ ]Email Notification [ ]Show Signature [ ]Go back to Forum
KuraFire
01-09-2003, 10:29 PM
Shall I just release my own hack along with the new addition to go back to forum? :)
SemperFidelis
01-10-2003, 12:54 AM
That sounds a good idea KuraFire
Looking forward to your release.
dotagious
01-10-2003, 01:41 AM
you've got my vote! How about all three though? LOL
Originally posted by KuraFire
Shall I just release my own hack along with the new addition to go back to forum? :)
Sure. :)
Any hack extra that have new features is good for all of us.
dotagious
01-10-2003, 05:02 AM
I would be even better if you could add those options to this hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=44368&highlight=quick+reply) instead of making them check boxes. A drop down menu is much better IMO.
KuraFire
01-10-2003, 07:53 AM
dotagious: I already have them as checkboxes on my own forum, I'm not gonna make it totally different and use a drop-down menu :p
*shrugs and goes write his sig-email-stick-close-forum/thread boxes hack*
Oblivion Knight
01-17-2003, 12:33 PM
Any news on the "Add Signature?" option to this..?
It would be a much appreciated addon to the hack :)
KuraFire
01-17-2003, 07:32 PM
Yeah, my computer at work is currently still with a New Hack window open and I'm getting together all the info (files & templates that need modification and what they're like in their default form) and writing the Hack release. Monday when I get back to work I'll finish the hack and release it right away :)
Oblivion Knight
01-19-2003, 09:38 AM
I accomplished this myself with a simple template edit..
In the template showthread_replybox
Find:
<input type="hidden" name="signature" value="yes">
^ Delete This
Find:
<b> Quick Reply:</b></normalfont>
Add below:
<br /><br /><input type="checkbox" name="signature" value="yes" checked><smallfont>Show Signature?</smallfont>
AnaFreak
01-19-2003, 08:40 PM
my box turned up green any ideas why?????
KuraFire
01-20-2003, 07:11 PM
Oblivion: that's only the signature box thingy, which, yes, does not require file hacks.
KuraFire
01-23-2003, 09:16 AM
I finished & released my hack, see my signature for the link :):up:
Mike Gaidin
02-02-2003, 06:39 PM
How can I make it so that if I hit the TAB on my keyboard it will tab to the GO button instead of the forum banner?
KuraFire
02-03-2003, 07:48 AM
Put
tabindex="#"
in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.
Doubledoom
02-24-2003, 10:59 AM
I had some people at the board complaing they were getting errors with this quick reply box when i wasnt.
Turned out that if you have scipt debugging enabled, it reports that the script is bad. If you dont have debugging enabled, it appears to work fine.
Unfortunatly, i dont know how much about scripts so cant post any help
Doubledoom
02-24-2003, 05:19 PM
OK, here is the script fix:
In showthread_replybox, a whole chunk of code is missing.
You need to add this at the top:
<script language="javascript">
<!--
var postmaxchars = $postmaxchars;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > $postmaxchars) {
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
function checklength(theform) {
if (postmaxchars != 0) { message = "\nThe maximum permitted length is $postmaxchars characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>
This will stop those with script debug turned on from getting errors on pressing the go button
L-Mane
03-02-2003, 05:58 PM
I use 2.30 and well it works fine except
Quick Reply:
Close This Thread
won't show up unless you highlight it.
Also when I goto edit post the delete post is already checked and if I do try to delete it says that I chose not to delete.
AllMadden.net
03-14-2003, 11:09 PM
I installed it and it works great...BUT the background of the box is GREEN! How do I change the color? It doesn't mesh all that well with my grey background board
AllMadden.net
03-14-2003, 11:21 PM
Never mind...figured out that it was the spaces making it do that...
great hack...
However...I don't have a close thread check box...any idea why? I thought this hack was supposed to put that in there
AllMadden.net
03-15-2003, 12:43 PM
02-03-03 at 04:48 AM KuraFire said this in Post #94 (https://vborg.vbsupport.ru/showthread.php?postid=349901#post349901)
Put
tabindex="#"
in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.
Which template is that info in? I can't seem to find it...
edit...Never mind...found it...
kevin_r1
03-21-2003, 12:18 AM
02-02-03 at 08:39 PM Mike Gaidin said this in Post #93 (https://vborg.vbsupport.ru/showthread.php?postid=349616#post349616)
How can I make it so that if I hit the TAB on my keyboard it will tab to the GO button instead of the forum banner?
remove the tabindex attribute for the text area
this is a great hack. worked perfect for me the first time around. the go button looks a lot better than the submit button in my opinion.
hoahongtim
05-01-2003, 02:41 AM
if ($permissions[canpostattachment] and (!$safeupload or function_exists("is_uploaded_file"))) {
eval("\$attachmentoption = \"".gettemplate("newpost_attachment")."\";");
} else {
$attachmentoption="";
}
$vbcode_smilies = '';
$vbcode_buttons = '';
if ($foruminfo[allowsmilies]) {
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_smilies = getclickysmilies();
}
eval("\$disablesmiliesoption = \"".gettemplate("newpost_disablesmiliesoption")."\";");
} else {
$disablesmiliesoption="";
}
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_buttons = getcodebuttons();
}
getforumrules($foruminfo,$permissions);
eval("dooutput(\"".gettemplate("newreply")."\");");
}
?>
Parse error: parse error in .......newreply.php on line 598
line 598 is here ?>
can anybody help me
Mr_Johnson
05-03-2003, 04:31 AM
hmmm with 2.2.9 I followed the instructions and not seeing any changes to my forum :(
KuraFire
05-03-2003, 01:06 PM
try my hack for this :)
Doubledoom
05-03-2003, 02:46 PM
It is virtually your hack anyway. Anyone installing this should be wary that there are bits missing which are mentioned in the thread but not corrected in the first post attachment.
Mr_Johnson
05-03-2003, 05:57 PM
Today at 04:46 PM Doubledoom said this in Post #105 (https://vborg.vbsupport.ru/showthread.php?postid=390872#post390872)
It is virtually your hack anyway. Anyone installing this should be wary that there are bits missing which are mentioned in the thread but not corrected in the first post attachment.
That kind of concerns me. Good thing I backed everything up :) I'll just set it back to that and try andother hack. Any recomendations?
Mr_Johnson
05-07-2003, 08:21 PM
I am getting some errors when I click the go button. Still posts, but getting erros when I click go, and I can not load the edit.php, gives a parse error (the other error was one that just prompts to inform of an error on the page, click ok, then continues on). I am going to go over the code more when I get home, but just wanted to know if anyone had similar experiences :(
Doubledoom
05-08-2003, 07:33 AM
Yesterday at 10:21 PM Mr_Johnson said this in Post #107 (https://vborg.vbsupport.ru/showthread.php?postid=392859#post392859)
I am getting some errors when I click the go button. Still posts, but getting erros when I click go, and I can not load the edit.php, gives a parse error (the other error was one that just prompts to inform of an error on the page, click ok, then continues on). I am going to go over the code more when I get home, but just wanted to know if anyone had similar experiences :(
I posted a fix for that a page or two back.
Mr_Johnson
05-08-2003, 09:58 AM
Thanks :)
Now I am running into some problems with vbhome and not showing the thread body for the article. Related to this you think?
Mr_Johnson
05-08-2003, 10:10 AM
Update: I replaced the new editpost.php file with the old one and got rid of the parse error that was occuring. So I thought perhaps it was part of the script in newthread.php, so I tried editing the post on the home page an voila, body is there. Any idea what part of the newthread.php mod that could be causing this?
Doubledoom
05-14-2003, 08:08 AM
05-08-03 at 11:58 AM Mr_Johnson said this in Post #109 (https://vborg.vbsupport.ru/showthread.php?postid=393049#post393049)
Thanks :)
Now I am running into some problems with vbhome and not showing the thread body for the article. Related to this you think?
I have vbhome 4.2 and this quick reply box installed on my test board now and they are working fine together. Not experiencing the same problem as you.
Shauk
05-27-2003, 03:20 PM
ok when I went to sleep last night this hack was working, and in place. however, now,
I post, I click go, and nothing happens, it takes me back top the 1st post of the thread, and theres no new post at the end, also the open and close check boxing doesnt work for me.
I few users got the debugging error but after reading this thread I applied the fix.
but this is weird.
CorvetteMan
05-27-2003, 11:39 PM
Great hack, thanks for putting it together!
www.digitalcorvettes.com
Shauk
05-28-2003, 05:09 AM
ok please help me out a little.
i've done the hack and it works for some threads and not for some others, its sporadic, but if it works in one thread it tends to keep working in that thread.
however I 1st suspected it would only work on new posts after the hack was installed.
is there a way to get it to work on the older topics? is it supposed to be discriminating like this?
here are 2 examples
http://www.xoxideforums.com/showthread.php?s=&threadid=8418
this threads quick reply works
http://www.xoxideforums.com/showthread.php?s=&threadid=8383
this thread simply refreshes when you hit "go" and goes back to the top of the page.
the address bar then reads as
http://www.xoxideforums.com/showthread.php?s=&action=postreply&threadid=8383&title=&iconid=0&parseurl=yes&email=&disablesmilies=&signature=yes&rating=0&message=asd&x=18&y=12
had to put it in brackets to get it to show on this post.
after the refresh.
help!
Shauk
05-28-2003, 05:37 PM
can anyone help me?
BaBa2002
05-31-2003, 12:05 PM
wow thx
Bulleh
05-31-2003, 04:01 PM
why is mine green? www.gamers-source.com/ check out a topic the reply box is green...lol
G20 Sport 2002
06-22-2003, 03:57 PM
Im using 230 and it works fine except when I press close this thread it doesnt close the thread why?
spl33nboy
06-22-2003, 04:54 PM
Hey folks,
I've had this hack installed - but it doesn't seem to post signatures - any ideas?
Noel 4 DMB
06-24-2003, 10:57 PM
Fatal error: Call to undefined function: stripsession() in /home/virtual/sitexxx/fst/var/www/html/forum/newreply.php on line 122
Any idea what I missed? I feel confident that I followed your instructions, and I re-did each file.
Noel 4 DMB
06-25-2003, 10:43 PM
Hello, In my quick reply box located at www.amidreaming.org/dreamers inside of any thread, the tab button does not make the cursor jump to the submit button, instead it jumps to the logo at the top of the page. Is there a way i can fix this?
G20 Sport 2002
07-01-2003, 10:30 PM
I still cant close threads with it... why?
Noel 4 DMB
07-10-2003, 11:24 AM
Hey yall, my users are complaining that since i installed the quick reply box, none of the letters are being marked as read, they stay closed, hence the "find new posts" link doesnt work anymore. Could you please instruct me on how to fix this? Thanks.
sh-demon
09-07-2003, 02:17 AM
damn i didnt notice who old this thread was. I seem to be having a problem with this hack. I have installed it just fine but now when i click on the go buttong i get a runtime error and it asks me if I wish to debug. The message will go through and it will close the thread but i don't like seeing that error everytime i use the quick reply. Does anyone know of a way to fix this problem?
StrykerContact
09-07-2003, 06:38 AM
I would just like to say I love this hack, I think it should be HOTM but since firefly's version was already I guess it's kind of pointless. I don't see how I ever lived without the close/open switch, it's just a pain to say this thread is closed and not close it with that post. All I do now is say: Too much spamming. ~Closed ; click the check button and post.
I reccomend this hack to anybody considering getting a quick reply box. This hack is error free if you install it correctly.
Doubledoom
09-07-2003, 08:18 AM
Today at 04:17 AM sh-demon said this in Post #124 (https://vborg.vbsupport.ru/showthread.php?postid=431890#post431890)
damn i didnt notice who old this thread was. I seem to be having a problem with this hack. I have installed it just fine but now when i click on the go buttong i get a runtime error and it asks me if I wish to debug. The message will go through and it will close the thread but i don't like seeing that error everytime i use the quick reply. Does anyone know of a way to fix this problem?
Fix is posted in the thread.
MaDCaT75
09-07-2003, 05:56 PM
How do I apply this if I have the mist hackless QR box?
StrykerContact
09-13-2003, 01:58 AM
This question has been asked in many threads I would search around, I can't remember the answer.
shadow187
09-29-2003, 06:47 PM
Great hack man,
Installed it on VB2.3.2 and it works great !!
Thanks man !!!
I even added the smilies to the left !!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.