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

  #31  
Old 19 Sep 2007, 22:55
ETDC ETDC is offline
 
Join Date: Sep 2007
Originally Posted by Makc666 View Post
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".
Thanks!
Reply With Quote
  #32  
Old 30 Sep 2007, 19:23
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
I have installed the mod and I see nothing for this in the drop down in 3.6.8. Does this require a new post to work? or will it begin working with all posts? I suspect the later. Perhaps I have an issue in one of the templates as another mod I have works on the user profile page but also not in this dropdown from the thread and username. I have no error showing though. p.s. my forum is www.physiobob.com/forum

Last edited by perfphysio; 30 Sep 2007 at 19:33.
Reply With Quote
  #33  
Old 02 Oct 2007, 14:27
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
perfphysio your vB Version: VB 3.6.2 doesn't have Hook $template_hook[postbit_user_popup]
Use the manual steps described in Read_Me.txt
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #34  
Old 20 Oct 2007, 00:27
McMendo McMendo is offline
 
Join Date: Aug 2006
Could this mod be in the form of a "Quote PM" button to the left of the "Quote" button, instead of the drop-down menu?

I think that I've seen it in some forum.
Reply With Quote
  #35  
Old 19 Jan 2008, 03:43
pxd pxd is offline
 
Join Date: Jan 2005
For those of you who feel like they have set everything up properly but it "does not work", I just tested with vB 3.7.0 beta3 and it worked after I adjusted the usergroup settings related to private message permissions. Make sure that "Maximum Stored Messages:" is set to a positive value, and that current usergroup is allowed to use the PM system.

Great hack!
Reply With Quote
  #36  
Old 21 Jan 2008, 10:58
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by McMendo View Post
Could this mod be in the form of a "Quote PM" button to the left of the "Quote" button, instead of the drop-down menu?

I think that I've seen it in some forum.
Yes, you can do so.
  1. Install the product only
  2. In product options set "Update popup menu automatically" to "No".
  3. Open template qpipm_menu

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

  4. Modify this part of template how you need it

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

  5. Save the template
  6. Add $qpipm where you need to the left of the "Quote" button

In other words you have

To find in templates postbit && postbit_legacy the code:

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

Add before $qpipm

Change template qpipm_menu to something like this one:

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

Don't forget to upload you new button and give it the proper name in code above.
I highlighted it above your_new_button_here.gif

Originally Posted by pxd View Post
For those of you who feel like they have set everything up properly but it "does not work", I just tested with vB 3.7.0 beta3 and it worked after I adjusted the usergroup settings related to private message permissions. Make sure that "Maximum Stored Messages:" is set to a positive value, and that current usergroup is allowed to use the PM system.

Great hack!
Thanks.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #37  
Old 22 Mar 2008, 21:14
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Good stuff, works for me!
Reply With Quote
  #38  
Old 26 Mar 2008, 11:20
symptome symptome is offline
 
Join Date: Aug 2005
Real name: Marcel
Originally Posted by Makc666 View Post
I don't see any reason for this one.
If user/group is allowed to send PM, he will be able to see/use that link.
If no - he will not be able to see/use that link.

This product is based on vBulletin's Private Message Permissions

Usergroups -> Usergroup Manager -> Edit Usergroup -> Private Message Permissions
Maximum Stored Messages:
If you set this to 0 users from this usergroup will not be able to use private messaging.
I understand why somebody wants to use that function only with stuff-usergroups. I have the same wish.
Stuff-Users need the possibility to send a pm to a member, perhaps because they will delete the post.
Non-stuff-users, in my eyes, shouldn't have more possibilities to communicate with pm's.
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.
Reply With Quote
  #39  
Old 29 Mar 2008, 19:04
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by symptome View Post
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.
Once again - this product is based on vBulletin's Private Message Permissions.

Ok. I will write an option that some Group with ID 7 will not see that link for "Quote Post in PM" and will not be able to use that link manually.

But that Group with ID 7 will be able to:
1. Copy that post in browser.
2. Start a New Private Message
3. Past the text in Private Message
4. And send it.

And what?

This product "Quote Post in PM" only helps to generate a New Private Message.
All other stuff is based on vBulletin's Private Message Permissions.

P.S. I will think on the option not to show that link for "Quote Post in PM" and will not be able for them to use that link manually.
But I really can't understand how this one will solve your problem.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #40  
Old 29 Apr 2008, 15:46
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Lightbulb

Originally Posted by symptome View Post
I understand why somebody wants to use that function only with stuff-usergroups. I have the same wish.
Stuff-Users need the possibility to send a pm to a member, perhaps because they will delete the post.
Non-stuff-users, in my eyes, shouldn't have more possibilities to communicate with pm's.
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.
A separate thread/version for3.7.* branch:
http://www.vbulletin.org/forum/showthread.php?t=177502

New version:
v1.0.3 - 20.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
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #41  
Old 30 Apr 2008, 23:46
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
New version:
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
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #42  
Old 01 May 2008, 00:05
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You are still using code from my hack in there. The permissions for starters.
Reply With Quote
  #43  
Old 01 May 2008, 00:40
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Boofo View Post
You are still using code from my hack in there. The permissions for starters.
Post that code here on forum. You just says "You use my code" but never says which one.
__________________
...... ...... "А стукачков мы не любим!"
Reply With Quote
  #44  
Old 01 May 2008, 01:01
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
"The permissions for starters".

But no matter. My hack has been removed so you can go on stealing code and get caught by someone else.
Reply With Quote
  #45  
Old 01 May 2008, 01:28
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
Originally Posted by Boofo View Post
"The permissions for starters".
You mean this one?

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

Open the file showpost.php from vBulletin's folder.
And look around lines 88-108.
You will find this one there:

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

Believe me, if you will compare these two one you will not find any difference.

Originally Posted by Boofo View Post
But no matter. My hack has been removed so you can go on stealing code and get caught by someone else.
Me trembles from your lies, Boofo!
You can't prove your words - you just gab!
__________________
...... ...... "А стукачков мы не любим!"
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 07:26.

Layout Options | Width: Wide Color: