Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4047)
PM QUICK REPLY v1.11
By Dougiefresh (http://www.simplemachines.org/community/index.php?action=profile;u=253913) -> Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=4047)
IntroductionThis mod adds a quick reply box to the Personal Message (PM) area when viewing PMs, as well as per-user options to show, hide or disable the PM Quick Reply box.
Compatibility NotesThis mod was tested on SMF 2.0.10, but should work on SMF 2.1 RC2, as well as any version of SMF 2.0.x. Versions below SMF 2.1 RC2, as well as SMF 1.x, is not and will not be supported.
This mod should
NOT be used with Enhanced PM System (http://custom.simplemachines.org/mods/index.php?mod=3736) versions 3.0 and higher, as that mod will have this mod integrated into it. It may be used with versions below v3.0, however, the "copy to outbox" checkbox may still be active and may not properly save your quick PMs as part of the conversation. This is due to the Enhanced PM System mod not "fixing" this member option within the source file before displaying the template.
ChangelogThe changelog can be viewed at XPtsp.com (http://www.xptsp.com/board/free-modifications/pm-quick-reply/?tab=1).
LicenseCopyright (c) 2015 - 2019, Douglas Orend
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Nice idea. I already have similar idea since I made quick reply reposition mod but haven't got time to look into it. The only extra idea I have is to make it an ajax reply and I think you can do that too. I do see the future of this promising mod, so, keep it up.
Uploaded v1.1 - May 15th, 2015
o PM Quick Reply settings moved to the PM Settings template.
Uploaded v1.2 - June 5th, 2015
o Updated for SMF 2.1 Beta 1.
Love, love, love this. ;D
I'm seeing this error though I haven't been able to pinpoint the exact steps that cause it:
8: Undefined index: pm_quick_reply
Apply Filter: Only show the errors from this file
File: /home/*****/public_html/forums/Themes/default/PersonalMessage.template.php
Line: 561
Edit: just found that if I go to my pm box with no messages and then go to the index page of the forum, I get that error.
Btw, the error has no effect on functionality that I can find. It's just annoying to have it show up next to the admin button.
@Steve: Can't reproduce this.... Can you attach your Themes/default/PersonalMessage.template.php and Sources/PersonalMessage.php files? Thanks in advance.
Here ya go. :)
Uploaded v1.3 - June 6th, 2015
o Fixed undefined index error in PersonalMessage.template.php.
@Steve: Whoops!! I forgot that I had to turn on the PM quick reply box in the PM settings before it would show the box. Once I did, I could reproduce the error on the same line (not same line NUMBER) as your report. This update fixes this issue. Thanks for the bug report!
I'm still getting the exact same error, Dougie. :(
Don't know if this helps but when I click to send a message, I get this error also:
8: Undefined index: pm_quick_reply
Apply Filter: Only show the errors from this file
File: /home/************/public_html/forums/Themes/default/PersonalMessage.template.php
Line: 625
Both errors seem to generate only when the pm box has no messages.
Uploaded v1.4 - June 8th, 2015o Added additional restriction so PM Quick Reply isn't shown if no PMs are present.
o Fixed undefined index error in
PersonalMessage.template.php for SMF 2.0.
@Steve: I thought I fixed that error in both
install.xml files. Turns out it was only the SMF 2.1 install file.... My bad.... v1.3 Changelog should read:
Quotev1.3 - June 6th, 2015
o Fixed undefined index error in PersonalMessage.template.php for SMF 2.1.
Works a treat now Dougie. Thanks a bunch!
$txt['display_pm_quick_reply'] = 'Usar a resposta rápida nas mensagens privadas: ';
$txt['display_quick_reply1'] = 'Não mostrar';
$txt['display_quick_reply2'] = 'Mostrar, desligado por defeito';
$txt['display_quick_reply3'] = 'Mostrar, ligado por defeito';
$txt['display_pm_quick_reply'] = 'Usar a resposta rápida nas mensagens privadas: ';
$txt['display_quick_reply1'] = 'Não mostrar';
$txt['display_quick_reply2'] = 'Mostrar, desligado por defeito';
$txt['display_quick_reply3'] = 'Mostrar, ligado por defeito';
Thank you, Costa! I'll include it in the next version, once I figure out what the search string should be....
Uploaded v1.5 - July 11th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 1 and 2.
@Costa: I'm sorry, I must be REALLY slow at searching for text strings.... O:) Either that, or I completely forgot about adding them to the mod. I apologize....
Uploaded v1.6 - August 4th, 2017
o Added Portuguese_PT language translation, courtsey of Costa (https://www.simplemachines.org/community/index.php?action=profile;u=169940). Thanks, Costa!
@Costa: Thanks for the translation! Sorry it took so long to get it into the mod! (Only took 2 years.... O:) What a record! ::))
in your language_portuguese_pt.xml & language_portuguese_pt-utf8.xml files, you might wanna change them to:
<file name="$languagedir/Profile.portuguese_pt.php" error="skip">
<file name="$languagedir/Profile.portuguese_pt-utf8.php" error="skip">
that way the mod does not error right off the bat on non-portuguese forums :)
Uploaded v1.7 - Agust 26th, 2017
o Fixed Portuguese_PT language files so that non-portuguese forums skip operations.
@thepitster: You're absolutely right! I've made that change in the mod! Thank you for the report!
Hello! Great Mod! Thank you!
But I have a little problem, mod default settings for users cannot be set,
via "Admin - Themes - My theme - User settings - registred user settings",
I changed it to "show, on by default" and apply, but it didn't has any effect...
also it doesn't work for new users, when i change "Admin - Themes - My theme - User settings - new user settings".
I'm using SMF 2.0.14 Any suggestions? Maybe there is a workaround, to change default mod settings manually in theme files?
Quote from: ILUXA on September 23, 2017, 11:11:40 AM
Hello! Great Mod! Thank you!
But I have a little problem, mod default settings for users cannot be set,
via "Admin - Themes - My theme - User settings - registred user settings",
I changed it to "show, on by default" and apply, but it didn't has any effect...
also it doesn't work for new users, when i change "Admin - Themes - My theme - User settings - new user settings".
I'm using SMF 2.0.14 Any suggestions? Maybe there is a workaround, to change default mod settings manually in theme files?
I apologize about not responding to your bug report earlier. There isn't a global option in this mod for this particular setting. I'll see what I can do about adding that option into the mod.
Well they are easy translations so before going to sleep :laugh: I leave the .xml ready with the normal Latin Spanish version with its respective utf8 ... tomorrow I continue with the longer ones ;)!
Regards!
Uploaded v1.8 - November 19th, 2017
o Added option to change PM quick reply display options globally.
o Corrected PM quick reply display string to reflect that the option is for PMs.
@ILUXA: Your feature request (or bug report, whichever) has been added to the mod! Thank you!
@Rock Lee: I just found that the english strings weren't quite correct. The display_pm_quick_reply string has been changed for version 1.8. Can you update your translations to reflect the new strings? Once corrected, I'll add the files in the next version. Thank you!
@dougiefresh It seemed strange to me when I translated, I got lost in my dreams and I was very crazy in the morning. Anything warn me to repair it, or for what you need :)
Regards!
Uploaded v1.9 - November 20th, 2017
o Added Spanish Latin translation, courtsey of Rock Lee (https://www.simplemachines.org/community/index.php?action=profile;u=322597).
@Rock Lee: Thank you for the translation! It's been included in this version!
Uploaded v1.10 - October 23rd, 2018
o No functionality change.
o Updated documentation to point to new website.
Uploaded v1.11 - May 22nd, 2019
o Added support for SMF 2.1 RC2.
o Removed support for SMF 2.1 Beta 3.