vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Quick PM Reply Box for Private Messages (https://vborg.vbsupport.ru/showthread.php?t=59999)

Erwin 01-09-2004 10:00 PM

Quick PM Reply Box for Private Messages
 
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! :D


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.

g-force2k2 01-10-2004 07:53 AM

Thanks Erwin for the hard working hacking you've been doing lately :)

I'm sure plenty of people will appreciate this hack.

Cheers,
g-force2k2

SnowBot 01-10-2004 07:58 AM

[high]* SnowBot hits the button :)[/high]

ta fella

Erwin 01-10-2004 07:58 AM

Quote:

Originally Posted by g-force2k2
Thanks Erwin for the hard working hacking you've been doing lately :)

I'm sure plenty of people will appreciate this hack.

Cheers,
g-force2k2

No problems. :) It's my pleasure.

Erwin 01-10-2004 09:29 AM

Okay, I had to re-edit the installation file - I got the name of the template wrong. I also added the Message Tracking checkbox feature to the Quick PM Reply Box.

If you downloaded this hack before this post was made, please re-download and re-install it. :)

You can test the Message Tracking checkbox in the Quick PM Reply Box here at vBulletin.org - it works. ;)

Like I said above, the PopUp Message Tracking Window still happens in the Normal PM Reply Page. For Quick PM Reply - there is no PopUp Window - use the checkbox instead. ;)

hume 01-10-2004 09:33 AM

Quote:

The installations instructions are in the install HTML file in the ZIP file below
I can't see file ZIP???

Erwin 01-10-2004 09:34 AM

Quote:

Originally Posted by hume
I can't see file ZIP???

It's there now. :) I was updating the instructions.

SnowBot 01-10-2004 09:36 AM

nice and fast mate, ta

Boofo 01-10-2004 10:09 AM

Excellent work! Been waiting for this one. ;)

I have run into a small problem, though. The Delete this message checkbox no longer works with the hack installed. Did I miss something when installing it?

EDIT: The delete this message box doesn't work on here now, either.

PranK 01-10-2004 11:04 AM

Erwin - you rock!

/me clicks install

Christian


All times are GMT. The time now is 06:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01212 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete