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 |
#22
|
|||
|
|||
Obviously others are interested in the vb3 version so it doesn't matter to me if you wait or decide not to install it at all. But for anyone else who might be worried about it, this makes no database changes and has no custom uninstall code, so uninstalling won't be a problem.
|
#23
|
||||
|
||||
Quote:
I thought it was a good idea (it is) that's why I asked for it for v3. |
#24
|
|||
|
|||
Yes, I very much want this to work... just need to fix the emails, or trigger them to be sent in HTML mode.
|
#25
|
||||
|
||||
|
#26
|
|||
|
|||
It turns out that it wasn't a big fix. I'll release a new version tomorrow.
|
#27
|
|||
|
|||
Excellent, thanks. Crossing fingers for adding the date/time as well, I know it will take some PHP and query but I think is worth it
|
#28
|
|||
|
|||
I'll look in to doing that. But one thing about that: it will be something that won't go away when you uninstall the mod. It's going to have to go in as part of the name of the person you're quoting.
|
#29
|
|||
|
|||
Or just a $variable? I figure you'll need to do a SELECT query to find the info, then the plug-in could just throw it in a $variable? I for instance would prefer to be able to float: right; the date on the other side of the quote box. But either way, it is welcome.
|
#30
|
|||
|
|||
Quote:
So that just leaves adding it to the option somehow. Quoting posts uses that method by adding the post id after a semicolon, like [QUOTE=ctrlbrk;2392037]Or just a $variable?...[/quote], then the code looks for that, strips it off and uses it to create the little arrow that takes you to the post. I might be able to do something similar with the date and time, but then if my mod is uninstalled it will still be there (unless I go through all PMs on the system and delete it when I uninstall). That might not be a problem if it's text - my mod can strip it off and make it a variable in the template, and if it's uninstalled it will just appear after the name. Adjusting the timezone might be a bit of an issue but I think I can deal with that. Anyway, let me know if you have a different idea. |
#31
|
|||
|
|||
Hmm...I suppose I could just do one query to try to match the quoted text and username, and if it fails (like if the message was deleted) then it just won't show up. I don't like that as mush as including it as part of the option text, but I'm not the one requesting it. Would you rather it be a hit-and-miss type of thing that depends on the quoted message still being in the system (but it would work for existing pms with quotes and would go away completely if uninstalled), or make it part of the option, in which case it would not be there for pre-existing pms and it wouldn't go away when uninstalled, but it would stay around even if the mod is uninstalled? (In either case it will be a variable that you can float right, as long as this mod stays installed).
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|