vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions (https://vborg.vbsupport.ru/showthread.php?t=187043)

bananalive 08-01-2008 10:00 PM

Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions
 

Description:

This mod allows each user to store standard replies which they can quickly access upon creating a reply, thread, pm or infraction.
[Demo here - registered members have permissions to 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
    (AdminCP -> Usergroups -> Usergroup Manager -> {Select Usergroup} -> Can use Canned Replies)
    (AdminCP -> Usergroups -> Usergroup Manager -> {Select Usergroup} -> Maximum Canned Replies Per User)
  • Quickly Reply with Standard Message either in Quick Reply [+] or Advanced Reply [+]
  • Can also be used in NewThread [+] User Infractions [+] and PM System
Installation:
  1. Follow instructions included in .zip
  2. Click Install
Future Features:
  • Request new features in comments
Modification Conflicts:
  • Icons for UserCP uses different usercp_shell so auto-insert link plugin doesn't work in UserCP. Click here to see manual template edits needed.
Translations:Suggestions: If you have a suggestion about this modification, please get in touch here
Donations: If you want to donate please click 'Support Developer'

Spank 08-02-2008 07:00 PM

First download ^_^ Thanks for making this, it will come in very handy. *goes away to install and test*

yahoooh 08-02-2008 07:04 PM

it should have edetor in the user cp

djr 08-02-2008 07:07 PM

Finally! Excellent! I'll have to wait for the permission based version though, as I only want this for moderators and up. Any timeframe for the additional features?

ishare 08-02-2008 07:08 PM

I beleive its very usefull addon.
It may sound u strange but, is it also possible to use it in newthread template as well ?
Why am i asking this ? For all movie reviews, we use the same template. Then we edit this template with the movie details we gonna post. So this kind of addon would make our job much easier, if we could choose the template (there are 4 different templates) from the selection box...
Thanks in advance

M-Tuning 08-02-2008 07:30 PM

Quote:

Originally Posted by djr (Post 1590081)
Finally! Excellent! I'll have to wait for the permission based version though, as I only want this for moderators and up. Any timeframe for the additional features?

+1, nice hack!

bananalive 08-02-2008 07:49 PM

Quote:

Originally Posted by djr (Post 1590081)
Finally! Excellent! I'll have to wait for the permission based version though, as I only want this for moderators and up. Any timeframe for the additional features?

I'll aim to do this next, probably early next week, depends on whether I encounter any glitches.
Quote:

Originally Posted by yahoooh (Post 1590079)
it should have editor in the user cp

I'll be integrating vB_editor after I've added the usergroup permissions.
Quote:

Originally Posted by ishare (Post 1590083)
I beleive its very usefull addon.
It may sound u strange but, is it also possible to use it in newthread template as well ?
Why am i asking this ? For all movie reviews, we use the same template. Then we edit this template with the movie details we gonna post. So this kind of addon would make our job much easier, if we could choose the template (there are 4 different templates) from the selection box...
Thanks in advance

Good idea I'll look at adding that as optional extra

djr 08-02-2008 08:04 PM

Quote:

Originally Posted by bananalive (Post 1590104)
I'll aim to do this next, probably early next week, depends on whether I encounter any glitches.

Thanks, very much appreciated.

I think I can code this myself, but asking never hurts: would you please look into integrating this within the infraction system? (if PM's are required, like we do). I believe the correct template is userinfraction, but I'm not really sure , since I only see a reference to $messagearea. Integration with the infraction system would be most helpful for us :up:

Do you accept donations?

Lynne 08-02-2008 08:09 PM

Quote:

Originally Posted by ishare (Post 1590083)
I beleive its very usefull addon.
It may sound u strange but, is it also possible to use it in newthread template as well ?
Why am i asking this ? For all movie reviews, we use the same template. Then we edit this template with the movie details we gonna post. So this kind of addon would make our job much easier, if we could choose the template (there are 4 different templates) from the selection box...
Thanks in advance

You might want to look at the Stencil Hack if you only need one template per forum.

This looks nice, bananalive! I'll be waiting for the permission based one (although I imagine if I only want it for mods/admins I could add the conditionals myself?).

sinucello 08-03-2008 04:16 AM

Hi,
Quote:

Originally Posted by djr (Post 1590081)
Finally! Excellent! I'll have to wait for the permission based version though, as I only want this for moderators and up. Any timeframe for the additional features?

I agree, it`s a very useful mod. If you want it for moderators, am I right when I assume the mod also works for private messages?

all the best,
Sacha

Hasann 08-03-2008 04:24 AM

nice but this modification don't use vbulletin standarts coding style sorry it is not for me at all you should code with vbulletin standarts

youradhere4222 08-03-2008 07:11 AM

Great idea and good work!

Like said, I'll install this when it's for moderators/super moderators/administrators only. I also don't think that they should have the ability to edit it. It should be editable via the ACP for all staff members...

dadoc 08-03-2008 07:27 AM

A great Idea bananalive, its great to see new ideas for mods that are totally original

I would love to mark this as installed but I only want it for staff use.

I have tagged it an I will follow the updates.

Nice work!

M-Tuning 08-03-2008 02:18 PM

oh, and it would be great too if you would use phrases.

So I and others users can translate it faster and easier.

Alfa1 08-03-2008 11:25 PM

Quote:

Originally Posted by djr (Post 1590114)
I think I can code this myself, but asking never hurts: would you please look into integrating this within the infraction system? (if PM's are required, like we do). I believe the correct template is userinfraction, but I'm not really sure , since I only see a reference to $messagearea. Integration with the infraction system would be most helpful for us :up:

Yes, canned infraction texts would be most welcome.

Quote:

Originally Posted by Hasann (Post 1590312)
nice but this modification don't use vbulletin standarts coding style sorry it is not for me at all you should code with vbulletin standarts

I hope there is no serious problem. Please explain what is wrong.

bananalive 08-04-2008 07:10 AM

I've updated this to v1.1 which includes usergroup permissions and optional template edits for use of canned replies in newthread and userinfractions.

briansol 08-04-2008 06:17 PM

Quote:

Originally Posted by Hasann (Post 1590312)
nice but this modification don't use vbulletin standarts coding style sorry it is not for me at all you should code with vbulletin standarts

agreed.

This is not coded very well and uses 8 queries where 1 would suffice.

good concept, bad execution.

http://www.vbulletin.com/docs/html/main/codestandards

PinkDaisy 08-04-2008 08:09 PM

I have installed this. Everything seems to be working okay, but when I go to use it to test it, I get:

The following errors occurred with your submission
The message you have entered is too short. Please lengthen your message to at least 1 characters.

-----------

any ideas? it even happens if I put a smilie in the box.

PinkDaisy 08-04-2008 08:20 PM

oh and it seems to work okay for my other admin, but not for me. ??

JoomlArt 08-05-2008 03:21 AM

Quote:

Originally Posted by PinkDaisy (Post 1591405)
I have installed this. Everything seems to be working okay, but when I go to use it to test it, I get:

The following errors occurred with your submission
The message you have entered is too short. Please lengthen your message to at least 1 characters.

-----------

any ideas? it even happens if I put a smilie in the box.

I have the same problem. When we choose the canned replies from dropdown list. The text is not prefilled into the editor textarea.
vBulletin? Version 3.7.0

Hornstar 08-05-2008 06:23 AM

What about the pm system? will it work there?

bananalive 08-05-2008 12:56 PM

Quote:

Originally Posted by briansol (Post 1591334)
This is not coded very well and uses 8 queries where 1 would suffice.
good concept, bad execution.
http://www.vbulletin.com/docs/html/main/codestandards

The next version comes with less queries, available later today.
Quote:

Originally Posted by PinkDaisy (Post 1591405)
I have installed this. Everything seems to be working okay, but when I go to use it to test it, I get:

The following errors occurred with your submission
The message you have entered is too short. Please lengthen your message to at least 1 characters.

-----------

any ideas? it even happens if I put a smilie in the box.

Quote:

Originally Posted by PinkDaisy (Post 1591409)
oh and it seems to work okay for my other admin, but not for me. ??

What is the exact title and message you are trying to use (you can pm it to me if it contains personal info)?
Quote:

Originally Posted by JoomlArt (Post 1591610)
I have the same problem. When we choose the canned replies from dropdown list. The text is not prefilled into the editor textarea.
vBulletin? Version 3.7.0

Have you applied the template edits? Is the editor box active?
Quote:

Originally Posted by hornstar1337 (Post 1591659)
What about the pm system? will it work there?

No currently, I will release the template edits necessary for this in the next release, available later today.

JoomlArt 08-05-2008 04:07 PM

Quote:

Originally Posted by JoomlArt View Post

I have the same problem. When we choose the canned replies from dropdown list. The text is not prefilled into the editor textarea.
vBulletin? Version 3.7.0

Have you applied the template edits? Is the editor box active?
Yes I have applied and double check.

I should suggest testing with all type of editor (simple , standard, full editor) of vbu because the textarea ID keep changing when users switch to other mode.

Later on today, I have removed some javascript and they works. However, when I switch to other editor modes https://vborg.vbsupport.ru/external/2011/07/26.gif , it stop working

Thank you for releasing new version today. I am eager to be the one to download the new version

bananalive 08-05-2008 07:19 PM

Quote:

Originally Posted by JoomlArt (Post 1591983)
Yes I have applied and double check.

I should suggest testing with all type of editor (simple , standard, full editor) of vbu because the textarea ID keep changing when users switch to other mode.

Later on today, I have removed some javascript and they works. However, when I switch to other editor modes https://vborg.vbsupport.ru/external/2011/07/26.gif , it stop working

Thank you for releasing new version today. I am eager to be the one to download the new version

I have coded and tested it for the WYSIWYG and standard editors (defaults). Are you using the basic editor?
On which template are you referring to?

bananalive 08-05-2008 07:22 PM

v1.2 Released
- streamlined code
- additional template edits available for use with PM system

You are recommended to update from previous versions. Please note the template edits are now different.

PinkDaisy 08-05-2008 10:24 PM

I updated and still am having the same problems. :(

Koroku 08-06-2008 12:15 AM

I didn't see the Canned Replies drop downs anywhere...

bananalive 08-06-2008 08:51 AM

Quote:

Originally Posted by PinkDaisy (Post 1592215)
I updated and still am having the same problems. :(

The current version only works when using the enhanced interface. I am looking into fixing this.
Quote:

Originally Posted by Koroku (Post 1592274)
I didn't see the Canned Replies drop downs anywhere...

Update to the latest version, and apply template edits.

Internetcafe 08-06-2008 10:31 AM

Quote:

Originally Posted by Koroku (Post 1592274)
I didn't see the Canned Replies drop downs anywhere...

Just upgraded to 1.4 and all template edits done .. usergroup permissions set to YES !?

OcR Envy 08-06-2008 01:31 PM

I do not see canned replies anywhere as well. Also had to manually edit my usercp in order to get the link to show up.

Template edits where done and usergroup permissions where yes.
Appears to be some kind of error in your code while including the php file as $cannedreplies returns nothing.

bananalive 08-06-2008 02:20 PM

Quote:

Originally Posted by Internetcafe (Post 1592515)
Just upgraded to 1.4 and all template edits done .. usergroup permissions set to YES !?

Quote:

Originally Posted by OcR Envy (Post 1592626)
I do not see canned replies anywhere as well. Also had to manually edit my usercp in order to get the link to show up.

Template edits where done and usergroup permissions where yes.
Appears to be some kind of error in your code while including the php file as $cannedreplies returns nothing.

Sorry about that, I've uploaded v1.4 again, just re-import the product (this fixes the dropdown menu appearing and also the link displaying in usercp)

JoomlArt 08-06-2008 02:23 PM

The same here. 1.4 version installed. template edits as instructed. Nothing show up

bananalive 08-06-2008 02:49 PM

Quote:

Originally Posted by JoomlArt (Post 1592682)
The same here. 1.4 version installed. template edits as instructed. Nothing show up

Try downloading the zip again here and importing the product again. I updated it only 3 mins before your post.

JoomlArt 08-06-2008 02:57 PM

Thanks for your effort so far. It seems to work now. But in FF3, it only work if I change the editor mode to wysiwyg. In Plain text mode, when I change the canned reply from the drop down the text is in textarea is not changed.

bananalive 08-06-2008 03:03 PM

Quote:

Originally Posted by JoomlArt (Post 1592718)
Thanks for your effort so far. It seems to work now. But in FF3, it only work if I change the editor mode to wysiwyg. In Plain text mode, when I change the canned reply from the drop down the text is in textarea is not changed.

Canned Replies works fully with Enhanced Interface - Full WYSIWYG Editing; I am currently working on finding a way for its use in Basic & Standard Editors.

Internetcafe 08-06-2008 03:12 PM

Quote:

Originally Posted by bananalive (Post 1592678)
Sorry about that, I've uploaded v1.4 again, just re-import the product (this fixes the dropdown menu appearing and also the link displaying in usercp)

Working fine now .. thanks :up:

PinkDaisy 08-06-2008 11:16 PM

Okay, not sure if this matters. I just tested this in another browser on my site, I just used netscape and it worked fine. But for IE7, it seems to not work for me. So this is a browswer issue for me, not sure why tho.

|Jordan| 08-07-2008 04:29 AM

I installed the plugin, did all the template edits and enabled it for my usergroups and i still dont see the link in usercp. I installed version 1.4.4

bananalive 08-07-2008 07:22 AM

Quote:

Originally Posted by |Jordan| (Post 1593126)
I installed the plugin, did all the template edits and enabled it for my usergroups and i still dont see the link in usercp. I installed version 1.4.4

Quick Links -> User Control Panel -> Edit Your Canned Replies
Its in group Settings & Options on the left of page, directly below Edit Ignore List

bananalive 08-07-2008 11:54 AM

**update**

v2.0 additions
- completely recoded
- less template edits
- vB editor integrated into adding/editing canned replies


All times are GMT. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02240 seconds
  • Memory Usage 1,849KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete