![]() |
Quote Post in PM
1 Attachment(s)
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 Code:
v4.2.107 - 13.12.2012 How to Update: ================= Code:
v4.0.106 -> v4.2.107 Mark as Installed: ================= Click Mark as Installed to get an email when an update is released! :D ================= Other versions of modification: ================= |
Reserved
|
First! I'll check this out later thanks.
|
Very good idea :)
|
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 |
When I go to a thread I get this.
Quote:
|
Reserved. Very good...
|
Quote:
Quote:
Quote:
Quote:
Thanks! |
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 |
@Coder replace the fetch(templatename) with fetch(vB_Template)
Good luck. |
Quote:
|
Quote:
Quote:
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 Quote:
Fixed now! Thanks for your comment! :) |
Very impressive :)
|
Installed!
|
can I get the 4.01 version?
|
Quote:
vBulletin prior to version 4.0.2 has some bugs which don't allow this product (and some others) to work. |
Can you make a version without template edits? Thanks.
|
Because of wrong variable use, this mod crash nicks in threads sometime.
in hook postbit_display_complete Find all Code:
htmlspecialchars(\'' . "$post[username]" . '\')) Code:
htmlspecialchars($memberinfo[username])) |
Updated
v4.0.105 - 18.10.2010 - Fixed plugin "Quote Post in PM (1)" (Thanks to Vitaly - post #2104969) - could affect some forums if "Update Postbit Automatically" was not used (set to "No") - Replaced deprecated function split() with explode() function - Updated template "qpipm_menu" to watch changes in latest revision of template "memberaction_dropdown" Quote:
You can use Manual-Template option in this Modification if you want to edit your templates manually if they are heavy modified. Quote:
I have replaced: Code:
htmlspecialchars(\'' . "$post[username]" . '\') Code:
htmlspecialchars(\' . $memberinfo[\'username\'] . \') |
thanks for the great mod Makc666.
I am going to instlall this later tonight can't believe I missed this mod.. |
Last fix is incorrect. I've lost nicks again.
Attached my one, wich works. |
Quote:
Quote:
I have replaced the archive with more correct fix. The bug affected forums where option "Update Postbit Automatically" was set to "No" and option "Replace URL "Private Message" in Popup Menu" was set to "Yes". |
2 thumbs up Makc666
the one I install before you upgraded, I did not find any issues with But I will upgrade all the same thank for your hard work Regards Hippy |
is there any way to just make it a button on a postbit without looking at someone's profile name?
|
Quote:
should be in the instructions |
Can we get an update for vb4.1 PL2 please. Seems that after upgrading there is now some extra text in the text field:
<!-- BEGIN TEMPLATE: qpipm_quote --> <!-- END TEMPLATE: qpipm_quote --> |
Quote:
live board or the test board |
I'm not getting the button below the post, even with the option enabled. This might be because I am running 4.1 PL2.
|
add the xml file again.. allow overwrite
working 100% wit the lastest 4.0.1pl2 |
Just downloaded and installed....
Note to coder: update dependancies to reflect current versions as at the moment will not install with 4.1.0PL2. Made changes and works as designed. Thanks |
I love it!
|
Installed and working on 4.1 PL2
Important: To install on 4.1, you will need to open quote_post_in_pm_v4-0-105.xml find PHP Code:
replace with PHP Code:
The proceed with normal install. :) |
Quote:
I have updated this one. Updated 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 |
Quote:
|
|
Quote:
So look for some other mod which does this one. The code for postbit of this MOD looks like: HTML Code:
<template name="qpipm_postbit" templatetype="template" date="1249473893" username="Makc666" version="4.0.102"><![CDATA[<vb:if condition="$show['pmlink']"> As you can see there is no any separator image in it. |
Problem : Modified on postbit_legacy following by your method step
2. Open Templates: (Note: there are two different templates to open!) 4.10 Patch Level 2 |
Quote:
Try this one: Code:
**************************************** BaanFarsang, try to understand that you can add {vb:raw qpipm_postbit} any were you like. The instructions I gave is just an example. Just an example. |
Quote:
|
I am glad that the problem is solved.
|
All times are GMT. The time now is 10:30 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:
|