vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Private Message Quote Formatting (https://vborg.vbsupport.ru/showthread.php?t=292968)

kh99 12-13-2012 11:00 PM

Private Message Quote Formatting
 
1 Attachment(s)
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)
  • 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

da prez 12-13-2012 11:38 PM

That nesting always drove me crazy.

Thanks

Max Taxable 12-14-2012 12:04 AM

Workable for 3.8.x by chance?

kh99 12-14-2012 12:12 AM

Quote:

Originally Posted by Max Taxable (Post 2390581)
Workable for 3.8.x by chance?

This version definitely won't work. I'm not sure what it would take to make it work with vb3 - I'll take a look at it.

Snowhog 12-14-2012 01:01 AM

No file to download. Drat! Never mind. I see it.

Gemma 12-14-2012 10:34 AM

Most, most, most, most useful. The previous nested format was hideous.

goxy63 12-14-2012 11:33 AM

Installed, nominated, rated. Thank you for this

For me it is better than before, but its still "nesting" only in better way

http://img819.imageshack.us/img819/1962/81915078.png

My forums have fixed widtht, maybe that is why or...?

Anyways, thanks, even like this saves much more space than before.

Cheers

kh99 12-14-2012 01:01 PM

Quote:

Originally Posted by goxy63 (Post 2390626)
Installed, nominated, rated. Thank you for this

For me it is better than before, but its still "nesting" only in better way

My forums have fixed widtht, maybe that is why or...?

Anyways, thanks, even like this saves much more space than before.

Cheers


I can't really see from that what's going on. One thing about this mod is that it only works like is shown in my screen grab if the PM has a series of quotes where the users just replied above or below any existing quotes. If you reply above *and* below, or split up the quote, then it will give up and go back to the original nesting for that part.

For some reason it doesn't look like it's working right in the image you posted, but like I said I can't really see why. Is every PM like that?

goxy63 12-14-2012 02:26 PM

Yes every pm is like that, all I did was just reply bellow existing tags in "Quick Reply" box. Not quite sure about my admin CP settings will check them out but I think nothing was touched there from default options.

Thank you

kh99 12-14-2012 02:37 PM

Hmm...do you know if you have your forum set to save the CSS as files? Try going to the Style Manager > Edit Templates > CSS Templates and edit kh99_pm_quote.css, then just put a space somewhere or something and save it, and see if that makes any difference. (I'm thinking maybe the CSS file doesn't exist after it's installed).

Edit: no, I tested that and that's not it. Could you reply to the PM and copy the message (with bbcodes showing), and PM it to me here? I want to check if there's something about the message format that is confusing my plugin. Also, what version of vb do you have?


All times are GMT. The time now is 12:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01251 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete