![]() |
Quote Post in PM
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" (https://vborg.vbsupport.ru/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. (https://vborg.vbsupport.ru/showthread.php?t=150769) Thanks go to Abe1 for his comments. (https://vborg.vbsupport.ru/showthread.php?t=150769) Thanks goes to Boofo for his original hack "Quote Post in PM" (https://vborg.vbsupport.ru/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!) Code:
postbit Find: Code:
<if condition="$show['pmlink']"> Add After: Code:
$qpipm ================= 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! :D ================= Other versions of modification: ================= |
Quote Post in PM
Reserved |
Nice idea! We just need the file to be uploaded now... ;)
|
Wow! Thanks for the release. :D
|
You should upload your files the same time u open a thread otherwise your thread just gets booted.
|
Quote:
|
Nice update, I was just looking at reinstalling the old one a few days ago.
|
Great! Installed.
|
Excellent hack, works perfectly with 3.62 even if as min. version was 3.66 specified. :up:
But I had to turn off the template hook ;) |
Installed. Love it!
|
This is awesome, but I would only like certain usergroups to use it eg. staff
Could you add permissions in it as well? Thanks. |
Quote:
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. |
Seems only to work on my vB 3.6.7PL1 default skin. I cant get it to work with any of my custom skins. :(
|
Quote:
$template_hook['postbit_user_popup'] which is placed in postbit and postbit_legacy If you don't have one in your custom skins you can put this one in postbit and postbit_legace manually. Read in file Read_Me.txt from archive section: ============= Notes: ============= |
Quote:
|
Quote:
I tested this one on several forum with different skins/templates for postbit and postbit_legacy. |
Quote:
Hack working fine now on all skins. :) *Installed* |
Great! thnkes
Installed. |
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!
|
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 |
Awesome, installed/upgraded to v1.0.1 as I am running vB 3.6.8 :up:
|
Thank you Maxim
Install |
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:
Quote:
And close the <phrase> tag in the template: From this: Code:
<if condition="$show['pmlink']"> Code:
<if condition="$show['pmlink']"> |
Great Thanks!
|
Very handy..espcially for pointing out post infractions to bad member!
|
Easy to install, thanks. :)
|
Quote:
Thanks. Quote:
|
Err, do I need to reinstall this now? :)
|
Quote:
If you use not only English on your forums you will have to update phrase "qpipm_quote_post_in_pm". |
I think this will come in handy for me and my site!
thank you :) |
Quote:
|
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
|
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 |
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. |
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! |
Quote:
In other words you have To find in templates postbit && postbit_legacy the code: Code:
<if condition="$show['quickreply']"> Change template qpipm_menu to something like this one: Code:
<if condition="$show['pmlink']"> I highlighted it above your_new_button_here.gif Quote:
|
Good stuff, works for me! :)
|
Quote:
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. |
Quote:
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. |
Quote:
https://vborg.vbsupport.ru/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 |
All times are GMT. The time now is 03:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|