Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 01-10-2004, 08:03 PM
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I updated the ZIP file with the new templates to cache.
heh, was about to post a fix.. beat me to it. ;P
Reply With Quote
  #23  
Old 01-10-2004, 08:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go, sir.

Quote:

'pm_newpm',
'editor_clientscript'
,
'editor_jsoptions_font'
,
'editor_jsoptions_size'
,
'editor_smilie_wysiwyg'
,
'editor_smiliebox'
,
'editor_smiliebox_category'
,
'editor_smiliebox_row'
,
'editor_smiliebox_straggler'
,
'editor_smiliemenu_category'
,
'editor_smiliemenu_smilie'
,
'editor_toolbar_wysiwyg'
,
'newpost_disablesmiliesoption'
,
'newpost_quote'
,
'posticonbit'
,
'posticons'
,

Also, is there any way to add this:

&stripquote=1

to strip the extra quotes from the quick pm reply box?
Reply With Quote
  #24  
Old 01-10-2004, 09:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, you forgot to add:

Quote:
'editor_smiliebox_straggler',
to the templates to be cached.
Reply With Quote
  #25  
Old 01-10-2004, 09:12 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 01-10-2004, 10:12 PM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I loved the hack for vB2, ill be sure to use this one

[high]* MGM clicks Install
[/high]

MGM out
Reply With Quote
  #27  
Old 01-10-2004, 10:31 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"

Thx for the hack
Reply With Quote
  #28  
Old 01-11-2004, 03:49 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
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.
Reply With Quote
  #29  
Old 01-11-2004, 03:52 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Done!
Reply With Quote
  #30  
Old 01-11-2004, 07:01 AM
PranK PranK is offline
 
Join Date: Apr 2003
Location: Sydney, Aus
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Erwin!

[high]* PranK thanks Erwin
[/high]
^i love that thing!

Christian
Reply With Quote
  #31  
Old 01-11-2004, 07:57 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update fella

[high]* SnowBot updates[/high]
Reply With Quote
Reply


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 06:34 PM.


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.05287 seconds
  • Memory Usage 2,324KB
  • 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
  • (4)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