Back to vBulletin 3.7 Add-ons

Quote Post in PM
Mod Version: 3.7.104, by Makc666

This modification is in the archives.
vB Version: 3.7.x Rating: (10 votes - 4.50 average) Installs: 118
Released: 29 Apr 2008 Last Update: 01 May 2008 Downloads: 462
Not Supported Uses Plugins  

Quote Post in PM

=================
Info:
=================


This product adds a new option in user's popup menu "Quote this post in PM to ..."
This option passes to the PM: the username of the post, post id, as well as the post title (if there is one) or thread title (if there is no post title).

Futures of this hack:
- There is option to enable/disable hack.
- The hack is fully translatable.
- The hack updates popup menu automatically using hook $template_hook[postbit_user_popup]. You can disable this one.
- The hack uses its own template "qpipm_quote". You can change it as you like. The variables: "$originalposterandpostid", "$originalposter", "$originalpostid" and "$pagetext" are used in that template.
- There is option "Automatically Quote Post / Thread Title". Setting this to "Yes" will automatically fill the title of new PM with either the thread or the parent post title, prefixed by 'Re: '.
- You can change 'Re: ' for both thread and post PMs. Search for phrases 'qpipm_re_thread' and 'qpipm_re_post'.
- You can insert the template of this hack manually anywhere you want in user's popup menu by using "$qpipm". Read "Notes:" below.
- You can translate this hack into your native language. Search for Phrases Containing "qpipm_".

From version 3.7.104 this product doesn't use some Boofo's copyrighted code from his hack "Quote Post in PM" (Quote Post in PM). without his permission.

- Use version 3.7.104 only with 3.6.8 or greater.

Enjoy!

=================
Installation:
=================


Install the product

=================
Administration:
=================


To set up the products options go to: AdminCP > vBulletin Options > Quote Post in PM
Make translation of phrases containing "qpipm_"

=================
Greetings:
=================

A special thanks goes out to Dismounted for helping me with hook $template_hook[postbit_user_popup] problems.
(index.php?t=150769)
Thanks go to Abe1 for his comments.
(index.php?t=150769)
Thanks goes to Boofo for his original hack "Quote Post in PM" (Quote Post in PM)

=================
Notes:
=================


If you want to insert this hack in templates manually:

1.
Go to AdminCP > vBulletin Options > Quote Post in PM
Set "Update popup menu automatically" to "No".

2.
Open Templates: (Note: there are two different templates to open!)
Code:
postbit
postbit_legacy

Find:
Code:
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>

Add After:
Code:
	$qpipm

=================
History:
=================


v3.7.100 - 02.07.2007
- First release

v3.7.101 - 01.08.2007
- Just removed the code which is not needed any more if you have vBulletin 3.6.8 or greater

v3.7.102 - 17.09.2007
- Made phrase "qpipm_quote_post_in_pm" more comfortable for translation
- Fixed template "qpipm_menu"

v3.7.103 - 29.04.2008
- Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
- New options "USERGROUPS can use quote", "USERGROUPS not allowed to use quote", "USERS not allowed to use quote"
- New variable "$originalposterandpostid" introduced - it is returned with post number in it
- vBulletin function fetch_quote_username() is used now in generating user's name in variable "$originalposterandpostid"
- vBulletin function fetch_quote_username() is used now in generating user's name in variable "$originalposter"
- Variables "$originalposter" and "$originalpostid" was removed from template "qpipm_quote" but you can still use them there if you want

v3.7.104 - 01.05.2008
- New option "Automatically Add Title" allowes you to switch quoted PM's title at all
- New option "Always Use Thread's Title"
- Option "Automatically Add Prefix To Title" was separated
- Template "qpipm_menu" is more orderly nore without any changes in it's code
- From this version the product doesn't use some Boofo's copyrighted code without his permission

=================
Mark as Installed:
=================


Click to get an email when an update is released!

=================
Other versions of modification:
=================

Download

This modification is archived, downloads are still allowed.

File Type: %1$s Quote_Post_in_PM_v3-7-104.zip (168.6 KB, 470 downloads)

Screenshots

Click image for larger version
Name:	Quote_Post_in_PM_01.png
Views:	645
Size:	65.7 KB
ID:	79460   Click image for larger version
Name:	Quote_Post_in_PM_02.png
Views:	528
Size:	70.6 KB
ID:	79461   Click image for larger version
Name:	Quote_Post_in_PM_03.png
Views:	267
Size:	33.6 KB
ID:	79463  

Similar Mods

Show Thread Enhancements No Quote in First post vBulletin 3.6 Add-ons
New Posting Features Quote Post in PM Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024