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" with the new URL having the title attribute "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 "Private Message" with its own URL and phrase. Futures of this hack:
Use this version only with vBulletin 4.2.0 or greater. For vBulletin 4.0.* or 4.1.* use version 4.0.106 which have the same functionality. 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. Thanks goes to cellarius for his how to thread. (https://vborg.vbsupport.ru/showthread.php?t=228078) ================= Notes: ================= Please, read Read_Me - About.txt file inside archive! ================= History: ================= Code:
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 v4.0.100 - 10.01.2010 - Compatible with vBulletin 4.0.0 Gold v4.0.102 - 02.03.2010 - Compatible with vBulletin 4.0.2 and above only - New option "Use Left Popup Menu Column" - Added one new phrase - Updated some phrases v4.0.103 - 03.03.2010 - Fixed PHP Warning: Unexpected character in input: '\\' (ASCII=92) - Fixed option "Replace URL "Private Message" in Popup Menu" putting the same post number in every Popup Menu - Added check that option "Replace URL "Private Message" will only work if the option "Update Popup Menu Automatically" is disabled! v4.0.104 - 04.03.2010 - New option "Trim Post's Text" - Fixed PHP Warning: fetch_template() calls should be replaced by the vB_Template class. - Fixed PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array - Old variables for template "qpipm_quote" replaced by new variables: "{vb:raw qpipm_originalposterandpostid}", "{vb:raw qpipm_originalposter}", "{vb:raw qpipm_originalpostid}" and "{vb:raw qpipm_pagetext}" - Added one new phrase - Updated some phrases v4.0.105 - 18.10.2010 - Fixed plugin "Quote Post in PM (1)" (Thanks to Vitaly - post #2104969) - affected forums where option "Update Postbit Automatically" was set to "No" and option "Replace URL "Private Message" in Popup Menu" was set to "Yes". - Replaced deprecated function split() with explode() function - Updated template "qpipm_menu" to watch changes in latest revision of template "memberaction_dropdown" v4.0.106 - 24.12.2010 - Updated dependency to 4.1.99 - Tested on Version 4.1.0 Patch Level 2 - Updated manually installation instruction Code:
v4.2.107 - 13.12.2012 - Updated dependency from 4.2.0 to 4.2.99 (will work only with version 4.2.0 and greater) - Updated templates "qpipm_menu", "qpipm_postbit" to fit version 4.2.0 and greater - Added seperator to template "qpipm_postbit" (I know it must be spelled "separator", but vBulletin Team still use "seperator" in some templates) - Replaced icon used in "qpipm_postbit" for button used in "postbit" and "postbit_legacy" templates - Updated phpcode for hook "postbit_display_complete" to fit version 4.2.0 and greater - Tested on version 4.2.0 Patch Level 3 How to Update: ================= Code:
v4.0.106 -> v4.2.107 - No update needed if you don't use vBulletin 4.2.0 or greater - If you use vBulletin 4.2.0 or greater: -- Import the product -- Revert templates "qpipm_menu", "qpipm_postbit" if you changed them v4.*.* -> Latest One - Import the product - Revert templates "qpipm_menu", "qpipm_postbit", "qpipm_quote" if you changed them - 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
|
Comments |
#2
|
||||
|
||||
Reserved
|
#3
|
|||
|
|||
First! I'll check this out later thanks.
|
#4
|
||||
|
||||
Very good idea
|
#5
|
|||
|
|||
installed......now i get lots of errors in threads like
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xxxxxx/public_html/forum/includes/class_postbit.php(314) : eval()'d code on line 345 using 4.0.2 |
#6
|
|||
|
|||
When I go to a thread I get this.
Quote:
|
#7
|
|||
|
|||
Reserved. Very good...
|
#8
|
||||
|
||||
Thanks people!
Quote:
Thanks! |
#9
|
||||
|
||||
Nice mod but I get this error:
Code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: qpipm_quote in [path]/includes/functions.php on line 3932 |
#10
|
|||
|
|||
@Coder replace the fetch(templatename) with fetch(vB_Template)
Good luck. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|