Version: 4.1.2, by bananalive
Developer Last Online: Nov 2023
Category: New Posting Features -
Version: 4.0.x
Rating:
Released: 04-25-2010
Last Update: 04-26-2011
Installs: 182
DB Changes Uses Plugins Auto-Templates
Translations
No support by the author.
Description:
This mod allows each user to store standard replies which they can quickly access upon creating a reply, thread, pm or infraction.
Canned replies can be shared - For Examples, Administrators could have permission to create/share/use canned replies; and moderators permission to view/use canned replies.
Features:
Adding and editing canned replies is fully integrated into the User CP with vBulletin Editor. [+] Quick Link -> User Control Panel; Then scroll down page and you will see 'Edit your Canned Replies' url to canned replies is http://www.your-forum.com/cannedreplies.php
Permissions can be set per usergroup
Quickly Reply with Standard Message either in Quick Reply [+] or Advanced Reply [+]
Can also be used in NewThread [+] User Infractions [+] and PM System
Installation:
Follow instructions included in .zip
Click Install
Future Features:
Request new features in comments
Donations:
If you want to donate please click 'Support Developer'
I then replaced everything in clientscript/cannedreplies.js with:
Code:
function insertCannedReply(text)
{
text = text.replace(/\n/g, "");
text = text.replace(/<br>/g, "\n");
if (document.getElementById("vB_Editor_001"))
{
CKEDITOR.instances.vB_Editor_001_editor.insertHtml(text);
}
else
{
CKEDITOR.instances.vB_Editor_QR_editor.insertHtml(text);
}
}
It is important to make sure the template changes in the new product xml take place for this to work.
I believe that is all of the changes. You may want to backup the modified files before making the edits.
--
@mmackinnon I updated this mainly to see if I could, because I know CKEditor is a big change. I then found out someone was looking to pay to have it updated. I contacted them, but never heard back. If you do these edits, it should work - if you really have the urge to pay me something then you can find my paypal info in my released mods :P
Now I too am having the same problems as everyone else, that is getting those annoying <br> tags in the messages that once you select a message you see them. Also the canned messages when trying to edit is blank.
Quote:
Originally Posted by ivant
Okay for everyone having problems with the br or nothing showing up when you select a canned reply
Backup your canned replies first because you will need to add them again
1. Uninstall canned replies from plugin manager in admin cp
2. upload these files i have attached
3. install the product again
4. set permissions in admincp based on usergroups
5. Add your canned replies again (http://yourforum.com/forum/cannedreplies.php)
And it should work fine!
I understand the above the instructions about a fresh install. But what about all the edits I made? Is this going to overwrite those? I want to make sure once I uninstall and do the fresh install that I do not also have to worry about the templates edits previously to try to make this work. Not that I mind the edits, but I am not a coder and while I can follow instructions, that is about all I can do since I don't have the knowledge to understand the coding.
What I am trying to say, is due to the previous edits made to make this work, will a uninstall and fresh install be all that is necessary?
Ok, I uninstalled, did a fresh install marking it yes for overwriting when importing the xml.
I uploaded all the files and they looked good, but when I tried to use them in PMs, the <br> are there. The problem with the blank files are no longer a problem, but those br tags are still annoying!
Ok, for the <br> issue, this appears to correct it. Edit the /clientscript/cannedreplies.js file (the updated one in my post or xtremecoders' zip file) and replace everything with:
Code:
function insertCannedReply(text)
{
text = text.replace(/\n/g, "");
text = text.replace(/<br>/g, "\n");
if (document.getElementById("vB_Editor_001"))
{
CKEDITOR.instances.vB_Editor_001_editor.insertHtml(text);
}
else
{
CKEDITOR.instances.vB_Editor_QR_editor.insertHtml(text);
}
}
I try to contact banalive by his PM box was full so i tried by e-mail.
If someone else can help, would be very nice (i can send some donation if needed)
There is a small bug inside this mod:
(try to simulate it)
1) open a new topic, and choose directly a canned reply (without clicking in the editor first) --> the canned reply is not placed
2) the quick reply form has the same error when you open a random topic, scroll down and choose directly a canned reply --> the canned reply is not placed
Its only working when you click first inside the editor...