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
  #22  
Old 12-22-2012, 10:28 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Found what is the problem just now, problem is if message txt is wrapped with [COLOR] tags,
Quote:
I am using this mod, and this mod is setting users default txt color
https://vborg.vbsupport.ru/showthread.php?t=231923
Quote:
Originally Posted by jluerken View Post
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.
New version addresses the above issues and a few others. Also has optional date/time stamp (which someone asked for in the vb3 version thread).
Reply With Quote
  #23  
Old 12-22-2012, 10:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by craigvm View Post
great mod m8.installed
Thanks. You missed the update by an hour or so - sorry for the inconvenience.
Reply With Quote
  #24  
Old 12-23-2012, 04:37 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod

Kevin, could you put a screen shot to show the effect of this option?
"Add Date and Time to Quotes"

I set this option to yes but I cannot notice any change !

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

I'll try to make a screen shot later. But I think the most likely reason you don't see anything is because it does not add date and time to existing messages, it only adds it to new messages.
Reply With Quote
  #26  
Old 12-23-2012, 05:38 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think there is something wrong
In existing messages it is okay (I mean the quotes formatting not the date option)

But if I receive a new message and after reply, the another user will receive my message/reply without any quote !

Should I make anything to quote the previews message before send it ?
Reply With Quote
  #27  
Old 12-23-2012, 05:50 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...you shouldn't have to do anything special. If you disable this mod, does the quote appear?

When you wrote your reply, did you notice if the message was in quote tags in your reply?
Reply With Quote
  #28  
Old 12-23-2012, 05:55 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you disable this mod, does the quote appear?
Yes

Quote:
Originally Posted by kh99 View Post
When you wrote your reply, did you notice if the message was in quote tags in your reply?
No, the post box is empty when I reply even if I click the reply button below the message, the post box still empty !
Reply With Quote
  #29  
Old 12-23-2012, 05:59 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...try this if you can: go to the Plugin Manager and disable the "PM Quote Formatting - Add Date/Time to Quote" plugin (uncheck the "Active" checkbox and press "Save Active Status" button at the bottom. See if that makes the quote appear in the reply box.

Edit: Actually, now that I think about it, that probably is no different than setting "Add Date and Time to Quotes" to no. When you set it to Yes, that chnages the way the quote tags are inserted in the reply box, and apparently that isn't working for you for some reason. What version of vbulletin do you have? What version of php? And is your site using a different language?
Reply With Quote
  #30  
Old 12-23-2012, 06:33 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Hmm...try this if you can: go to the Plugin Manager and disable the "PM Quote Formatting - Add Date/Time to Quote" plugin (uncheck the "Active" checkbox and press "Save Active Status" button at the bottom. See if that makes the quote appear in the reply box.

Edit: Actually, now that I think about it, that probably is no different than setting "Add Date and Time to Quotes" to no. When you set it to Yes, that chnages the way the quote tags are inserted in the reply box, and apparently that isn't working for you for some reason. What version of vbulletin do you have? What version of php? And is your site using a different language?
You are right Kevin
I changed the option "Add Date and Time to Quotes" to NO and it is working now.

I am using v4.1.12
PHP v5.2.17
Arabic language RTL (I already modified the template "kh99_pm_quote.css" and changed all (left) to (right)

Thanks
Reply With Quote
  #31  
Old 12-23-2012, 07:30 AM
da prez da prez is offline
 
Join Date: Mar 2003
Location: texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 07:44 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.04946 seconds
  • Memory Usage 2,344KB
  • 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
  • (7)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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