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 (Coder) 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:	853
Size:	50.5 KB
ID:	113403   Click image for larger version

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

Name:	Quote_Post_in_PM_03.png
Views:	622
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

Comments
  #2  
Old 02 Mar 2010, 14:35
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Reserved
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #3  
Old 02 Mar 2010, 15:50
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
First! I'll check this out later thanks.
Reply With Quote
  #4  
Old 02 Mar 2010, 16:24
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Real name: allan
Very good idea
__________________
-------------------------------------------------------------------------------------------
Administrator vBulletin-Ressources.com, French vBulletin Resources.
Reply With Quote
  #5  
Old 02 Mar 2010, 17:08
Xeyn Xeyn is offline
 
Join Date: Jun 2009
installed......now i get lots of errors in threads like

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xxxxxx/public_html/forum/includes/class_postbit.php(314) : eval()'d code on line 345

using 4.0.2
Reply With Quote
  #6  
Old 03 Mar 2010, 00:04
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
When I go to a thread I get this.

Unable to add cookies, header already sent.
File: /home/clandigi/public_html/includes/class_postbit.php(314) : eval()'d code
Line: 369
Reply With Quote
  #7  
Old 03 Mar 2010, 10:23
OturanBoğa OturanBoğa is offline
 
Join Date: Nov 2008
Reserved. Very good...
Reply With Quote
  #8  
Old 03 Mar 2010, 12:42
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Allan View Post
Very good idea
Originally Posted by OturanBoğa View Post
Reserved. Very good...
Thanks people!

Originally Posted by Xeyn View Post
installed......now i get lots of errors in threads like

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xxxxxx/public_html/forum/includes/class_postbit.php(314) : eval()'d code on line 345

using 4.0.2
Originally Posted by Cableguy69 View Post
When I go to a thread I get this.
This one if fixed now!
Thanks!
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #9  
Old 03 Mar 2010, 15:02
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
Nice mod but I get this error:


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

__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #10  
Old 03 Mar 2010, 15:13
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
@Coder replace the fetch(templatename) with fetch(vB_Template)

Good luck.
Reply With Quote
  #11  
Old 03 Mar 2010, 18:41
Sworm Sworm is offline
 
Join Date: Feb 2008
Originally Posted by archet1337 View Post
Nice mod but I get this error:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Same error for me!! Only disable for the moment, waiting a fix.
Reply With Quote
  #12  
Old 04 Mar 2010, 09:39
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by archet1337 View Post
Nice mod but I get this error:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Originally Posted by Sworm View Post
Same error for me!! Only disable for the moment, waiting a fix.
Get a new one, please!

v4.0.104 - 04.03.2010
- New option "Trim Post's Text"
- Fixed PHP Warning: fetch_template() calls should be replaced by the vB_Template class.
- Fixed PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array
- Old variables for template "qpipm_quote" replaced by new variables: "{vb:raw qpipm_originalposterandpostid}", "{vb:raw qpipm_originalposter}", "{vb:raw qpipm_originalpostid}" and "{vb:raw qpipm_pagetext}"
- Added one new phrase
- Updated some phrases

Originally Posted by ChopSuey View Post
@Coder replace the fetch(templatename) with fetch(vB_Template)

Good luck.
I know this one. I just forgot to update that code.
Fixed now!
Thanks for your comment!
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #13  
Old 04 Mar 2010, 11:40
darren1981 darren1981 is offline
 
Join Date: Oct 2008
Very impressive
Reply With Quote
  #14  
Old 12 Apr 2010, 00:11
Sunka Sunka is offline
 
Join Date: Mar 2008
Installed!
Reply With Quote
  #15  
Old 21 Apr 2010, 19:29
iadventure iadventure is offline
 
Join Date: Feb 2010
can I get the 4.01 version?
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 17:10.

Layout Options | Width: Wide Color: