Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Private Message Quote Formatting Details »
Private Message Quote Formatting
Mod Version: 0.91, by kh99 (Senior Member) kh99 is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (9 votes - 5.00 average) Installs: 74
Released: 14 Dec 2012 Last Update: 23 Dec 2012 Downloads: 251
Not Supported Uses Plugins Re-usable Code Translations  

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: http://www.vbulletin.org/forum/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)
  • Fixed conflict with at least one mod that adds default text formmating
  • Fixed problem with html in pm notification email
  • Option to show only N newest quotes and hide the rest
  • Optional Date/Time tag added to quotes in PMs
  • Added enable/disable option for the entire product, in admincp
  • Templates are now cached
0.9 (Dec 14, 2012)
  • Initial Release

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	sg1.jpg
Views:	886
Size:	79.1 KB
ID:	142874   Click image for larger version

Name:	sg2.jpg
Views:	296
Size:	53.9 KB
ID:	142999  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 23 Dec 2012, 14:02
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by sadiq6210 View Post
You are right Kevin
I changed the option "Add Date and Time to Quotes" to NO and it is working now.
Originally Posted by da prez View Post
I have the same issue.

Reply box is empty when clicking reply to message.
Only happens when add date and time is set to yes.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Sorry about that, and thanks for working with me to figure it out.
Reply With Quote
  #32  
Old 23 Dec 2012, 16:17
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Real name: Sadiq
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?

Last edited by sadiq6210; 23 Dec 2012 at 18:11.
Reply With Quote
  #33  
Old 23 Dec 2012, 16:26
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by sadiq6210 View Post
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 UP application

What do you think Kevin?

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.
Reply With Quote
  #34  
Old 23 Dec 2012, 16:31
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Real name: Sadiq
Originally Posted by kh99 View Post
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.
Thanks, this is exactly what I need

I will make new appearance and share it here

BRB
Reply With Quote
  #35  
Old 23 Dec 2012, 18:12
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Thanks for the update
__________________
Reply With Quote
  #36  
Old 23 Dec 2012, 19:46
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Real name: Sadiq
Originally Posted by sadiq6210 View Post
Thanks, this is exactly what I need

I will make new appearance and share it here

BRB
BEFORE:




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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: png conv0.png (21.1 KB, 163 views)
Attached Files
File Type: zip image.zip (4.3 KB, 15 views)
Reply With Quote
  #37  
Old 05 Jan 2013, 11:12
goxy63 goxy63 is offline
 
Join Date: Oct 2008
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #38  
Old 05 Jan 2013, 13:49
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by goxy63 View Post
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:
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).
Reply With Quote
  #39  
Old 05 Jan 2013, 14:49
vicius_the_one vicius_the_one is offline
 
Join Date: Dec 2010
mine not working too....
Reply With Quote
  #40  
Old 05 Jan 2013, 14:53
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by vicius_the_one View Post
mine not working too....
Are you saying that you have the same problem with PM emails? Or do you have a different problem?
Reply With Quote
  #41  
Old 05 Jan 2013, 15:12
vicius_the_one vicius_the_one is offline
 
Join Date: Dec 2010
I can't see PM's as conversation at all .
Reply With Quote
  #42  
Old 05 Jan 2013, 15:47
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by vicius_the_one View Post
I can't see PM's as conversation at all .
Hmm...I'm not sure what to tell you about that. If you give me a list of products you have installed I can try to figure out if one of them is conflicting with this one (you can send it by Pm if you'd rather).
Reply With Quote
  #43  
Old 06 Jan 2013, 04:14
rcsparks rcsparks is offline
 
Join Date: Apr 2011
Thank you for a great mod MUCH Neater!
Reply With Quote
  #44  
Old 06 Jan 2013, 04:19
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Originally Posted by kh99 View Post
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).
yes thats it, all perfect now
thanks for great mod :]
Reply With Quote
  #45  
Old 12 Jan 2013, 14:07
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
FYI, I've decided to set this to "reusable", if anyone wants to reuse the code for any reason.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 04:06.

Layout Options | Width: Wide Color: