Quote Post in PM
=================
Info:
=================
This product adds a new option in user's popup menu "Quote this post in PM" with the new URL having the title attribute "Quote this post in PM to *username*".
This option passes to new personal message (PM): post's text, 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).
It can also add image-link to 'postbit' and 'postbit_legacy' templates.
And even replace in popup menu the URL and the phrase for option "Private Message" with its own URL and phrase.
Futures of this hack:
Use this version only with vBulletin 4.2.0 or greater.
For vBulletin 4.0.* or 4.1.* use version 4.0.106 which have the same functionality.
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. (http://www.vbulletin.org/forum/showthread.php?t=150769)
Thanks go to Abe1 for his comments. (http://www.vbulletin.org/forum/showthread.php?t=150769)
Thanks goes to amykhar for his original 'Quote Post in PM' hack idea.
Thanks goes to cellarius for his how to thread. (http://www.vbulletin.org/forum/showthread.php?t=228078)
=================
Notes:
=================
Please, read Read_Me - About.txt file inside archive!
Download tuoitreit.vn_Quote_Post_in_PM_v4-2-107.zip (302.1 kb)
=================
Info:
=================
This product adds a new option in user's popup menu "Quote this post in PM" with the new URL having the title attribute "Quote this post in PM to *username*".
This option passes to new personal message (PM): post's text, 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).
It can also add image-link to 'postbit' and 'postbit_legacy' templates.
And even replace in popup menu the URL and the phrase for option "Private Message" with its own URL and phrase.
Futures of this hack:
- There is option to enable/disable hack.
- The hack is fully translatable.
- The hack can update popup menu automatically using hook $template_hook[memberaction_dropdown_items]. You can disable this one.
- The hack can update 'postbit' and 'postbit_legacy' templates automatically using hook $template_hook[postbit_controls]. You can disable this one.
- The hack can replace in popup menu the URL and/or the phrase for "Private Message" option with its own URL and/or phrase.
- The hack uses its own template "qpipm_quote". You can change it as you like. The variables: "$originalposterandpostid", "$originalposter", "$originalpostid" and "$pagetext" can be 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 threads' and posts' 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 "{vb:raw qpipm}". Read "Notes:" below.
- You can insert the template of this hack manually anywhere you want in postbit by using "{vb:raw qpipm_postbit}". Read "Notes:" below.
- You can translate this hack into your native language. Search for Phrases Containing "qpipm_".
- You can set your own PM's title for both threads' and posts' PMs. Search for phrases 'qpipm_own_title_thread' and 'qpipm_own_title_post'.
- Option "Use Post's Number in PM's Title". Setting this to "Yes" will use post's number instead of thread's or post's title in PM's title field where available.
- Option "Use Thread's Title even if there is Post's Title". Setting this to "Yes" will always fill the new PM's title field with thread's title, even if there is post's title.
- Option "Trim Post's Text" allows you to trim the post's text been quoted to new PM.
- And other great options.
Use this version only with vBulletin 4.2.0 or greater.
For vBulletin 4.0.* or 4.1.* use version 4.0.106 which have the same functionality.
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. (http://www.vbulletin.org/forum/showthread.php?t=150769)
Thanks go to Abe1 for his comments. (http://www.vbulletin.org/forum/showthread.php?t=150769)
Thanks goes to amykhar for his original 'Quote Post in PM' hack idea.
Thanks goes to cellarius for his how to thread. (http://www.vbulletin.org/forum/showthread.php?t=228078)
=================
Notes:
=================
Please, read Read_Me - About.txt file inside archive!
Download tuoitreit.vn_Quote_Post_in_PM_v4-2-107.zip (302.1 kb)