Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Quote Post in PM Details »
Quote Post in PM
Mod Version: 4.2.107, by Makc666 (Member) Makc666 is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (16 votes - 4.88 average) Installs: 123
Released: 02 Mar 2010 Last Update: 13 Dec 2012 Downloads: 507
Not Supported Uses Plugins Auto-Template Translations  

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:
  • 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!

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



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

=================
How to Update:
=================


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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


Click Mark as Installed to get an email when an update is released!

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Quote_Post_in_PM_01.png
Views:	858
Size:	50.5 KB
ID:	113403   Click image for larger version

Name:	Quote_Post_in_PM_02.png
Views:	642
Size:	48.7 KB
ID:	113404   Click image for larger version

Name:	Quote_Post_in_PM_03.png
Views:	627
Size:	65.0 KB
ID:	113405   Click image for larger version

Name:	Quote_Post_in_PM_04-1.jpg
Views:	280
Size:	115.0 KB
ID:	113533  

Click image for larger version

Name:	Quote_Post_in_PM_04-2.png
Views:	268
Size:	75.7 KB
ID:	113534  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks TW7S - Remove "Reply with Quote" and Multi-Quote from first post in thread LifesGreatestGift vBulletin 4.x Template Modifications 36 28 Nov 2016 15:12
Private Messages Enhancements Quote Post in PM Makc666 vBulletin 3.7 Add-ons 48 09 Mar 2009 11:40

  #16  
Old 23 Apr 2010, 09:27
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by iadventure View Post
can I get the 4.01 version?
I can't understand your question.

vBulletin prior to version 4.0.2 has some bugs which don't allow this product (and some others) to work.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #17  
Old 21 May 2010, 03:04
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
Can you make a version without template edits? Thanks.
Reply With Quote
  #18  
Old 30 Sep 2010, 08:44
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Because of wrong variable use, this mod crash nicks in threads sometime.

in hook postbit_display_complete

Find all

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
  #19  
Old 18 Oct 2010, 10:14
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Updated

v4.0.105 - 18.10.2010
- Fixed plugin "Quote Post in PM (1)" (Thanks to Vitaly - post #2104969) - could affect some forums if "Update Postbit Automatically" was not used (set to "No")
- Replaced deprecated function split() with explode() function
- Updated template "qpipm_menu" to watch changes in latest revision of template "memberaction_dropdown"

Originally Posted by ChopSuey View Post
Can you make a version without template edits? Thanks.
This Modification is Auto-Template version.

You can use Manual-Template option in this Modification if you want to edit your templates manually if they are heavy modified.

Originally Posted by Vitaly View Post
Because of wrong variable use, this mod crash nicks in threads sometime.

in hook postbit_display_complete
...
Thanks, Vitaly!

I have replaced:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #20  
Old 18 Oct 2010, 19:50
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
thanks for the great mod Makc666.
I am going to instlall this later tonight
can't believe I missed this mod..
Reply With Quote
  #21  
Old 19 Oct 2010, 02:43
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Last fix is incorrect. I've lost nicks again.

Attached my one, wich works.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.

Last edited by Vitaly; 20 Oct 2010 at 08:43.
Reply With Quote
  #22  
Old 20 Oct 2010, 08:36
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Hippy View Post
thanks for the great mod Makc666.
I am going to instlall this later tonight
can't believe I missed this mod..
Don't forget to download the archive today as there was a silent update of it

Originally Posted by Vitaly View Post
Last fix is incorrect. I've lost nicks again.

Attached my one, wich works.
Thanks, Vitaly, one more time.

I have replaced the archive with more correct fix.

The bug affected forums where option "Update Postbit Automatically" was set to "No" and option "Replace URL "Private Message" in Popup Menu" was set to "Yes".
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #23  
Old 20 Oct 2010, 19:57
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
2 thumbs up Makc666
the one I install before you upgraded, I did not find any issues with
But I will upgrade all the same
thank for your hard work
Regards
Hippy
Reply With Quote
  #24  
Old 30 Oct 2010, 22:06
murekhalir murekhalir is offline
 
Join Date: Oct 2006
is there any way to just make it a button on a postbit without looking at someone's profile name?
Reply With Quote
  #25  
Old 30 Oct 2010, 23:44
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Originally Posted by murekhalir View Post
is there any way to just make it a button on a postbit without looking at someone's profile name?
http://www.vbulletin.org/forum/attac...4&d=1267544298

should be in the instructions
Reply With Quote
  #26  
Old 05 Dec 2010, 06:28
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Can we get an update for vb4.1 PL2 please. Seems that after upgrading there is now some extra text in the text field:

<!-- BEGIN TEMPLATE: qpipm_quote -->
<!-- END TEMPLATE: qpipm_quote -->
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #27  
Old 05 Dec 2010, 10:56
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Originally Posted by Taurus1 View Post
Can we get an update for vb4.1 PL2 please. Seems that after upgrading there is now some extra text in the text field:

<!-- BEGIN TEMPLATE: qpipm_quote -->
<!-- END TEMPLATE: qpipm_quote -->
running vb4.1 PL2 here and I am not getting this ..

live board or the test board
Reply With Quote
  #28  
Old 05 Dec 2010, 14:35
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
I'm not getting the button below the post, even with the option enabled. This might be because I am running 4.1 PL2.
Reply With Quote
  #29  
Old 05 Dec 2010, 19:12
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
add the xml file again.. allow overwrite

working 100% wit the lastest 4.0.1pl2
Reply With Quote
  #30  
Old 07 Dec 2010, 03:40
smirkley smirkley is offline
 
Join Date: Apr 2008
Just downloaded and installed....

Note to coder: update dependancies to reflect current versions as at the moment will not install with 4.1.0PL2.

Made changes and works as designed.

Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:25.

Layout Options | Width: Wide Color: