The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Private Message Quote Formatting Details »» | |||||||||||||||||||||||||||||||||
What is it?
---------------------------- This mod arranges quotes in a PM to be in a "conversational" order instead of being nested. This solves the problem of displaying deeply-nested quotes. This mod also has an option to add a date/time stamp to quoted PMs. Also, I'm not much of an html/css person - this mod mostly provides variables which can be checked in the template, and a bare-bones css file. If anyone comes up with css for a better looking format and wants to share it, please do (and maybe I'll put it in a later version). (vb4 version is here: https://vborg.vbsupport.ru/showthread.php?t=292968) Installation: ---------------------------- Just import the product XML file from the Product Manager. This doesn't change stored PMs in any way (unless you enable the date/time stamp option - see below), so you can uninstall or disable the product at any time to go back to the original PM template. If you'd like to customize the format, you can edit the kh99_pm_quote, kh99_pm_quote_bit, and/or the kh99_pm_quote.css templates. If you want to add date/time tags to PM quotes, go to the adminCP options under "Private Messaging Options" and set "Add Date and Time to Quotes" to yes. Note that if you later uninstall this mod, any messages quoted while this option was on will still contain a date/time tag, but it will display after the name in a default format and timezone. If this is a concern, it's probably better that you don't enable this option. Also note that the date/time option only adds the timestamp to newly quoted messages - it will not add one to quotes in existing messages. Note: Because I forgot to set a product id for version 0.90, when upgrading from 0.90 to a later version the mod installs as a separate product so that it looks like this mod is installed twice. If that happens you should just be able to uninstall version 0.9. History: ---------------------------- 1.0 (Jan 01, 2013)
Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
Abu2, vijayninel |
Comments |
#52
|
|||
|
|||
Thanks, I'll try installing those anyway because I'm not sure what else to do.
Can you tell me what version of vb and php you have? Edit: Also, another thing you could do if you still have this mod installed: There are 4 plugins - try enabling only one at a time to see if you can determine which one is causing the white screen. |
#53
|
||||
|
||||
Thanks for the reply. Disabling the plugin - "PM Quote Formatting - Add CSS" makes the rest work of the mod work fine. Enabling it gives white pages.
I have vB 3.8.5 on PHP 5.3.10-1ubuntu3.4 |
#54
|
|||
|
|||
Could you try replacing the code in the "PM Quote Formatting - Add CSS" plugin with this:
Code:
if (THIS_SCRIPT == 'private' && $vbulletin->options['kh99_pmq_enable']) { if (intval($vbulletin->versionnumber) == 4) { if ($vbulletin->options['storecssasfile']) { $template_hook['headinclude_css'] .= '<link rel="stylesheet" type="text/css" href="' . vB_Template::fetch_css_path() . 'kh99_pm_quote.css?d=' . $style['dateline'] . '" />'; } else { $template_hook['headinclude_css'] .= '<link rel="stylesheet" type="text/css" href="' . vB_Template::fetch_css_path() . 'kh99_pm_quote.css" />'; } } else // vb3 { eval('$kh99_pmq_css = "' . fetch_template('kh99_pm_quote.css') . '";'); if ($kh99_pmq_css !== '') { $vbulletin->templatecache['headinclude'] .= '<style type=\"text/css\">' . addslashes($kh99_pmq_css) . '</style>\n\n'; } } } |
#55
|
||||
|
||||
^^ Replaced. Working perfectly fine now. Thanks.
Installed. |
#56
|
|||
|
|||
Great - yeah, it's combined vb3/vb4 code and I thought at one point it was a good idea to check for the vB_Template class, but I guess some mod is defining that. I should have known better. In any case I appreciate your help in figuring it out.
I'll release an update soon with that fix. |
Благодарность от: | ||
Max Taxable |
#57
|
|||
|
|||
Version 1.0 hopefully fixes the white page problem some people had, and also caches that template I missed last time. Thanks to everyone who helped find the bugs in the beta versions.
|
#59
|
||||
|
||||
How about moving the quote command in the quick reply box down a bit so people dont mistakenly put text inside the quotes when answering?
|
#60
|
|||
|
|||
Quote:
You can also do it without this mod by editing newpost_quote (under New Posting Templates) and do the same thing. If you do that, it will work for both PMs and regular posts. If you only wanted the space for PMs you could do this: Code:
<if condition="THIS_SCRIPT == 'private'"> </if>[QUOTE=$originalposter]{$pagetext}[/QUOTE] |
#61
|
||||
|
||||
Good mod, installed!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|