Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Private Message Quote Formatting Details »»
Private Message Quote Formatting
Version: 0.91, by kh99 kh99 is offline
Developer Last Online: Sep 2020 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 12-13-2012 Last Update: 12-22-2012 Installs: 79
Uses Plugins
Re-useable Code Translations  
No support by the author.

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

Download Now

File Type: zip product-kh99_pm_quotes_0.91.zip (92.3 KB, 269 views)

Screenshots

File Type: jpg sg1.jpg (79.1 KB, 0 views)
File Type: jpg sg2.jpg (53.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
da prez, Gemma, goxy63, jluerken, Whity

Comments
  #12  
Old 12-15-2012, 01:19 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found what is the problem just now, problem is if message txt is wrapped with [COLOR] tags, check message with bb codes bellow:

HTML Code:
[QUOTE=Administrator2][COLOR="Black"][B][QUOTE=Administrator2][COLOR="Black"][B][QUOTE=Administrator2][COLOR="Black"][B]testing testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testingtesting testing[/B][/COLOR][/QUOTE]

testing testingtesting testingtesting testingtesting testingtesting testing[/B][/COLOR][/QUOTE]

testing testingtesting testingtesting testingtesting testingtesting testing[/B][/COLOR][/QUOTE]
If no [COLOR] tags everything is just great :]

Thank you for your time

EDITED
I am using this mod, and this mod is setting users default txt color
https://vborg.vbsupport.ru/showthread.php?t=231923
Reply With Quote
  #13  
Old 12-15-2012, 01:23 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, great. Thanks, I'll look in to that tomorrow (and let's hope that it doesn't break the whole thing).
Reply With Quote
  #14  
Old 12-15-2012, 10:48 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested in many different ways with color and bold tags, when in mentioned mod default color is excluded everything is working fine. That is if user manually choose color or bold txt your mod is working just fine which means that this mod is making trouble
https://vborg.vbsupport.ru/showthread.php?t=231923
Sorryz for problems, was thinkig its cause of your mod, probably I will just uninstall that mod as its not updated since 2010

Thank you for your time, cheers
Reply With Quote
  #15  
Old 12-15-2012, 12:27 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Yeah, I looked at it a little bit last night and came to the same conclusion - I'm not able to reproduce the problem no matter what I enter in the editor. At the same time, it doesn't look like that mod's doing anything wrong, it's just doing something different than what normally happens. So I'm still going to try to figure out a way to make it work. The biggest problem right now is my mod is a bit complicated, and I wrote most of it a couple months ago, now I don't remember how it works.
Reply With Quote
  #16  
Old 12-17-2012, 09:05 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks kh99. Would be nice to add a "collapse" option so that only the last reply is completly visible and the rest is collapsed by default.
Should be an optional setting because I don't think everybody likes it.
For me this would be the option which makes this mod perfect ^^
Reply With Quote
3 благодарности(ей) от:
anushkumarb, goxy63, jcgriff2
  #17  
Old 12-17-2012, 10:46 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll think about that. I had intended to have some different styles that were user-selectable, but finally decided that I'd never get it released if I tried to make it too complicated.

And as I mentioned in the description, if anyone wants to take a shot at improving the look of it, please do.
Reply With Quote
  #18  
Old 12-21-2012, 03:03 AM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'll think about that. I had intended to have some different styles that were user-selectable, but finally decided that I'd never get it released if I tried to make it too complicated.

And as I mentioned in the description, if anyone wants to take a shot at improving the look of it, please do.
WOO HOO!! Works great in my 4.2 solved a issue I had lots of complaints about. THANKS
Reply With Quote
  #19  
Old 12-21-2012, 08:44 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod KH99. I bet you put a few hours in this one! I had thought about doing something with this part of private messaging, but every time I looked at the code ... well you know.

Thanks!
Reply With Quote
  #20  
Old 12-21-2012, 11:06 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Nice mod KH99. I bet you put a few hours in this one! I had thought about doing something with this part of private messaging, but every time I looked at the code ... well you know.
Thanks. Yeah, it's not very much code but it did take a while to work it out.
Reply With Quote
Благодарность от:
justicechick
  #21  
Old 12-22-2012, 09:39 PM
craigvm's Avatar
craigvm craigvm is offline
 
Join Date: Aug 2012
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod m8.installed
Reply With Quote
Reply


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


All times are GMT. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08453 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete