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.7.104, 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.7.x Rating: (10 votes - 4.50 average) Installs: 116
Released: 29 Apr 2008 Last Update: 30 Apr 2008 Downloads: 457
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 3.7.104 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.

- Use version 3.7.104 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:
=================


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" 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:	636
Size:	65.7 KB
ID:	79460   Click image for larger version

Name:	Quote_Post_in_PM_02.png
Views:	519
Size:	70.6 KB
ID:	79461   Click image for larger version

Name:	Quote_Post_in_PM_03.png
Views:	258
Size:	33.6 KB
ID:	79463  

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
New Posting Features Quote Post in PM Boofo Modification Graveyard 15 29 Mar 2008 09:16

  #31  
Old 21 Jul 2008, 13:00
BucWiLd's Avatar
BucWiLd BucWiLd is offline
 
Join Date: Jun 2008
installed thank you
__________________
www.discusswls.com
Reply With Quote
  #32  
Old 11 Aug 2008, 04:53
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Originally Posted by Makc666 View Post
I think I will go in another way.
In the next version you will be able to set (turn on) any default title for quoated PMs


Thanks for the his PoetJA-1975!
I will make so in next version!


harlita, saying the truth I really didn't want to add such option in the past.
But...
As there is really not hard to code I will think for this one!
And I think I will use some default vBulletin's button.
ne news
__________________
____________
BossLady
Reply With Quote
  #33  
Old 30 Aug 2008, 14:10
gag girl gag girl is offline
 
Join Date: Mar 2008
I installed it, but it doesn't show up...
Reply With Quote
  #34  
Old 31 Aug 2008, 23:14
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by MissKalunji View Post
ne news
I remember about you.

Originally Posted by gag girl View Post
I installed it, but it doesn't show up...
If you have a custom templates with out hooks from the lates versions of vBulletin you will have to make template changes manually.
There is a note in ReadMe about how to do so.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #35  
Old 01 Sep 2008, 04:39
smirkley smirkley is offline
 
Join Date: Apr 2008
A great addition and in my testing, I find I like the purpose of this hack.

Can I ask if the mod only apply to the username popup when viewing a thread or a post?

Right now it shows up wherever the username popup shows up, and its kinda pointless to have that clickable feature while you are currently viewing a PM or something other than a thread or post.

Great mod and appreciate it.
Reply With Quote
  #36  
Old 02 Sep 2008, 06:15
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by smirkley View Post
Can I ask if the mod only apply to the username popup when viewing a thread or a post?

Right now it shows up wherever the username popup shows up, and its kinda pointless to have that clickable feature while you are currently viewing a PM or something other than a thread or post.
Thanks, smirkley for this note. This is not a right behaviour.
I think I will find an easy way to fix this one.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #37  
Old 20 Oct 2008, 10:50
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Lightbulb

Dear Makc,

I find this Hack SUPER-useful!!!

However, I need it to be available only on some sections of my board (I want to use it only on the Classifieds sub-forums)

Would you be willing to do some hacking around the code so that we could have some way to define in which sub-forums (IDs) this hack would be available?


(sorry my poor english, as my native language is portuguese...)


Thank you so very much!
Reply With Quote
  #38  
Old 24 Oct 2008, 09:51
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Question

Originally Posted by vithorius View Post
I need it to be available only on some sections of my board (I want to use it only on the Classifieds sub-forums)

Would you be willing to do some hacking around the code so that we could have some way to define in which sub-forums (IDs) this hack would be available?
Any news on this...?
Reply With Quote
  #39  
Old 28 Oct 2008, 12:17
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Question

Dear Makc,


How could I make this hack available only on some sections of my board?
(I would like to use it only on the Classifieds sub-forums)


Thank you so very much!
Reply With Quote
  #40  
Old 02 Nov 2008, 21:56
Sworm Sworm is offline
 
Join Date: Feb 2008
Hi mack, great mod .

Is possible to add your code in the posts bar?

Will be more immediately!

http://img514.imageshack.us/img514/7677/catturaxt0.jpg

If no, is good too.
Reply With Quote
  #41  
Old 13 Nov 2008, 01:31
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
qpipm_menu is uncached
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #42  
Old 13 Nov 2008, 19:00
Howell Howell is offline
 
Join Date: Apr 2007
Originally Posted by DiesellMinded View Post
qpipm_menu is uncached
Go to....

AdminCP -> Plugins & Products -> Plugin Manager -> Product : Quote Post in PM ->

Quote Post in PM (3) -> Edit

Add the following under $globaltemplates[] = 'qpipm_menu';

$globaltemplates[] = 'qpipm_quote';

Reply With Quote
  #43  
Old 13 Nov 2008, 19:06
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
I dont have Quote Post in PM (3) just (1) and (2)
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #44  
Old 13 Nov 2008, 19:25
Howell Howell is offline
 
Join Date: Apr 2007
Originally Posted by DiesellMinded View Post
I dont have Quote Post in PM (3) just (1) and (2)
Ahh sorry my mistake as I added it before I installed this modification.

You need to go to the bottom of the Plugin manager and click Add New Plugin

Then enter the following into each field....

Product - Quote post in PM

Hook Location
- cache templates

Title
- Quote Post in PM (3)

Execution Order
- 5

Plugin PHP Code -

$globaltemplates[] = 'qpipm_menu';
$globaltemplates[] = 'qpipm_quote';

Plugin is Active
- Yes

Then click save and all should be done.
Reply With Quote
  #45  
Old 13 Nov 2008, 19:26
murekhalir murekhalir is offline
 
Join Date: Oct 2006
is there a way to make this on a button of the post instead of going through 'view profile?'
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 20:17.

Layout Options | Width: Wide Color: