05-08-2012, 08:00 AM
I converted my quick reply box to a popup quick reply, using a small script I found on the internet. It is kind of useless, but I like to use it
http://www.scriptiny.com/2011/03/javascr...http://www.scriptiny.com/2011/03/javascript-moda
It does NOT need jQuery, weighs in at under 5kb and can have multiple instances on a page. I have a template conditional that makes it not useable by guests, so only my members see it. It's a nice bit of candy and this way I don't have to worry about the captcha for guest posts.
Requirements: Template conditionals Plugin.
Things to change: You need to alter your showthread and showthread quick reply templates and add the javascript and css to your headerinclude and stylesheets
Showthread quickreply:
http://www.scriptiny.com/2011/03/javascr...http://www.scriptiny.com/2011/03/javascript-moda
It does NOT need jQuery, weighs in at under 5kb and can have multiple instances on a page. I have a template conditional that makes it not useable by guests, so only my members see it. It's a nice bit of candy and this way I don't have to worry about the captcha for guest posts.
Requirements: Template conditionals Plugin.
Things to change: You need to alter your showthread and showthread quick reply templates and add the javascript and css to your headerinclude and stylesheets
Showthread quickreply:
HTML Code
|
Showthread:
Find both instances of the variable "newreply" in your template and change to the below:
HTML Code
|
Find the "quickreply" variable in showthread and change it to the below:
HTML Code
|
Please note I am not a coder and I apologise in advance for any mistakes in this layout. See attached for example of how it looks on leefish. I have custom css on my buttons; if you use the class "button" in your css you should get a similar result.