View Full Version : New Posting Features - Canned Replies v4.x - User Saved Text for Replies, Threads, PMs & Infractions
bananalive
04-25-2010, 10:00 PM
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. [+]
(https://vborg.vbsupport.ru/attachment.php?attachmentid=85126&stc=1&d=1218116695)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
https://vborg.vbsupport.ru/attachment.php?attachmentid=128595&d=1303909332
Quickly Reply with Standard Message either in Quick Reply [+] (https://vborg.vbsupport.ru/attachment.php?attachmentid=84947&stc=1&d=1218116876) or Advanced Reply [+] (https://vborg.vbsupport.ru/attachment.php?attachmentid=84946&stc=1&d=1218117037)
Can also be used in NewThread [+] (https://vborg.vbsupport.ru/attachment.php?attachmentid=84992&stc=1&d=1218117037) User Infractions [+] (https://vborg.vbsupport.ru/attachment.php?attachmentid=84991&stc=1&d=1218117037) and PM SystemInstallation:
Follow instructions included in .zip
Click Install Future Features:
Request new features in commentsDonations:
If you want to donate please click 'Support Developer'
bananalive
04-26-2010, 03:25 PM
Screenshots
https://vborg.vbsupport.ru/attachment.php?attachmentid=116355&d=1272317944
https://vborg.vbsupport.ru/attachment.php?attachmentid=116354&d=1272317944
https://vborg.vbsupport.ru/attachment.php?attachmentid=116356&d=1272317944
bananalive
04-26-2010, 03:26 PM
Reserved post #2
Kolbi
04-26-2010, 03:50 PM
Some screens would be nice.
PixelFx
04-26-2010, 03:57 PM
nice, great idea
hilfe-forum
04-26-2010, 04:36 PM
Download Now
No Files Uploaded????
giorgino
04-26-2010, 06:11 PM
If you upload something, I can dowload something :D
betts02
04-26-2010, 06:16 PM
As above
Hornstar
04-26-2010, 07:25 PM
tagged for when you upload it ^^
bananalive
04-26-2010, 07:33 PM
Woops, uploaded zip now in first post :)
Bouncer222
04-26-2010, 07:38 PM
Screenshots? What is this exactly for?
betts02
04-26-2010, 07:49 PM
Screenshots? What is this exactly for?
I aasume that you can save say a template of posts that you do and use this to post the same post without copy/paste or writing it all again
Good for say a recruitment post ?
Something that will come in handy for me
Will try it out and see
EDIT - works great, will deffo be using this many times, many thanks
Thanks for converting this and releasing it BL! I used this on vb3.8 and loved it then!
AURFSCAN
04-26-2010, 08:20 PM
the ability to use this in certain forums (id's) would be the way to go as I would only use this in my 'Introductions' category. thx tagged
A few suggestions and issues.
Default to ON for admins when installing.
The default canned reply is blank in the dropdown. Should probably list something there like "-- Select --" or something, just so it's not blank.
When inserting a new reply, there's a leading carriage return even though there isn't one in the canned reply.
Categories. I'd like to be able to visually group things a little better as I'll end up having probably about 30 replies or so and I think around 5 different categories at this point.
Add this to the quick reply. The idea behind a canned reply (for me anyway) is that I need to do something quickly. Having to go to the advanced editor to do this somewhat defeats the ease of use.
As always, excellent work, thanks!!
Another suggestion:
Use something like {username} and {musername} to auto insert the recipients/readers username and such.
Found a bug: When inserting a canned reply with a single quote, the SQL query dies.
Another suggestion:
Shared replies.
Would be nice if there was a way specific usergroups could share their replies with others. Then list them in their own category or whatever.
NFLfbJunkie
04-26-2010, 09:38 PM
When going to "Your Canned Replies" in user control panel, the borders for the 'My Messages' and 'My Subscriptions' is broken. Not really a big deal, but is there a way to fix this?
sulasno
04-27-2010, 12:42 AM
tagged and thanks
including some standard messages would be great
Cedric_FP
04-27-2010, 01:44 AM
Is it possible to set a canned reply (same one) for every user.
Is it possible to have a forum default on a canned reply?
COBRAws
04-27-2010, 02:21 AM
Excelent idea Dom, will install it soon.
Does not seem to work on PM's, works fine otherwise though.
Budget101
04-28-2010, 11:18 AM
Is it possible to set a canned reply (same one) for every user.
click on the button that says "shared reply"
Cedric_FP
04-28-2010, 02:17 PM
click on the button that says "shared reply"
What about only for specific forums?
Budget101
04-28-2010, 08:30 PM
What about only for specific forums?
Perhaps you could add an <if condition> too disallow certain forums. . .
Charlie98902
04-28-2010, 09:35 PM
Another suggestion:
Use something like {username} and {musername} to auto insert the recipients/readers username and such.
The above quote would be a big plus. I as well as my staff have been waiting for this to be ported over. Is there any known bugs that this doesn't work when you use it?
Reeve of shinra
04-28-2010, 09:41 PM
This is a great idea. Have copy / no need for paste!
Cedric_FP
04-29-2010, 12:29 AM
Perhaps you could add an <if condition> too disallow certain forums. . .
Genius. Thank you.
Budget101
04-29-2010, 12:10 PM
Genius. Thank you.
Cedric, did you get it working okay?
bananalive
04-29-2010, 06:49 PM
Added v4.0.2 which now works with PMs
Brittany
04-30-2010, 03:42 PM
works wonderfully in threads... not at all for PMs (drop down is there but when canned reply is selected it does not show.) any suggestions to fix this issue?
works wonderfully in threads... not at all for PMs (drop down is there but when canned reply is selected it does not show.) any suggestions to fix this issue?
Ok, I thought it was just me. =)
When I first installed the update, the dropdown appeared, but selecting anything in it, didn't work.
I did a force refresh on the page and then it started working.
bananalive
04-30-2010, 06:01 PM
works wonderfully in threads... not at all for PMs (drop down is there but when canned reply is selected it does not show.) any suggestions to fix this issue?
Upgrade to v4.0.2 :)
StarBuG
05-01-2010, 10:53 PM
Yeah thank you very much.
Missed it for vB4. No wonder it was my idea hehe :p
Thank you again for all your work to make it possible (again) :)
StarBuG
05-12-2010, 12:19 PM
Hi
BUG:
When editing canned replies in the user cp the header and navbar template breaks.
It does seem that additional.css settings are ignored.
bananalive
05-14-2010, 04:16 PM
When editing canned replies in the user cp the header and navbar template breaks.
Fixed in v4.0.3 (latest version)
djbaxter
05-14-2010, 09:47 PM
Must say I like the addition of the "share canned reply" option in this version. :up:
sadiq6210
06-12-2010, 05:53 PM
Great =)
Pamela
06-29-2010, 06:22 PM
What a great idea! :)
Is anyone else having trouble getting this to work on Internet Explorer though (I'm on IE8)? It works perfectly on Firefox but not IE for some reason.
Anyone know how to fix this? :confused: I have a ton of members on IE and it would be nice if all my members could use this. Thanks!
djbaxter
06-29-2010, 06:49 PM
Works fine for me using IE8.
Make sure Compatibility Mode is turned off.
Pamela
06-29-2010, 07:07 PM
Works fine for me using IE8.
Make sure Compatibility Mode is turned off.
That's so strange. It doesn't work for me with or without Compatibility View on. But it works fine for me in Firefox, Chrome and Safari! I don't get it... :confused:
Fraxter
07-15-2010, 09:20 PM
If i add an reply, the addon destroys the header of the forum.
Doesn't work with opera too.
MrShides
07-16-2010, 12:40 PM
I am also having a problem where it intermittently works in IE8 (win7) on various computers. Some it works on, others it does not.
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Thu, 15 Jul 2010 16:16:22 UTC
Message: 'aa.message.caretPos' is null or not an object
Line: 25
Char: 2
Code: 0
URI: http://www.mywebsite.com/clie...nnedreplies.js
dunno if that's any help...
Igel1
07-16-2010, 11:25 PM
Error under VB 4.0.5
Deprecated: Assigning the return value of new by reference is deprecated in \cannedreplies.php on line 258
Anyone know how to fix this?
bananalive
07-18-2010, 08:07 PM
Error under VB 4.0.5
Deprecated: Assigning the return value of new by reference is deprecated in \cannedreplies.php on line 258
Anyone know how to fix this?
try attached file
bananalive
07-18-2010, 08:08 PM
I am also having a problem where it intermittently works in IE8 (win7) on various computers. Some it works on, others it does not.
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Thu, 15 Jul 2010 16:16:22 UTC
Message: 'aa.message.caretPos' is null or not an object
Line: 25
Char: 2
Code: 0
URI: http://www.mywebsite.com/clie...nnedreplies.js
dunno if that's any help...
try uploading attached cannedreplies.js to /clientscript/
Igel1
07-18-2010, 09:07 PM
Thanks bananalive
the new cannedreplies.php fix the Problem, anything works fine under 4.0.5
Thank you for all your work to make it possible
Igel1
Igel1
07-20-2010, 05:06 PM
Hello bananalive,
here are the German translation of "cannedreplies"
Translation install
To import the translation goes as follows:
Admincp => Languages & Phrases download => Languages / upload => Click on "EITHER upload the XML file from your computer" click Browse and select the translation from => at "Language Override chooses her German => Import => Done
Pamela
07-21-2010, 03:16 AM
try uploading attached cannedreplies.js to /clientscript/
This worked perfectly! Thank you!!! :D
apokphp
07-23-2010, 08:11 PM
Found a major bug that needs to be address asap IMO.
We are using this hack as a staff only feature (for issuing warnings and infraction reasons). I've enabled ONLY the staff usergroups to be able to use this (5,6,7).
However, EVERY group can use this. The usergroup setting is broken on vb 4.0.5.
See attached files for both setting and results for this test account (which is only a registered user account).
I don't want regular members to use this feature to hand out warnings in threads.
djbaxter
07-23-2010, 09:37 PM
Found a major bug that needs to be address asap IMO.
We are using this hack as a staff only feature (for issuing warnings and infraction reasons). I've enabled ONLY the staff usergroups to be able to use this (5,6,7).
However, EVERY group can use this. The usergroup setting is broken on vb 4.0.5.
See attached files for both setting and results for this test account (which is only a registered user account).
I don't want regular members to use this feature to hand out warnings in threads.
Confirmed. I just checked this and have the same situation here.
apokphp
07-24-2010, 02:36 AM
Had to uninstall this mod until there's a fix. Great mod, just not much value for my community since it cannot be used as a warning/infraction system.
Will keep an eye out on bug fixes.
Igel1
07-24-2010, 01:32 PM
I can not confirm the error. Staff can use it, normal users will not see anything like this, in replies or in the control center.
I have tested it in my forum as a regular user. (vb4.0.5 and this cannedreplies.php https://vborg.vbsupport.ru/showpost.php?p=2071222&postcount=47)
Did you try to disable all other mods?
apokphp
07-24-2010, 05:54 PM
The image in my previous post is of a reg user (non-staff) being able to use it when they shouldn't (see other screenshot of permissions in cp).
I did not uninstall other mods. It's possible there is intereference, but I need my other mods (there aren't many). So it just wouldn't be worth it to sacrifice them for this unfortunately.
But apparently, there is at least one other person w/ this problem.
Igel1
07-24-2010, 10:17 PM
The image in my previous post is of a reg user (non-staff) being able to use it when they shouldn't (see other screenshot of permissions in cp).
I understand your problem but I can not adjust it.
I did not uninstall other mods. It's possible there is intereference, but I need my other mods (there aren't many). So it just wouldn't be worth it to sacrifice them for this unfortunately.
Thou shalt not do without on your other mods but just to test whether the problem occurs if the other mods are disabled.
If so, then switch one after the other and test again when the problem occurs.
The only way to limit the mistakes.
V8Owner
07-25-2010, 11:12 PM
This is an awsome mod and our moderators were over the moon as it is used for staff only.
We are running VB 4.0.4.
We have the same issue that everybody has access to the canned replies.
We have had to disable it until this can be sorted.
Please have a look at this, for our type of forum it is a very needed mod.
Cheers :)
V8Owner
07-25-2010, 11:38 PM
Further to my above post.
I have discovered that only the "Shared" replies can be used by all users.
We have worked around this & enabled the mod again.
Great mod. :)
Igel1
07-26-2010, 08:55 PM
I can confirm that by shared templates the selection box for the template even for normal users appears. The template text himself will not displayed and is not insertable, just the selection box with the headlines will appear.
MXjunk127
07-31-2010, 05:09 AM
Great mod, can you set it so canned responses can only be posted in certain forums, by forum ID or something?
Thanks!
Pathor
08-12-2010, 03:35 PM
Is it possible to put those neat mod into the article editor?
StarBuG
08-21-2010, 09:35 AM
Hi
Firebug shows the following error when canned reply is selected:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.setSelectionRange]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.domain.com/clientscript/cannedreplies.js :: setCursorPosition :: line 40" data: no]
Line 0
It works like it should though.
kneukm03
08-24-2010, 06:57 PM
Can anyone confirm if this works on 4.0.6? Is the version on the original post the most updated version or should I also download the files that were posted July 18-20?
NathanLedet
08-27-2010, 08:14 PM
Lots of my mods are reporting that their canned replies are not working for infractions.
vB 4.0.6
rfsforums
09-02-2010, 09:47 PM
Great Mod! Installed and works like a charm - Thanks! (version 4.0.5)
cloferba
09-14-2010, 08:39 PM
i dont understand what this mod does
can anybody explain me?
starman?
10-03-2010, 11:57 AM
Found a major bug that needs to be address asap IMO.
We are using this hack as a staff only feature (for issuing warnings and infraction reasons). I've enabled ONLY the staff usergroups to be able to use this (5,6,7).
However, EVERY group can use this. The usergroup setting is broken on vb 4.0.5.
See attached files for both setting and results for this test account (which is only a registered user account).
I don't want regular members to use this feature to hand out warnings in threads.
Ditto. Such a shame as I really need this mod.
starman?
10-11-2010, 02:15 PM
Seems this is a dead mod. Que Sera!
pedroenf
10-11-2010, 09:30 PM
I'm using this mod in 4.0.7 and there's nothing wrong with permissions.
XANDERER
10-18-2010, 09:36 AM
I'm using this mod in 4.0.7 and there's nothing wrong with permissions.
Yes. Me too.
I have same problem with same version 4.0.7
I thing we need help for version 4.0.7
please help us for that problem.
Thank you.
pedroenf
10-18-2010, 12:20 PM
Yes. Me too.
I have same problem with same version 4.0.7
I thing we need help for version 4.0.7
please help us for that problem.
Thank you.
Definitely you can't read lol. I said that i have NO problems with this mod's permissions.
LordMike
11-20-2010, 08:56 PM
^^ Was thinking the same when I read his answer LOL
sinucello
11-22-2010, 03:04 PM
Hi,
great mod but I can also confirm the usergroup-permission error. Turned canned replies off and set "Maximum Canned Replies per User" to zero but they can still see the shared canned replies of my mods (not only the select box but also the text insertion is enabled). Would be great if someone could fix this.
all the best,
Sacha
Taurus1
12-03-2010, 08:31 AM
Since upgrade to vb4.1 I cannot edit any canned replies. There is no edit button or link anymore. Anyone can confirm this please.
Thanks.
SBKTR
01-07-2011, 03:07 PM
Does not work on 4.1.0 it put the "Canned Replies" under the Blog and when you click, it just goes to an error page.
Budget101
02-11-2011, 01:33 PM
I am able to get to the page:
cannedreplies.php?do=add
but it breaks the design all to pieces (on 4.1.0) - ignores the background and adds weird spaces throughout that particular page.
Samsine
02-13-2011, 04:09 PM
Since upgrade to vb4.1 I cannot edit any canned replies. There is no edit button or link anymore. Anyone can confirm this please.
Thanks.
I use this Mod on 4.1.1 and i can edit any canned replies.
but it breaks the design all to pieces (on 4.1.0) - ignores the background and adds weird spaces throughout that particular page.
Do you have a screen?
I see no problems on my forum.
Budget101
02-14-2011, 07:28 PM
Since upgrade to vb4.1 I cannot edit any canned replies. There is no edit button or link anymore. Anyone can confirm this please.
Thanks.
I don't have that issue, but until you can resolve it, here's a work-around: use the following link- (add your own domain name)
http://www.YOUR-DOMAIN-HERE.com/cannedreplies.php?do=add
Alternatively, if you use a sub folder, it may appear like this:
http://www.YOUR-DOMAIN-HERE.com/forums/cannedreplies.php?do=add
If you are unable to access the link at that point, go into your admincp> usergroups> & check to make sure your permissions didn't get changed during your upgrade.
Taurus1
02-20-2011, 01:33 AM
I am able to get to the page:
cannedreplies.php?do=add but it breaks the design all to pieces (on 4.1.0) - ignores the background and adds weird spaces throughout that particular page.
Same problem here on 4.1.2 Completely breaks the templates on edit and create new canned reply.
Can someone please help?
RustyDogma
02-22-2011, 04:27 PM
Using the mobile style, canned replies display for everyone, not just the folks given permissions for it, and breaks the mobile style for users.
spillage
03-05-2011, 08:27 PM
<u>Feature Request</u>.
Can we have a permission to have Canned Replied only active in selected forums, for selected usergroups.
chriske
03-09-2011, 06:24 PM
Hi,
great mod but I can also confirm the usergroup-permission error. Turned canned replies off and set "Maximum Canned Replies per User" to zero but they can still see the shared canned replies of my mods (not only the select box but also the text insertion is enabled). Would be great if someone could fix this.
all the best,
Sacha
Same here!
If anyone can tell me how to hide the canned replies for other users then mods please do :D
Budget101
03-10-2011, 01:40 PM
Same here!
If anyone can tell me how to hide the canned replies for other users then mods please do :D
go to your admincp>style manager> the style you use for your site> edit templates> cr_dropdown
and add an if condition around the link of code that's in the box
example:
<vb:if condition="is_member_of($bbuserinfo, 7)">
<div> {vb:raw crtest} </div><br />
</vb:if>change the bbuserinfo based on your own usergroup id's you can view your usergroup id's by loading:
http://www.yourdomain.com/admincp/usergroup.php?do=modify
could also be
http://www.yourdomain.com/forums/admincp/usergroup.php?do=modify
alternatively you can Add multiple Usergroups by entering a comma between usergroup id's for the code to be visible ONLY to Mods & Supermods you would use:
<vb:if condition="is_member_of($bbuserinfo, 5,7)">
<div> {vb:raw crtest} </div><br />
</vb:if> If you want to limit this to use in Certain forums only, use a forum based If Conditional
such as:
Untested:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">
<div> {vb:raw crtest} </div><br />
</vb:if>Where numbers listed in "array" would be forum Id's
MarceloS
03-17-2011, 01:29 PM
It does not show here in private messages.
Do you have to set this up? How?
ElfenLied1337
04-07-2011, 11:17 PM
Seems to work fine on 4.0.7, but does anybody have an idea as to how to disable sharing?
I have the mod enabled for all users, but sharing clogs up their dropdown.
Charlie98902
04-08-2011, 02:10 PM
When you make a canned reply you have the ability to share or not. To stop sharing with what you already have you'll have to go into each then edit to disable sharing.
ElfenLied1337
04-09-2011, 02:15 AM
When you make a canned reply you have the ability to share or not. To stop sharing with what you already have you'll have to go into each then edit to disable sharing.
Is there any way for an admin to edit what has been shared by other users?
Charlie98902
04-09-2011, 02:15 PM
Is there any way for an admin to edit what has been shared by other users?
Not sure on that.
ElfenLied1337
04-10-2011, 07:19 PM
Not sure on that.
That's cool, thanks anyway. =]
Anyone else have an idea? I'm thinking of just editing the cannedreplies.php file to remove the Share checkbox, but I'm not quite sure what to remove or if that will mess with the rest of the mod's features.
MarekJan
04-25-2011, 10:55 PM
The function is clicked:
Share reply with other users who can use Canned Replies
can since the version 4.1.3 all users the prestored answers see and use, all the same whether they are justified or also not! Sorry translated with babelfish there I no English can
bananalive
04-27-2011, 12:04 PM
v4.1.2
- Added permissions https://vborg.vbsupport.ru/attachment.php?attachmentid=128595&d=1303909332
- Fixed permission error for some vB versions
- Fixed bug of not working on User Infraction page
Taurus1
06-10-2011, 09:09 AM
It does not seem to work on 4.1.4. Please update. Thank you very much!!
Charlie98902
06-11-2011, 01:26 PM
It does not seem to work on 4.1.4. Please update. Thank you very much!!
Ha I was just popping in to see if anyone said this. I can confirm no longer working on 4.1.4
8thos
06-15-2011, 04:59 PM
Yeah, doesn't work in 4.1.4.
boooooo
06-16-2011, 11:01 PM
doesn't work in 4.1.4.
Charlie98902
06-17-2011, 08:26 PM
Yea using 4.1.4 I get this error when I try to edit or see my canned replies:
Charlie, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
bhkien
06-20-2011, 02:03 AM
Yes, this version of Canned replies cannot work with vBulletin 4.1.4
Please update.
Thanks,
Charlie98902
06-20-2011, 09:09 PM
Be nice if there was one but it says that it isn't supported so unless someone knows how to fix I think it is safe to say we won't see one. Wished I knew how to fix it so I can share with others.
bananalive
06-22-2011, 08:18 AM
I'll have a look into vbulletin v4.1.4 compatibility issues today/tomorrow.
Charlie98902
06-22-2011, 02:00 PM
I'll have a look into vbulletin v4.1.4 compatibility issues today/tomorrow.
Thanks.
Faskis
06-23-2011, 04:34 AM
Going to be honest here, if you can pull off an update for 4.1.4 for this modification, I'm definitely going to switch over from DBTech's Post Templates. I've really liked your work, banana, and the best of luck to you in getting this updated.
8thos
06-23-2011, 06:24 AM
Going to be honest here, if you can pull off an update for 4.1.4 for this modification, I'm definitely going to switch over from DBTech's Post Templates. I've really liked your work, banana, and the best of luck to you in getting this updated.DBTech's Post Templates doesn't work anymore so yeah I can see why you'd definitely switch over lol.
bananalive, I've never used DBTech's Post Templates before but the fact that the Templates are in the editor make it visually impressive. Will you please consider adding an option as a post edit button since DBTech won't be updating his anymore?
Taurus1
06-25-2011, 10:49 AM
Any news on this? Please!!!
Jman423
06-28-2011, 06:20 PM
I'll have a look into vbulletin v4.1.4 compatibility issues today/tomorrow.
Any luck? This was a very useful tool for our staff.
-Thanks
Charlie98902
06-28-2011, 09:59 PM
I think it has something to do with the new ckeditor that broke this plugin.
Successfulsteps
07-01-2011, 09:55 PM
Please let us know when you have this update as I have a very active forum of members who are quite spoiled and loved this mod and want their Canned Messages back ASAP!
Thank you!
(strange how vbulletin.org isn't running 4.1.4 as they have the old editor here.)
djbaxter
07-01-2011, 10:44 PM
Please let us know when you have this update as I have a very active forum of members who are quite spoiled and loved this mod and want their Canned Messages back ASAP!
Thank you!
(strange how vbulletin.org isn't running 4.1.4 as they have the old editor here.)
vBulletin .org is running vBulletin 4.x at all:
Powered by vBulletin? Version 3.6.12
Jman423
07-03-2011, 12:10 PM
Well, since it seems there won't be a speedy fix here, you can still use the product if you hit F5 after you've selected your message. Once the page reloads, the canned message will be there.
Hope that helps, for now.
rhoula
07-03-2011, 05:05 PM
I installed the mod as suggested, but I cannot find the link under the "quick links"
Someone please help.
Thank you
Successfulsteps
07-03-2011, 05:27 PM
Well, since it seems there won't be a speedy fix here, you can still use the product if you hit F5 after you've selected your message. Once the page reloads, the canned message will be there.
Hope that helps, for now.
That's very helpful. I noticed if you haven't typed anything in on the advanced reply screen you don't even have to wait for it to re-load.
But this is still being worked on no? He said he would get to it, and it with it being a holiday weekend for most, hopefully we'll see an update this week sometime??
I have over 800 members and none of them like the new ckeditor and want their old editor back. Does anyone know of a way to achieve this?
angeljs
07-05-2011, 10:45 AM
Hi, I've installed this and am trying to setup a canned reply. However, when I press submit the cannedreplies.php page is blank, and I receive the following message in my error log:
PHP Fatal error: Using $this when not in object context in /home/******/public_html/sims/includes/functions_wysiwyg.php(115) : eval()'d code on line 5Any help would be appreciated. :)
Successfulsteps
07-05-2011, 08:10 PM
Hi, I've installed this and am trying to setup a canned reply. However, when I press submit the cannedreplies.php page is blank, and I receive the following message in my error log:
PHP Fatal error: Using $this when not in object context in /home/******/public_html/sims/includes/functions_wysiwyg.php(115) : eval()'d code on line 5Any help would be appreciated. :)
Your forum is running 4.1.4 with the new ckeditor and this mod was written pre-4.1.4 so it's not working properly on that version. The developer has stated he would be updating this mod for 4.1.4 but hasn't posted since then. We are all still waiting on him. So it most likely is giving that error due to the editor not be available it's run on. I'd wait until this mod is updated and hopefully then you can install w/out a problem.
angeljs
07-06-2011, 06:17 AM
Ah I see. Thanks for the heads-up...I've had to learn a lot of patience since the last vB update ;)
Jman423
07-10-2011, 08:38 PM
I'll have a look into vbulletin v4.1.4 compatibility issues today/tomorrow.
Any word on this?
mmackinnon
07-14-2011, 03:21 AM
I too await the update.
No news yet???
Successfulsteps
07-15-2011, 12:08 AM
Still nothing?
Jman423
07-16-2011, 03:39 PM
If the developer is not going to keep this updated, it would be nice if he would mark it as reusable so someone else can try to fix it.
Successfulsteps
07-18-2011, 05:44 PM
I agree, my members are spoiled an want this working! So do I.
Charlie98902
07-18-2011, 09:41 PM
Right click on your mouse and refresh your screen after selecting the one you want. This will get you by for the meantime. Do not use F5.
Jman423
07-19-2011, 09:32 PM
Right click on your mouse and refresh your screen after selecting the one you want. This will get you by for the meantime. Do not use F5.
Sounds like the same thing to me...
I use F5 every time, and it works fine.
Charlie98902
07-19-2011, 10:18 PM
I tried F5 and it didn't work for me on Firefox 5
fukdawrld
07-22-2011, 12:19 PM
The add new or edit canned replies breaks my template
131306
131307
The first is my template normally...second it breaks my JS changer down the side of the page. Any ideas? Thanks in advance
Charlie98902
07-22-2011, 08:16 PM
Yea it doesn't work right for the latest update of vbullrtin.
Andyrew
07-23-2011, 08:13 AM
Update needed.
chriske
07-24-2011, 12:30 PM
Don't mind to donate some if the author makes a fix :)
My moderators have become addicted to this mod.
It's a time saver for them!
Hello,
The coder is currently clamped in another project and updated the addons vbglossar, yellowpages, linklist, adjust after the completion of the project, on vb4.1.4.
So have some patience.
Sorry for my bad English :)
chriske
07-25-2011, 12:16 PM
Thanks for letting us know, ill be patiently waiting :)
Hareth
08-02-2011, 07:49 AM
waiting
Sunka
08-02-2011, 09:07 PM
Waiting.....
hakkuo23
08-03-2011, 05:09 PM
Waiting.....
Hareth
08-04-2011, 01:19 AM
waiting....
Andyrew
08-04-2011, 05:17 AM
Waiting.....
Hareth
08-06-2011, 06:29 AM
<font color="Blue">Waiting....</font>
Hareth
08-07-2011, 12:27 AM
Waiting...
Andyrew
08-07-2011, 07:11 AM
Need this sorting now otherwise will have to uninstall.
Charlie98902
08-07-2011, 08:45 PM
I go into surgery Thursday so hope to see an update for my members before then. It's such a life saver.
inigo
08-12-2011, 06:21 AM
Waiting to an update to have this mod working with CKE editor (4.1.5), great mod,...
rafiul
08-12-2011, 07:52 AM
Waiting for update...
mmackinnon
08-13-2011, 06:25 AM
still waiting.
Sunka
08-14-2011, 10:58 PM
Waitinggg.....
I updated this to 1.) see if I could and 2.) because someone posted a paid request... that never panned out so if I can separate out what I changed, I will post here with code changes.
mmackinnon
08-15-2011, 04:05 AM
Eric, if you did the update as a paid request I would be willing to pay for it. Please PM
NOTE: You only need to make these changes if you have updated to vB 4.1.4+
I have attached an updated product xml file. You will need to re-import with "Allow Overwrite" set to "Yes". I then made the following changes:
In cannedreplies.php I removed all instances of:
require_once(DIR . '/includes/functions_wysiwyg.php');
I then changed all instances of
if ($vbulletin->GPC['wysiwyg'])
{
$reply = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], 1);
}
to
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$reply = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message']);
}
and changed
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
...
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
I then replaced everything in clientscript/cannedreplies.js with:
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
Taurus1
08-15-2011, 11:44 AM
Hi Eric, I tried your fixes on 4.1.5, but it made no difference unfortunately. I am also more than willing to send you some funds for this to be fixed. Thank you very much!
Hi Eric, I tried your fixes on 4.1.5, but it made no difference unfortunately. I am also more than willing to send you some funds for this to be fixed. Thank you very much!
Works just fine for me :/ http://www.secondversion.com/canned/
chriske
08-15-2011, 12:04 PM
I have tried the fixes to but I still can't use the canned replies.
Taurus1
08-15-2011, 12:37 PM
OK, edit. I had the TMS beta from Andreas installed, and disabling that brought my canned replies back now. So I can confirm that it is working perfectly now. Sending some funds over to Eric now. Thanks a million!
OK, edit. I had the TMS beta from Andreas installed, and disabling that brought my canned replies back now. So I can confirm that it is working perfectly now. Sending some funds over to Eric now. Thanks a million!
Thanks Taurus, although you didn't really have to do that lol :) It is appreciated though. For everyone else, make sure the template edits were made (vB can be stubborn with product files sometimes) - otherwise the fixes will not work.
Successfulsteps
08-15-2011, 05:22 PM
Thank you! Got mine working!
Charlie98902
08-15-2011, 09:29 PM
Can you please upload the changed files please? Thanks. I am still recovering from back surgery so I can't focus to well right now.
TIA
NOTE: You only need to make these changes if you have updated to vB 4.1.4+
I have attached an updated product xml file. You will need to re-import with "Allow Overwrite" set to "Yes". I then made the following changes:
In cannedreplies.php I removed all instances of:
require_once(DIR . '/includes/functions_wysiwyg.php');
I then changed all instances of
if ($vbulletin->GPC['wysiwyg'])
{
$reply = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], 1);
}
to
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$reply = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message']);
}
and changed
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
...
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
I then replaced everything in clientscript/cannedreplies.js with:
function insertCannedReply(text)
{
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
Sunka
08-16-2011, 01:29 AM
Can you please upload the changed files please? Thanks. I am still recovering from back surgery so I can't focus to well right now.
TIA
I could upload that changed files! :D:up:
Here you go...
Sunka
08-16-2011, 01:35 AM
Works just fine for me :/ http://www.secondversion.com/canned/
Work OK!
Thank you Eric.
But still one little problem...
For every new row, it's put HTML <br>
aaaaa
<br>
<br>
<br>
<br>rgr
<br>link (http://www.google.com)
rafiul
08-16-2011, 06:46 AM
Not worked for me on version 4.1.5 . Thanks for your effort @Eric.
inigo
08-16-2011, 07:04 AM
Not worked for me.
v 4.1.5.
Thanks for your effort Eric.
Sunka
08-16-2011, 08:06 AM
Not worked for me on version 4.1.5 . Thanks for your effort @Eric.
Not worked for me.
v 4.1.5.
Thanks for your effort Eric.
It is working...
After changes, you have to empty cache of your browser (CTRL + F5) when you open your forum
inigo
08-16-2011, 08:17 AM
It is working...
After changes, you have to empty cache of your browser (CTRL + F5) when you open your forum
Thanks, I have tried without success, but now appears to be working but:
Work OK!
Thank you Eric.
But still one little problem...
For every new row, it's put HTML <br>
aaaaa
<br>
<br>
<br>
<br>rgr
<br>link (http://www.google.com)
Same problem for me,
"<br>" appears in each line of the canned reply
Thanks for your help!
Charlie98902
08-16-2011, 11:57 AM
So does this or does this not work with 4.1.5 PL1? The newer files.
legacythe2nd
08-16-2011, 12:27 PM
Work OK!
Thank you Eric.
But still one little problem...
For every new row, it's put HTML <br>
aaaaa
<br>
<br>
<br>
<br>rgr
<br>link (http://www.google.com)
I got the same problem, hopefully someone knows how to fix this.
inigo
08-18-2011, 07:30 AM
So does this or does this not work with 4.1.5 PL1? The newer files.
Yes, it works, but with the <br> problem at the beginning of each line,
xtremecoders
08-18-2011, 07:42 PM
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.
So i made a fix for all those issues with new CKeditor.
This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.
Please also Note that ...
If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.
I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:
Take the attached zip....
132077
sevenmix
08-18-2011, 08:00 PM
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.
So i made a fix for all those issues with new CKeditor.
This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.
I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:
Take the attached zip....
132077
Thanks, it works fine, the only problem is that keeps inserting a <br> too.
Im using [CKEditor] MARCO1 Advanced Quick Reply And Edit, maybe thats the problem.
xtremecoders
08-18-2011, 08:08 PM
You was FAST !!!! :D
I added comments about <br> Issue...
Please also Note that ...
If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.
I'am working on this problem and probably will update the zip with new code.
inigo
08-19-2011, 06:32 AM
I can´t remove de <br> although I insert a space at the end of all lines,.. any idea?
I do not see any difference in this zip and the changes I posted? Unless you were just zipping up the mod with my changes :/
As far as the <br> issue, I will try to work it out.
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.
So i made a fix for all those issues with new CKeditor.
This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.
Please also Note that ...
If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.
I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:
Take the attached zip....
132077
sevenmix
08-19-2011, 05:16 PM
Thanks, we will be waiting the perfect mod (finally)
:D
xtremecoders
08-19-2011, 05:43 PM
I do not see any difference in this zip and the changes I posted? Unless you were just zipping up the mod with my changes :/
As far as the <br> issue, I will try to work it out.
BTW the Difference is on cannedreplies.php file at edit & add Functions
My file has.....
$templater = vB_Template::create('USERCP_SHELL');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('onload', $onload);
$templater->register('template_hook', $template_hook);
$templater->register('cpnav', $cpnav);
$templater->register('headinclude', $headinclude);
$templater->register('pagetitle', $pagetitle);
$templater->register('HTML', $HTML);
$templater->register('header', $header);
$templater->register('footer', $footer);
print_output($templater->render());
Your file has.....
$templater = vB_Template::create('USERCP_SHELL');
$templater->register('navbar', $navbar);
$templater->register('headinclude', $headinclude);
$templater->register('pagetitle', $pagetitle);
$templater->register('cpnav', $cpnav);
$templater->register('HTML', $HTML);
$templater->register('header', $header);
$templater->register('footer', $footer);
print_output($templater->render());
and in my case this was the reason which my style was complete broken on ADD or Edit... (VB 4.1.5 PL1)
And see how affects on my site....
BEFORE the patch (your File)
https://vborg.vbsupport.ru/
AFTER the Patch (my File).....
https://vborg.vbsupport.ru/
Nice ehhhh ?????
BTW the Difference is on cannedreplies.php file at edit & add Functions
My file has.....
$templater = vB_Template::create('USERCP_SHELL');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('onload', $onload);
$templater->register('template_hook', $template_hook);
$templater->register('cpnav', $cpnav);
$templater->register('headinclude', $headinclude);
$templater->register('pagetitle', $pagetitle);
$templater->register('HTML', $HTML);
$templater->register('header', $header);
$templater->register('footer', $footer);
print_output($templater->render());
Your file has.....
$templater = vB_Template::create('USERCP_SHELL');
$templater->register('navbar', $navbar);
$templater->register('headinclude', $headinclude);
$templater->register('pagetitle', $pagetitle);
$templater->register('cpnav', $cpnav);
$templater->register('HTML', $HTML);
$templater->register('header', $header);
$templater->register('footer', $footer);
print_output($templater->render());
and in my case this was the reason which my style was complete broken on ADD or Edit... (VB 4.1.5 PL1)
And see how affects on my site....
BEFORE the patch (your File)
http://www.xtremecoders.org/forums/images/before.jpg
AFTER the Patch (my File).....
http://www.xtremecoders.org/forums/images/after.jpg
Nice ehhhh ?????
Ah, I see. I do not mind, I was just curious what the changes were :)
Andyrew
08-20-2011, 10:42 AM
This no longer works on my forum, when I pick the canned reply nothing appears in my editor box. ?
RE installed and it's working again, just got the <br> problem now.
Andyrew
08-20-2011, 06:51 PM
If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.
How do you stop this br code appearing, where are you supposed to add the spaces. I have added spaces in the canned reply but it makes no difference.
mmackinnon
08-20-2011, 11:37 PM
yah same here, everything working but for the BR issue
Jman423
08-21-2011, 01:48 AM
This is also working for me, but as others mentioned, the <br> is still showing up whether or not there is a space at the end of each line.
Thank you for fixing it... deleting a few extra characters is better than the way it worked before.
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:
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);
}
}
Andyrew
08-21-2011, 10:59 AM
Thanks Eric, works perfect now. :D:up:
inigo
08-21-2011, 11:05 AM
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:
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);
}
}
Works great for me! 4.1.5 p1
Thanks!!!!!!!!!!!!
Igel1
08-21-2011, 01:40 PM
But as empty lines are inserted
better that way
function insertCannedReply(text)
{
text = text.replace(/\\"/ig, "\"");
text = text.replace(/ \<br\>/ig, "");
if (document.getElementById("vB_Editor_001"))
{
CKEDITOR.instances.vB_Editor_001_editor.insertHtml (text);
}
else
{
CKEDITOR.instances.vB_Editor_QR_editor.insertHtml( text);
}
}
So BB code also works without <br>
Jman423
08-21-2011, 02:38 PM
But as empty lines are inserted
better that way
function insertCannedReply(text)
{
text = text.replace(/\\"/ig, "\"");
text = text.replace(/ \<br\>/ig, "");
if (document.getElementById("vB_Editor_001"))
{
CKEDITOR.instances.vB_Editor_001_editor.insertHtml (text);
}
else
{
CKEDITOR.instances.vB_Editor_QR_editor.insertHtml( text);
}
}
So BB code also works without <br>
This worked for me, thanks.
sevenmix
08-22-2011, 04:45 AM
Now it works perfect, thank you so much.
8thos
08-22-2011, 04:56 AM
Hey Eric, the same problem with Canned Replies, is it the same problem with Post Templates? https://vborg.vbsupport.ru/showthread.php?t=242246
angeljs
08-22-2011, 09:18 AM
Working great, thanks for this :)
vBNinja
08-22-2011, 04:17 PM
Just upgraded to 4.1.5 PL1 and nothing happens when i select a canned reply... Any help?
mmackinnon
08-23-2011, 05:27 PM
Hmm
even after editing that file and uploading and rewriting im getting the BR.
Am i doing something wrong?
8thos
08-23-2011, 08:35 PM
I completely installed this modification when it stopped working. When I reinstalled it with all the new edits, it not only worked, it brought all my old canned replies back!!!!!!!!
Awesome.
mmackinnon
08-24-2011, 02:55 AM
ah perfect that did it!
DonosOdD
08-24-2011, 10:28 AM
Can someone help me? Nothing happens when I select a canned reply. What am I doing wrong?
vBNinja
08-24-2011, 08:16 PM
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!
Pamela
08-25-2011, 05:45 AM
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!
This worked perfectly on 4.1.5 for me. Thanks so much!!! :D
DonosOdD
08-25-2011, 11:35 AM
Problem solved. Thanks a lot!
cykelmyggen
09-19-2011, 11:32 AM
This worked perfectly on 4.1.5 for me. Thanks so much!!! :D
Will this version work on 4.1.4. as well?
wtfaatp
09-19-2011, 01:06 PM
Not showing up @ all? I have no settings option in adminCP.
I have installed all the above fixs with no avail. :\
vb4.1.5 p1
cykelmyggen
09-19-2011, 06:47 PM
Will this version work on 4.1.4. as well?
Answering my own question: yes it does :)
Successfulsteps
09-20-2011, 08:18 PM
I am bit confused on what I have to do here. I am on 4.1.4 and did the edits below:
NOTE: You only need to make these changes if you have updated to vB 4.1.4+
I have attached an updated product xml file. You will need to re-import with "Allow Overwrite" set to "Yes". I then made the following changes:
In cannedreplies.php I removed all instances of:
require_once(DIR . '/includes/functions_wysiwyg.php');
I then changed all instances of
if ($vbulletin->GPC['wysiwyg'])
{
$reply = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], 1);
}
to
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$reply = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message']);
}
and changed
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar('', 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
...
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
to
$editorid = construct_edit_toolbar($cr['reply'], 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0), 1, 0, 'fe', '', array(), 'content', 'vBForum_Post', 0, 0, 0, true, 'titlefield');
I then replaced everything in clientscript/cannedreplies.js with:
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.
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?
Thank you in advance for your assistance!
Successfulsteps
09-20-2011, 08:57 PM
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!
Successfulsteps
09-20-2011, 09:02 PM
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:
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);
}
}
this did not fix the br tag issue for me.
Akuma2000
11-15-2011, 10:21 AM
It stopped working with the upgrade to vb 4.1.7
Will a reïnstall also fix the problem with 4.1.7?
DEREKTROTTER
11-16-2011, 06:30 AM
Hi There,
I was interested in installing this modification for a forum, but realised it wasn't supported.
Is there any possible chance you could make a version for vBulletin 4.1.7 or all vBulletin 4.x.x versions?
I would really like to get this for the forum I admin.
Thanks!
P.S. I've marked this as installed, so if you do decide to update this, I'll know when it is updated. :):):)
kleinschwanz
12-07-2011, 04:19 PM
This would be nice, but it doesn't work with the new releases... will it be updated?
POL_ED
12-10-2011, 09:10 PM
Version vb_cannedreplies_v4.1.5.zip (https://vborg.vbsupport.ru/showpost.php?p=2237601&postcount=187) working with vBulletin 4.1.9
vb_cannedreplies_v4.1.5 dont work with Popup Private Messaging for vBulletin 4.x! (https://vborg.vbsupport.ru/showthread.php?t=233616)
karel1985
12-13-2011, 05:47 PM
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...
Any sugegstion howto fix?
banafes
12-19-2011, 07:45 PM
all steps done as described and i got the following :
I have access from the User settings : check
I can create canned replies : check
Other enabled users can see the drop down menu and the share replies : check
The problem is that when i choose the canned reply from the drop down menu , it doesn't show in the "quick reply" box , i.e : no text whatsoever is copied in the box.
Is there a solution ?
n.B : i am running VB 4.1.9
JesterP
01-01-2012, 07:47 PM
all steps done as described and i got the following :
I have access from the User settings : check
I can create canned replies : check
Other enabled users can see the drop down menu and the share replies : check
The problem is that when i choose the canned reply from the drop down menu , it doesn't show in the "quick reply" box , i.e : no text whatsoever is copied in the box.
Is there a solution ?
n.B : i am running VB 4.1.9
I have the same issue. Updated to vb4.19, can select a canned reply but nothing appears in the full editor. Followed the instructions for the 4.15 canned replies that someone posted to no avail.
Help!
Luca_ITA
01-03-2012, 08:50 PM
Version vb_cannedreplies_v4.1.5.zip (https://vborg.vbsupport.ru/showpost.php?p=2237601&postcount=187) working with vBulletin 4.1.9
As above, working fine on 4.1.9.
Many thanks
angeljs
01-07-2012, 11:58 AM
As above, working fine on 4.1.9.
Many thanks
Confirmed :)
JesterP
01-07-2012, 07:25 PM
Confirmed :)
Please tell me the specifics of what you used. I had a working version prior to my upgrade from 4.1.7 to 4.1.9. I followed this thread and verified I am using the proper xml product, after uninstalling and re-installing as the instructions specified here. https://vborg.vbsupport.ru/showpost.php?p=2237601&postcount=187
Did you have a working version installed prior to 4.1.9? Trying to figure out what i may be missing.
Again, I can select the canned reply, but nothing appears in the message box.
Thank you
Moncha
01-08-2012, 12:22 AM
Cannedreplies 4.1.5 works on 4.1.9 with no problems so far.. Great idea!!
angeljs
01-08-2012, 01:30 PM
Please tell me the specifics of what you used. I had a working version prior to my upgrade from 4.1.7 to 4.1.9. I followed this thread and verified I am using the proper xml product, after uninstalling and re-installing as the instructions specified here. https://vborg.vbsupport.ru/showpost.php?p=2237601&postcount=187
Did you have a working version installed prior to 4.1.9? Trying to figure out what i may be missing.
Again, I can select the canned reply, but nothing appears in the message box.
Thank you
I used this version:
https://vborg.vbsupport.ru/showpost.php?p=2237601&postcount=187
angeljs
01-08-2012, 01:31 PM
One problem...I had to disable this mod as it conflicts with the extra threadfields mod. Once the canned replies mod is installed, none of the extra threadfields show up when posting. :(
james shadle
01-12-2012, 03:14 AM
I'm sure I'm missing something - maybe someone can point it out for me.
I've uploaded files: cannedreplies.php to root.
bitfield_cannedreplies2008.xml to includes/xml
cannedreplies.js to clientscript
product-cannedreplies_v4.xml Imported Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
Canned Reply Permissions does not appear anywhere in the admincp.
I also get this message trying to access via URL:
James Shadle, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I'm the top level Admin(not the smartest, just the most permissions). VB4.1.9
Version vb_cannedreplies_v4.1.5.zip
Thanks,
James
It all seemed very good, but I couldn't get it to work on 1.4.8. Uninstalled.
james shadle
01-15-2012, 01:14 AM
I found Canned Replies in the admincp and turned it on for Admin's and was able to create a canned reply.
Still can't find how to use it in the editor.
james shadle
01-15-2012, 07:45 PM
I found the Canned Replies drop down. It is available above the editor for new threads, however it does not show above the editor for replies.
Thanks
james shadle
01-16-2012, 03:24 AM
Once I uninstalled AR4QR Advanced Reply. Canned Replies works as advertised!
Thanks.
StarBuG
02-12-2012, 12:25 PM
I have installed 4.1.5 on vB 4.1.10 after uninstalling the old version 4.0.3
The canned replies show up and are pasted into the editor however line breaks don't show up.
GreyGhost
04-17-2012, 07:12 AM
I have CR 4.1.5 installed on vB 4.1.12 and all appears to be working fine.
8-)
deadlySniper
04-19-2012, 12:26 AM
Not working in 4.1.11
NathanLedet
06-24-2012, 07:33 PM
work in 4.2?
No idea if this mod works with 4.2 or not, but I use the following mod on 4.2 without problems, it's free as well as still supported: http://www.dragonbyte-tech.com/vbecommerce.php?do=product&productid=129
chriske
10-01-2012, 06:32 PM
How come my moderators only see 10 of the shared canned replies? Is there a limit? Where can you change it?
mmodder
11-26-2012, 07:52 AM
I tried this version 4.1.2 and the "fix" 4.1.5 in vB 4.2.0 Patch Level 3
Neither worked, nothing showed up in the user cp, admin cp or in the reply text boxes.
Are there any "canned replies" products that will work with vB 4.2.3?
Thanks
mmodder
12-04-2012, 04:56 AM
Ok, I got it to show up but get this error message when trying to enter a Canned Reply message to store:
Warning: require_once([path]/includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/cannedreplies.php on line 82
Fatal error: require_once() [function.require]: Failed opening required '/home/mustan19/public_html/forum/includes/functions_wysiwyg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mustan19/public_html/forum/cannedreplies.php on line 82
I cannot find the (functions_wysiwyg.php) anywhere in my installation?
Any ideas or suggestions? :confused:
edrecovery
02-21-2013, 11:03 AM
I was hoping this would work with 4.2... I'm needing something to do cannd replies to staff aplications
mmodder
02-22-2013, 05:30 AM
I never did get it to work with 4.2 ed/ :(
mmodder
03-24-2013, 01:14 PM
No idea if this mod works with 4.2 or not, but I use the following mod on 4.2 without problems, it's free as well as still supported: http://www.dragonbyte-tech.com/vbecommerce.php?do=product&productid=129
:erm: I checked this out, but the instructions just look like so much gibberish to me and the screen shot is minuscule. So small you cannot make out anything. :(
elitecarders
03-24-2013, 06:10 PM
where i can set user group permission ???
TTPlayground
07-08-2013, 06:49 PM
I'm receiving this error when I try to saved a canned reply:
Warning: require_once([path]/includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/cannedreplies.php on line 82
Fatal error: require_once() [function.require]: Failed opening required '/home/content/04/11398604/html/forums/includes/functions_wysiwyg.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/04/11398604/html/forums/cannedreplies.php on line 82
Help please??? I'm trying to install this on 4.1.10
W2OE_Prodigy
07-12-2013, 08:22 PM
I'm receiving this error when I try to saved a canned reply:
Warning: require_once([path]/includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/cannedreplies.php on line 82
Fatal error: require_once() [function.require]: Failed opening required '/home/content/04/11398604/html/forums/includes/functions_wysiwyg.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/04/11398604/html/forums/cannedreplies.php on line 82
Help please??? I'm trying to install this on 4.1.10
Me too. I'm not sure what the issue is or if it's the version of vB we are running. I am running 4.2.1
karel1985
07-27-2013, 10:50 AM
can this function be added into the EDIT POST function?
thienhi228
11-14-2013, 12:45 AM
Please update for vbb 5, thanks you!
ozzy47
11-14-2013, 01:38 AM
Please update for vbb 5, thanks you!
Since this mod is marked un-supported, I doubt it will happen anytime soon.
Budget101
09-30-2014, 07:22 PM
Canned Reply Permissions does not appear anywhere in the admincp.
I also get this message trying to access via URL:
James Shadle, you do not have permission to access this page. This could be due to one of several reasons:
I do believe you're missing the following:
AdminCP> Usergroup> Usergroup Manager> Edit Usergroup Administrators> Set canned reply permissions - save, clear cache, try again. :-)
Budget101
10-01-2014, 11:48 AM
First off, I want to let the Coder know that I absolutely LOVE this mod, it is, by far, the MOST helpful mod that I have installed on my site and I GREATLY appreciate it! With that said, Here's my dilemma..
I have a number of saved canned replies, many of them contain attachment images. When I use the reply the attachment image displays, right up until the moment that I Publish, which then switches it to a link display with the attachment id # instead of the actual image.
I've double checked Usergroup Permissions to ensure that ALL users can "See attachments" & Download attachments.
AdminCP > Usergroups > Usergroup Manager > [Edit Each Usergroup] > Forum Viewing Permissions > Can See Thumbnails > 'Yes'
I've also gone into view attachments inline:
Admin CP -> Settings -> Options -> Message Attachment Options - > View Attached Images Inline -> Yes
View Attached Images Inline> Yes, display thumbnails (I've also tried, yes, display full size)
If, when creating or editing a canned reply, I use Image tags with the direct url:insert image link here the images will display.
If I try to use attachments, the image becomes a link.
Hrmmm... Actually, I tested this in a forum that does not use Everywhere Sidebar by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=283307&highlight=Everywhere+Sidebar) and it worked perfectly. Then turned Everywhere Sidebar back on for that particular forum and the issue recurred. Any ideas how to fix it (short of disabling Everywhere Sidebar, which I'd prefer not to do!)
princesspepper
12-30-2014, 10:18 AM
Has anyone got this mod working on VB 4.2.X and does it work with Everywhere Sidebar by BOP5?
I used to have this installed, but uninstalled it because I started getting issues when I upgraded, but it is a fantastically helpful mod and I'd love to be able to install it again... :(
ozzy47
12-30-2014, 10:22 AM
Perhaps try this mod, https://vborg.vbsupport.ru/showthread.php?t=277323 it's similar to this and it is supported.
princesspepper
12-30-2014, 10:37 AM
Perhaps try this mod, https://vborg.vbsupport.ru/showthread.php?t=277323 it's similar to this and it is supported.
Muchisimas gracias amigo :)
ozzy47
12-30-2014, 10:59 AM
Not a problem, glad to help. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.