Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.6.8 Rating: (13 votes - 4.77 average) Installs: 66
Released: 02 Jul 2007 Last Update: 30 Apr 2008 Downloads: 391
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 1.0.4 this product doesn't use some Boofo's copyrighted code from his hack "Quote Post in PM" (http://www.vbulletin.org/forum/showthread.php?t=115315). without his permission.

- As there was a bug introduced in vBulletin 3.6.7 (http://www.vbulletin.com/forum/proje...?issueid=22069) version 1.0.0 has some "special" code to override that bug. In version 1.0.1 this code was removed.
- Use version 1.0.4 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.
(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 Boofo for his original hack "Quote Post in PM" (http://www.vbulletin.org/forum/showthread.php?t=115315)

=================
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!)

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


Find:

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.


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


v1.0.0 - 02.07.2007
- First release

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

v1.0.2 - 17.09.2007
- Made phrase "qpipm_quote_post_in_pm" more comfortable for translation
- Fixed template "qpipm_menu"

v1.0.3 - 29.04.2008
- 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

v1.0.4 - 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 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:	117
Size:	65.7 KB
ID:	79465   Click image for larger version

Name:	Quote_Post_in_PM_02.png
Views:	118
Size:	70.6 KB
ID:	79466   Click image for larger version

Name:	Quote_Post_in_PM_03.png
Views:	80
Size:	33.6 KB
ID:	79467  

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
Show Thread Enhancements No Quote in First post CarpHunter vBulletin 3.6 Add-ons 31 03 May 2011 04:05
Private Messages Enhancements Quote Post in PM Makc666 vBulletin 3.7 Add-ons 48 09 Mar 2009 11:40
New Posting Features Quote Post in PM Boofo Modification Graveyard 15 29 Mar 2008 09:16

  #16  
Old 05 Jul 2007, 13:52
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Alibass View Post
If you are referring to adding $qpipm to postbit and postbit_legacy in my custom skins, I did that before posting the first time. It does not work.
$qpipm works fine both for postbit and postbit_legacy templates with "Update popup menu automatically" set to "No".
I tested this one on several forum with different skins/templates for postbit and postbit_legacy.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #17  
Old 05 Jul 2007, 14:08
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Originally Posted by Makc666 View Post
$qpipm works fine both for postbit and postbit_legacy templates with "Update popup menu automatically" set to "No".
I tested this one on several forum with different skins/templates for postbit and postbit_legacy.
My bad I overlooked Set "Update popup menu automatically" to "No".

Hack working fine now on all skins. *Installed*
__________________
Alibass
Reply With Quote
  #18  
Old 29 Jul 2007, 07:27
wa7id wa7id is offline
 
Join Date: May 2007
Great! thnkes

Installed.
Reply With Quote
  #19  
Old 29 Jul 2007, 21:42
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Real name: Danny
Love this thing to death! lol ... I always wanted something like this (I am definitely gonna use this a lot). Installed and working like a charm on vB 3.6.8!

Last edited by Dannyloski; 30 Jul 2007 at 01:10.
Reply With Quote
  #20  
Old 01 Aug 2007, 08:14
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
v1.0.1 - 01.08.2007
- Just removed the code which is not needed any more if you have vBulletin 3.6.8 or greater
Use version 1.0.1 only with 3.6.8 or greater.

v1.0.0 will also work with 3.6.8, but I recommend to update to v1.0.1
Update 1.0.1 is only conneted with BUG introduced in vBulletin 3.6.7 (http://www.vbulletin.com/forum/proje...?issueid=22069) which was fixed in vBulletin 3.6.8
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #21  
Old 01 Aug 2007, 16:43
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Real name: Danny
Awesome, installed/upgraded to v1.0.1 as I am running vB 3.6.8
Reply With Quote
  #22  
Old 02 Aug 2007, 17:35
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Thank you Maxim

Install
Reply With Quote
  #23  
Old 13 Sep 2007, 03:54
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
I've installed this, and I like it quite a bit. Just one minor adjustment is due. The phrase qpipm_quote_post_in_pm should be adjusted to allow for translating. Not all languages are going to put the username at the end of the sentence, so the phrase should be:

"Quote this post in a PM to {1}"
Instead of

"Quote this post in a PM to"

And close the <phrase> tag in the template:

From this:


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

To this:


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

And maybe I've got OCD, but I'd rather see you use $vbphrase[reply_prefix] instead of creating two new phrases qpipm_re_post and qpipm_re_thread.
__________________
My vBulletin Modifications.
Reply With Quote
  #24  
Old 13 Sep 2007, 05:43
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
Great Thanks!
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #25  
Old 15 Sep 2007, 16:13
Limebean Limebean is offline
 
Join Date: Sep 2007
Real name: Leigh
Very handy..espcially for pointing out post infractions to bad member!
Reply With Quote
  #26  
Old 15 Sep 2007, 17:04
ETDC ETDC is offline
 
Join Date: Sep 2007
Easy to install, thanks.
Reply With Quote
  #27  
Old 17 Sep 2007, 09:00
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Analogpoint View Post
I've installed this, and I like it quite a bit. Just one minor adjustment is due. The phrase qpipm_quote_post_in_pm should be adjusted to allow for translating. Not all languages are going to put the username at the end of the sentence, so the phrase should be:
Fixed this one.
Thanks.

Originally Posted by Analogpoint View Post
And maybe I've got OCD, but I'd rather see you use $vbphrase[reply_prefix] instead of creating two new phrases qpipm_re_post and qpipm_re_thread.
No. I made two new phrases "qpipm_re_post" and "qpipm_re_thread" specially. As, for example, I want to see different PMs' titles for quoted posts (threads) with titles and quoted posts without titles.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #28  
Old 17 Sep 2007, 16:22
ETDC ETDC is offline
 
Join Date: Sep 2007
Err, do I need to reinstall this now?
Reply With Quote
  #29  
Old 19 Sep 2007, 21:50
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by ETDC View Post
Err, do I need to reinstall this now?
I suggest you to install 1.0.2 over 1.0.1.
If you use not only English on your forums you will have to update phrase "qpipm_quote_post_in_pm".
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #30  
Old 19 Sep 2007, 22:23
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Real name: Jolene | JoJo
I think this will come in handy for me and my site!
thank you
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 22:33.

Layout Options | Width: Wide Color: