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. Note: I'm marking this "beta" because it hasn't been tested very much. If you try this, please let me know if you have any problems or would like it to work differently. 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). (vb3 version here: https://vborg.vbsupport.ru/showthread.php?t=292996) 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 - 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. History: ---------------------------- 0.91 (Dec 22, 2012)
Download Now
Screenshots
Show Your Support
|
Comments |
#32
|
|||
|
|||
Quote:
Quote:
Thanks for that information. It turns out that the product xml file is missing a template. I've fixed it (as of the time of this post), so you can download the 0.91 zip file again, or if you want to create the template yourself, it's named kh99_newpm_quote and has only 1 line that looks like this: Code:
[QUOTE={vb:raw originalposter} - {vb:raw datestr}]{vb:raw pagetext}[/QUOTE] Sorry about that, and thanks for working with me to figure it out. |
#33
|
|||
|
|||
Now it is perfect Thanks Kevin
Just a suggestion It will be great if you can make two different quote background for example User 1 >> His quotes will appear in red background User 2 >> His quotes will appear in blue background Something like "WHATS Application" What do you think Kevin? |
#34
|
|||
|
|||
Quote:
You can do that yourself if you want. In the css file, the class kh99_quote_mine will be applied to your messages, and kh99_quote_sender will apply to the person who sent the message. There is also kh99_quote_1 - kh99_quote_5 which can be used in a similar way to set the background color for up to 5 different quoted users. As I mentioned in the mod description, I'm more of a programmer than a design person, so my intention was to provide the variables so that people could format it the way they like. Maybe if someone comes up with a nice looking display they can share the ccs and or templates here. It would also to be nice to have the look selectable (possibly by each user), but I probably won't do that unless it seems like people want it. If anyone has any ideas along these lines, please share them. |
Благодарность от: | ||
sadiq6210 |
#35
|
|||
|
|||
Quote:
I will make new appearance and share it here BRB |
Благодарность от: | ||
f4vn |
#36
|
||||
|
||||
Thanks for the update
|
#37
|
|||
|
|||
Quote:
AFTER: How? 1- Download the attached file and upload it to image folder. 2- Open template "kh99_pm_quote.css" and replace it all with: Code:
@charset "UTF-8"; /* CSS Document */ .kh99_quote_container { /* Applies to every quote */ padding-right: 20px; } .kh99_quote { /* Applies to every quote */ border: 1px solid #417394; border-radius: 5px 5px 5px 5px; padding: 4px 10px; } .kh99_quote_hide { /* Applies to "show older messages" line */ font:normal 11px Tahoma,Calibri,Verdana,Geneva,sans-serif; margin-left:25px; padding-bottom: 10px; } .kh99_quote_mine { /* Applies to quotes from user readin PM */ border: 1px solid #B5E192; background: url("images/gradients/category-23px-light.png") repeat-x scroll center top #EDF3E5; } .kh99_quote_sender { /* Applies to quotes from user who sent PM */ border: 1px solid #DBD6D2; background: url("images/gradients/category-23px-light.png") repeat-x scroll center top #F8F8F8; } .kh99_quote_odd { /* Odd number quotes (first message in series is 'even') */ margin-left:50px; } .kh99_quote_even { /* Even number quotes (first message in series is 'even') */ margin-left:25px; } .kh99_quote_1 { /* First quoted user (affects all subsequent quotes by this user) */ } .kh99_quote_2 { /* Second quoted user */ } .kh99_quote_3 { /* Third quoted user */ } .kh99_quote_4 { /* Fourth quoted user */ } .kh99_quote_5 { /* Fifth quoted user */ } |
Благодарность от: | ||
kh99 |
#38
|
|||
|
|||
Hi
Looks like there is another problem when it comes to email notification about new PM for users. That is, if user receives new pm without quotes its ok, with quotes he gets email notification like this: Code:
THIS is message: *************** <!-- BEGIN TEMPLATE: kh99_pm_quote --> <div class="kh99_quote_container"> <div class="kh99_quote kh99_quote_mine kh99_quote_even kh99_quote_0"> <div class="bbcode_postedby"> <img src="images/misc/quote_icon.png" alt="Quote" /> Quote member <strong>testmember</strong> </div> <div class="message">wdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd</div> </div><br /> <div class="kh99_quote kh99_quote_odd kh99_quote_1"> <div class="bbcode_postedby"> <img src="images/misc/quote_icon.png" alt="Quote" /> Quote member <strong>Administrator</strong> </div> <div class="message"><quote>bla bla bla da da da da da d aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</div> </div><br /> </div> <!-- END TEMPLATE: kh99_pm_quote -->ahhahhahahahah bla bvla bla *************** |
#39
|
|||
|
|||
What version of this mod do you have installed? The problem you mention was in the original version, but I thought it had been fixed in version 0.91. (Edit: it looks like you've only downloaded 0.9, so maybe you just need to upgrade).
|
#40
|
|||
|
|||
mine not working too....
|
#41
|
|||
|
|||
Are you saying that you have the same problem with PM emails? Or do you have a different problem?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|