Version: 1.00, by Erwin
Developer Last Online: May 2013
Version: 3.0.3
Rating:
Released: 01-09-2004
Last Update: Never
Installs: 172
No support by the author.
Quick PM Reply Box for Private Messages Version 1.4
---------------------------------------------------------
vB3 Enhanced Version!
Finally, I've upgraded this popular hack for vB 3.0.x - it should work with all versions of vB3.
Update: --------------------
Version 1.4 :
1) Choose to use no toolbars, normal toolbar or WYSIWYG toolbar.
2) Choose to show smilie box or not.
3) Choose to show posticons or not.
To do this, edit these sections of the code you have added:
PHP Code:
// 0 = no toolbar, 1 = standard toolbar, 2 = wysiwyg toolbar $vboptions['allowvbcodebuttons'] = '2'; // 0 = no smilie box, 1 = smilie box shown $vboptions['wysiwyg_show_smiliebox'] = '1';
AND
PHP Code:
// Uncomment line below to stop showing posticons // $posticons = '';
Functions:
--------------------------
It's similar to Quick Reply for Threads, except that this is Quick Reply for PMs - when you go in to read a PM, there is a Quick Reply Box underneath the PM, with the Username inserted, Subject with RE: filled in, and the message already quoted.
This vB3 version also has the WYSIWYG buttons, smilies and posticon choices listed as well, depending on what you have set up in your ToolBar settings in Options. You can also now customize this - you can choose to have no toolbar, the normal toolbar, the WYSIWYG toolbar, the smilie box or the posticons or not!
There are also checkboxes to save a copy, show your signature, automatically parse links or disable smilies in text. Also, these options are in a box that is collapsible.
This hack uses the normal vB3 Phrases that are already existent. So no need to do any translating.
Installation:
---------------------------
Very simple. It's a matter of editing 1 PHP file, and 1 template.
Believe it or not, that's all!
The installations instructions are in the install HTML file in the ZIP file below.
Enjoy!
Updates:
----------------------
Version 1.2 - Fixed it so it works with WYSIWYG. Removed the Message Tracking checkbox feature I had in Version 1.1 - I'll keep the Popup Windows for now. NOTE: Delete doesn't work in Gamma - this is fixed in RC 1 and 2.
Screenshots:
-----------------------------
This is a bit redundant since this hack is already installed here, but I will put a couple up anyway.
The first screenshot shows how the Quick PM Reply Box is underneath the PM you are reading, with the Recipient's username, Subject with RE:, and Message in quotes automatically put in already. You can also see the WYSIWYG toolbar and smilie panel (depending on what you have set up in your User CP Options).
The second screenshot shows the checkboxes to save a copy, show your signature, automatically parse links or disable smilies in text. These options are in a box that is collapsible.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
1) 'posticons' in the new file has no , after it and that's giving me a parse error.
2) If I add the , it's OK until I go to read my messages, then I get "Fatal error: Call to undefined function: fetch_quote_username() in /domain/forums/private.php on line 1385".
EDIT: I got the last bit fixed by using a different PHP editing program. I still have my original problem though with reply text not being sent.
Just a remark.
Erwin, in your instruction in the zip file, you forgot the ',' after 'posticons' in the file private.php and it's the problem of Zelda_King if he does a copy-paste : result "parse error"
Yes. I'm running it on RC2 with no problems (except the Delete this message button doesn't work yet).
The Delete Button works now.
Just a note: The delete button has never worked in vB3 Gamma - it is a known vB3 Gamma bug. The fix is in the vB3 Tracker at vB.com. However, the delete button works in RC1 and 2. This issue brought me 1 hour of grief here at vB.org because we are still using Gamma here - I was trying my best to fix this here, and in the end, realized that the problem here was a Gamma bug and not due to the hack! The problem for RC1 and 2 has been fixed by me in any case.
Update: Version 1.2
--------------------------------
1. Added the correct templates to be cached.
2. Fixed the Quick PM Reply form so that it works when WYSIWYG is fully on.
3. Fixed the Delete PM button bug.
4. Removed the Message Tracking checkbox option - we are back to Popup Windows. (I'm trying to keep the hack simple).
To update:
----------------
1. Revert pm_newpm template to default - we don't have to change this anymore.
2. Replace the PHP code in private.php
3. Edit pm_showpm template and move $quickpmreply to the very BOTTOM of the template.