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.
no i have had problems with delete (from inside an open message sence i installed it). if you press delete it sends a blank pm back to the person who sent you a pm in the first place.
no i have had problems with delete (from inside an open message sence i installed it). if you press delete it sends a blank pm back to the person who sent you a pm in the first place.
But that makes me think that it IS just a cut-and-pasting error on both of our parts... Although both you and I have problems with our delete buttons, it's not the same problem.
My delete button doesn't do anything at all -- no delete, no blank message sent.
Your delete button sends blank messages.
If it were an error with the coding, it should result in the same errors (or at least similar errors) for both of us.
Anyone else go the delete button working on their 3.0.7 board?
I'm having a problem with this hack interfering with requested read receipts. It doesn't force someone to confirm/deny read receipts when someone tries to leave a PM screen as it did before, and many people seem to conveniently skip over that button when I need to send out something important and dated.
Is there a minor fix for this somewhere I've missed in this thread while skimming it for keywords or am I the only one with this problem?
But that makes me think that it IS just a cut-and-pasting error on both of our parts... Although both you and I have problems with our delete buttons, it's not the same problem.
My delete button doesn't do anything at all -- no delete, no blank message sent.
Your delete button sends blank messages.
If it were an error with the coding, it should result in the same errors (or at least similar errors) for both of us.
Anyone else go the delete button working on their 3.0.7 board?
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried.
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried.
Erwin - Can you port this to 3.5? I find it really useful
Hey Angel (and others). Thought I'd write because I found some important info:
Quote:
Originally Posted by angelicGrace
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried.
Okay... since on one was willing to do all the work to get my lazy ass an answer and save me the work (lol), I went back and looked at this all again.
Turns out (er... as is most often the situation) that I was the problem. I thought I was too smart
To answer my own question:
Yes, this hack works great -- ALL OF THE HACK, INCLUDING THE DELETE -- with 3.0.7.
The delete works, both deleting messages and not sending blank messages. The reply works, sending a message, etc. The "Request Confirmation Recipt" works....
With 3.0.7 (dunno about any other version of vB, but it all works perfectly with 3.0.7)
The problem I was having, and I assume the problems others are having, come from not following the instructions VERBATIUM
See... I thought I was smarter. When Erwin posted the last instruction:
Quote:
2. Edit the template 'pm_showpm' -
AT THE BOTTOM OF THE TEMPLATE, ADD:
HTML:
$quickpmreply
I thought... he can't possibly mean the BOTTOM.
See... there's a table on that template. A table and a form. You've gotta put the $quickpmreply IN the table, don't you!? You've got to put the $quickpmreply IN the form, don't you!?
And so, I struggled with placing $quickpmreply in different places in the existing template... in the table... making new tables... in the form...
It never worked.
When I put it once place it wouldn't delete the message. In another, it would sent blank PMs when I attempted to delete the message. But -- WHEN PLACED IN THE EXISTING FORM OR TABLE -- it would NOT work correctly.
So I finally did what Erwin's instructions said:
Quote:
2. Edit the template 'pm_showpm' -
AT THE BOTTOM OF THE TEMPLATE, ADD:
HTML:
$quickpmreply
...knowing full well that it wouldn't work (cause of all my "smart" thinking detailed above.
Er... guess what?
It worked perfectly.
So... when Erwin says
Quote:
2. Edit the template 'pm_showpm' -
AT THE BOTTOM OF THE TEMPLATE, ADD:
HTML:
$quickpmreply
He MEANS AT THE BOTTOM OF THE TEMPLATE. AFTER the </tr>. AFTER the </form>. After EVERYTHING... at the BOTTOM of the template.