The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quote Post in PM Details »» | |||||||||||||||||||||||||||||||||||||
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:
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. (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 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!)
Find (for example): Code:
<if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> Code:
$qpipm **************************************** 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!)
Find: Code:
<!-- / controls --> Code:
$qpipm_postbit 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
Screenshots
Show Your Support
|
Благодарность от: | ||
TAIFUN_T |
Comments |
#32
|
||||
|
||||
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 |
#33
|
|||
|
|||
My members want PM notification when their post text has been quoted by another member - will this mod do this?
(sorry if I haven't understood the description properly) Thanks in advance! |
#34
|
|||
|
|||
This mod doesn't have such feature.
|
#35
|
|||
|
|||
Hello, Maksim. Great mod! Can you suggest where I should put the link to my own button?
|
#37
|
||||
|
||||
Quote:
You have to modify the template: qpipm_postbit HTML Code:
<if condition="$show['pmlink']"> <a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="<phrase 1="$post[username]">$vbphrase[qpipm_quote_post_in_pm_postbit]</phrase>" border="0" /></a> </if> HTML Code:
img src="$stylevar[imgdir_button]/sendtofriend.gif" You are welcome! |
#39
|
||||
|
||||
Quote:
split function ( http://php.net/manual/en/function.split.php ) was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0. I didn't thing I will make changes for this one in original package. I need time to test this one with explode function ( http://php.net/manual/en/function.explode.php ) and may be I will release it as a separate zip pack for PHP 7+. Thank you one more time! |
Благодарность от: | ||
TTayfun |
#40
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|