Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 3.8.x Rating: (3 votes - 5.00 average) Installs: 31
Released: 15 Dec 2012 Last Update: 01 Jan 2013 Downloads: 98
Not Supported Uses Plugins Auto-Template 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.

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: http://www.vbulletin.org/forum/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)
  • Fixed issue with white page on some forums
  • All templates now cached (I hope).
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:	302
Size:	73.4 KB
ID:	142898   Click image for larger version

Name:	sg2.jpg
Views:	138
Size:	53.9 KB
ID:	142988   Click image for larger version

Name:	sg3.jpg
Views:	169
Size:	55.8 KB
ID:	143114  

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.
Similar Mod
Mod Developer Type Replies Last Post
Private Messages Enhancements Private Message Quote Formatting kh99 vBulletin 4.x Add-ons 85 25 Dec 2017 10:25

Comments
  #2  
Old 15 Dec 2012, 07:43
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
This is a very nice addition, kh99!
Thank you very much
I hated when I had a PM I kept responding to for a long time because the quotes started to look really weird. This solves the issue!

edit:

After installing this, I get this error.
Fatal error: Call to undefined method vB_Template::fetch_css_path() in /MYFORUMPATH/global.php(607) : eval()'d code on line 507
I replaced my actual forums path with MYFORUMPATH to protect my forum's path privacy lol but that is the error I'm getting.
No, it isn't all over the site, only when I go to private.php (aka my private messages)
Reply With Quote
  #3  
Old 15 Dec 2012, 12:51
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Yeah, sorry, I somehow managed to attach the vb4 version. It's fixed now.
Reply With Quote
  #4  
Old 15 Dec 2012, 14:27
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
This looks very nice.
I've tagged it for now, and wait until it's a bit more tested. Normally I could do that too, but my board is reasonably modded and has VBA CMPS on it, so at this point I don't take any risks. But I like this mod!
__________________
Greetings, Black Tiger
Reply With Quote
  #5  
Old 16 Dec 2012, 12:08
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Thank you it looks so nice
Reply With Quote
  #6  
Old 16 Dec 2012, 13:41
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Wow, what a difference... Default quote in pm gets huge when you reply alot, I never liked the way it looked.... Very nice... Thank you for sharing your addon.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 45,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #7  
Old 16 Dec 2012, 16:59
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
For some reason I don't see ANY quotes in ANY of my PMs after installing this again.
In the PM reply you can see about 4 or 5 quotes but none of them are showing up when I go to actually read the PM.

Why?

Reply With Quote
  #8  
Old 16 Dec 2012, 17:25
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I'm not sure, but it seems like maybe the template isn't working. You installed the vb4 version when I accidentally posted it, right? Did you completely uninstall that one? Maybe uninstalling and reinstalling, if you haven't already.

What verson of vb are you running?
Reply With Quote
  #9  
Old 16 Dec 2012, 20:37
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Yes, I completely uninstalled and reinstalled.
I am running vB3.8.7
Reply With Quote
  #10  
Old 16 Dec 2012, 20:53
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Could you try creating a new style with no parent and see if that works?

Also, do you have any other mods that have to do with PMs? Maybe go to the Plugin Manager, sort by hook location, and see if anything else is using bbcode_create.
Reply With Quote
  #11  
Old 19 Dec 2012, 12:45
Kolektor's Avatar
Kolektor Kolektor is offline
 
Join Date: Jun 2010
thanks for this. it's good to see that still there are coders making mods for 3.8.x series.
Reply With Quote
  #12  
Old 20 Dec 2012, 05:52
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Looks good. But what about adding a date/time header to each quote box?

Also you need to cache your templates.
Reply With Quote
  #13  
Old 20 Dec 2012, 07:30
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by ctrlbrk View Post
Looks good. But what about adding a date/time header to each quote box?
I was just thinking about that a couple days ago. The existing quotes don't have that information available, but I'll see how hard it would be to add for new quotes.


Also you need to cache your templates.
I can't believe I forgot all about that. Thanks.
Reply With Quote
  #14  
Old 21 Dec 2012, 00:26
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
There is another (major) problem, apparently the formatting of emails is messed up with half-HTML half-CSS half-original text.

For example here is a PM email

http://screencast.com/t/ZgwWxxBq
Reply With Quote
  #15  
Old 21 Dec 2012, 00:37
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Could you post the message (showing bbcode) that caused that?
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 18:44.

Layout Options | Width: Wide Color: