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 |
#32
|
|||
|
|||
Hmm. I figured that there was a hook that contained the private message ID somewhere, so you could know exactly what to query. But I haven't looked at the hooks or dumped any arrays to see what is available.
Once you have the PM ID#, I was thinking just to do a SELECT lookup, retrieve the date/time, then make that available as a $variable that can be used within the template. For the moment, I'd just like the email bug fixed |
#33
|
|||
|
|||
Perhaps $pmdm->pmtext['pmtextid'] from looking briefly
|
#34
|
|||
|
|||
Quote:
Quote:
Edit: I had a power outage here yesterday, so I'm a bit behind but it's basically done and I'll be releasing it soon. |
#35
|
|||
|
|||
Quote:
Quote:
Edit: oops - I added a template to format the date/time in a new message, and now I've forgotten to cache that one. I'll add it next update (or you can add it in the cache_templates plugin if you want to take care of it before then). |
Благодарность от: | ||
Max Taxable |
#36
|
||||
|
||||
Quote:
Also, new version of product installs as a new product and it doesn't rewrite old one. Previous version works great. |
#37
|
|||
|
|||
Hmm...I think the reason for installing as a new product is that I forgot to set the product ID on the previous version. I think it should be OK to uninstall the 0.9 version, but if it still doesn't work uninstall the 0.91 version as well, then reinstall it. (It might be the cause of the white screen, but I'll do some more testing as well).
|
#38
|
||||
|
||||
I reinstalled it, but... The same - white screen...
|
#39
|
|||
|
|||
OK. I just tried it myself and didn't see any problems, so possibly it's a conflict with something on your forum, and I'd like to figure out what it is. Do you have any access to your php or web server error logs, to see if there's any information there? Also, which version of vb are you running?
Edit: Another thing you could do - there are 4 plugins, you could try disabling the separate plugins one at a time to see if you can figure out which one is the problem. That would at least let me know which part to focus on. |
#40
|
||||
|
||||
I use 3.8.6. No errors in error.log.
I switched off all of PM's and quote mods, - no result. But previous version 9.0 works. Mabe problem in plugin hooks... I tried to disable them step by step, but... |
#41
|
|||
|
|||
Could you try going to the Plugin Manager, find the section for "Private Message Quote Formatting", and disable those plugins one at a time, to see if you can figure out if one of them is causing the problem?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|