Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 3.8.x Rating: (10 votes - 4.90 average) Installs: 105
Released: 09 Mar 2009 Last Update: 04 Mar 2010 Downloads: 413
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 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 "Send a private message to *username*" with its own 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[postbit_user_popup]. 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 the phrase for "Send a private message to" option with its own.
  • 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 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 "$qpipm". Read "Notes:" below.
  • You can insert the template of this hack manually anywhere you want in postbit by using "$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 avaliable.
  • 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 3.8.0 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. (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.

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


1.
If you want to change some phrases with strings like {1} then you can find some useful information in file "Read_Me - FAQ - Language strings values.txt"

2.
If you want to insert this hack in templates manually:

***************
For popup menu
***************
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!)
  • postbit
  • postbit_legacy

Find (for example):

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

Add After:

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


****************************************
For postbit and postbit_legacy templates
****************************************
1.
Go to "AdminCP > vBulletin Options > Quote Post in PM"
Set "Update Postbit Automatically" to "No".

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

Find:

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

Add Before:

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

=================
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" allows you to switch quoted PM's title at all
- New option "Always Use Thread's Title"
- Option "Automatically Add Prefix To Title" was separated
- From this version the product doesn't use some Boofo's copyrighted code without his permission

v3.8.105 - 08.03.2009
- Compatible with vBulletin 3.8 Gold (may not work with Beta/RC releases)
- All Templates are cached now
- The image-link can be inserted in postbit and postbit_legacy templates automatically
- You can use your own titles for threads' and posts' PMs
- You can set your own PM's title for both threads' and posts' PMs
- New option "Use Post's Number in PM's Title"
- New option "Use Thread's Title even if there is Post's Title"

v3.8.106 - 05.08.2009
- New option "Replace URL "Send a private message to" in Popup Menu"
- New option "Replace Phrase "Send a private message to" in Popup Menu"
- Added ' rel="nofollow"' to templates "qpipm_menu" and "qpipm_postbit" to follow vBulletin standard
- Fixed some phrases for settings

v3.8.107 - 04.03.2010
- New option "Trim Post's Text"
- Added check that option "Replace URL "Private Message" will only work if the option "Update Popup Menu Automatically" is disabled!
- Added one new phrase
- Updated some phrases

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


v3.8.106 -> v3.8.107
- Import the product
- Revert template "qpipm_quote" if you changed it
- Update phrases

Any Old One -> Latest One
- Write down your settings for this product in "AdminCP > vBulletin Options > Quote Post in PM"
- Uninstall old version
- Import the product
- Set your settings back

=================
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:	677
Size:	63.6 KB
ID:	96157   Click image for larger version

Name:	Quote_Post_in_PM_02.png
Views:	524
Size:	20.8 KB
ID:	96158   Click image for larger version

Name:	Quote_Post_in_PM_03.png
Views:	541
Size:	67.3 KB
ID:	96159   Click image for larger version

Name:	Quote_Post_in_PM_04-1.jpg
Views:	132
Size:	109.5 KB
ID:	113537  

Click image for larger version

Name:	Quote_Post_in_PM_04-2.png
Views:	109
Size:	76.9 KB
ID:	113538  

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
Private Messages Enhancements Quote Post in PM Makc666 vBulletin 3.7 Add-ons 48 09 Mar 2009 11:40
Quote Post PM Mutt vBulletin 2.x Beta Releases 9 05 Mar 2003 21:01

  #16  
Old 05 Aug 2009, 12:52
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Lightbulb New version v3.8.106

v3.8.106 - 05.08.2009
- New option "Replace URL "Send a private message to" in Popup Menu"
- New option "Replace Phrase "Send a private message to" in Popup Menu"
- Added ' rel="nofollow"' to templates "qpipm_menu" and "qpipm_postbit" to follow vBulletin standard
- Fixed some phrases for settings

Originally Posted by Vitaly View Post
Thanks for mod. Could you add option to use the same menu item in popup menu? I mean, the same place, the same text, but with link changed to add quote.
As Vitaly PMed me and explained what he wanted in his message I have released the new version.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #17  
Old 10 Aug 2009, 02:30
Sunka Sunka is offline
 
Join Date: Mar 2008
Installed!
Working OK...
Thank you.
Reply With Quote
  #18  
Old 09 Sep 2009, 00:19
What Exit? What Exit? is offline
 
Join Date: Aug 2009
Very impressing add-in. It works great and was one of the things missing in vB compared to phpBB.

Thank you.
Reply With Quote
  #19  
Old 09 Sep 2009, 10:44
xyzmary2001 xyzmary2001 is offline
 
Join Date: May 2008
It is not working for me. I install the product, make the changes in postbit / postbit legacy, then, when I press "Quote" appears the "new message", but without any text quoted.

Any idea what can cause this?

The forum is quite filled with addons, may have a conflict with one of them?
Reply With Quote
  #20  
Old 15 Sep 2009, 08:10
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by xyzmary2001 View Post
It is not working for me. I install the product, make the changes in postbit / postbit legacy, then, when I press "Quote" appears the "new message", but without any text quoted.

Any idea what can cause this?

The forum is quite filled with addons, may have a conflict with one of them?
Sorry, about what "Quote" you speak?
"Quote" button in vBulletin is for replying messages.

If you have made changes in postbit / postbit legacy you have to switch off (set to "No") option(s) "Update Popup Menu Automatically" and/or "Update Postbit Automatically".
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #21  
Old 18 Sep 2009, 07:12
xyzmary2001 xyzmary2001 is offline
 
Join Date: May 2008
Thank you for the reply!

I am talking about the Quote post in PM, not about the quotes button. It leads me to the PM box, but shows no quote there. I have already switched off those two options, this is the main problem. I did everything I could and still nothing.
Reply With Quote
  #22  
Old 21 Sep 2009, 08:18
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by xyzmary2001 View Post
Thank you for the reply!

I am talking about the Quote post in PM, not about the quotes button. It leads me to the PM box, but shows no quote there. I have already switched off those two options, this is the main problem. I did everything I could and still nothing.
What version of vBulletin do you use?

When you install this product and don't use any templates modification for it do you see the link "Quote this post in PM to <user name>" in pop-up menu?

About what modification in you templates you had made do you speak? Tell me.

What setting in ACP for this mod do you use?
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #23  
Old 21 Sep 2009, 15:21
Sworm Sworm is offline
 
Join Date: Feb 2008
Hi,
i have installed the previous mod of this (for vb 3.7),
should be better to upgrade to this one?
If so is necessary to uninstall the other one or i must overwrite?
Reply With Quote
  #24  
Old 22 Sep 2009, 09:13
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Sworm View Post
Hi,
i have installed the previous mod of this (for vb 3.7),
should be better to upgrade to this one?
If so is necessary to uninstall the other one or i must overwrite?
In the first post there is a HISTORY of changes.

Also there is a section "How to Update".
Follow the instructions there for section "Any version -> v3.8.105"

I recommend you to update to the latest one.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #25  
Old 01 Jan 2010, 08:58
Sworm Sworm is offline
 
Join Date: Feb 2008
I don't have test your mod on my live vb4, can i use it on vb4 gold?

Thanks
Reply With Quote
  #26  
Old 05 Jan 2010, 01:26
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Sworm View Post
I don't have test your mod on my live vb4, can i use it on vb4 gold?

Thanks
No. You can use this one on vb4 gold.

I already made a new one but there are some things I need to clear out before releasing this one to 4.*.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #27  
Old 14 Feb 2010, 18:53
Sworm Sworm is offline
 
Join Date: Feb 2008
I'm always waiting for your great vb4 version Thanks for your work Mack666
Reply With Quote
  #28  
Old 18 Feb 2010, 13:36
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Great job with this mod. It should be default in VB but better we have it as a mod.
Thx.
Reply With Quote
  #29  
Old 19 Feb 2010, 21:11
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Sworm View Post
I'm always waiting for your great vb4 version Thanks for your work Mack666
Originally Posted by imedic View Post
Great job with this mod. It should be default in VB but better we have it as a mod.
Thx.
As 4.0.2 is here I am testing version for 4 with it.

If all will be OK I will release this one in the middle of the next week.

Thanks for you patience!
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #30  
Old 03 Mar 2010, 12:46
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Version for vBulletin 4.0.2+ is out!

You can find it here:
http://www.vbulletin.org/forum/showthread.php?t=237291
__________________
...... ...... "А стукачков мы не любим!"
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 09:11.

Layout Options | Width: Wide Color: