Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Quick PM Reply Box for Private Messages Details »»
Quick PM Reply Box for Private Messages
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

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.

Comments
  #122  
Old 05-30-2005, 02:03 PM
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Location: Up in the clouds
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #123  
Old 05-31-2005, 08:30 PM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by angelicGrace
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?
Reply With Quote
  #124  
Old 06-05-2005, 12:19 AM
coRtALoS's Avatar
coRtALoS coRtALoS is offline
 
Join Date: Apr 2003
Location: Northeastern U.S.
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #125  
Old 06-05-2005, 01:05 AM
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Location: Up in the clouds
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfarmerhi
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.
Reply With Quote
  #126  
Old 08-12-2005, 11:30 PM
hydrostatic hydrostatic is offline
 
Join Date: Jun 2005
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Erwin - Can you port this to 3.5? I find it really useful
Reply With Quote
  #127  
Old 08-14-2005, 02:10 AM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Works great.

Um... thanks Erwin
Reply With Quote
  #128  
Old 08-31-2005, 11:01 AM
Shak Shak is offline
 
Join Date: Sep 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.0.8 here

installed the hack on a untouched private.php

dont work, only sends the previous message back..

any ideas here ?
Reply With Quote
  #129  
Old 08-31-2005, 08:40 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hydrostatic
Erwin - Can you port this to 3.5? I find it really useful
I would love to see this too.
Reply With Quote
  #130  
Old 09-29-2005, 01:20 AM
adill420 adill420 is offline
 
Join Date: Dec 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind..

guys for those who can't get this to work..only blank pms going its because the the variable needs to go after </form>

basically the form has to close in order for the new form which is quick reply to open..
Reply With Quote
  #131  
Old 10-02-2005, 10:45 PM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gray Matter
I would love to see this too.
Me three.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06645 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete