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: (10 votes - 5.00 average) Installs: 76
Released: 13 Dec 2012 Last Update: 23 Dec 2012 Downloads: 256
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:	903
Size:	79.1 KB
ID:	142874   Click image for larger version

Name:	sg2.jpg
Views:	299
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.
  #61  
Old 23 Dec 2014, 09:22
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Good stuff kh99...working like a charm!!!! I ran into this by accident lol ....
Reply With Quote
  #62  
Old 23 Dec 2014, 18:12
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Just installed and having some issues.

1) It is not doing anything for the formatting of the PMs

2) It is not actually showing as "installed" in my list of Plugins/Products although it does go through the sequence of 'installing'


I am on 4.2.2


Is it possible that it isn't actually installing?

How can I check to see if it installed and if so (since it might not be working) make sure it is properly uninstalled?


Thanks,

D.
Reply With Quote
  #63  
Old 23 Dec 2014, 18:23
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
FWIW... I have the kh99 templates in my styles.

D.
Reply With Quote
  #64  
Old 23 Dec 2014, 19:45
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Hmm...if you have the templates but it's not showing up as an installed product, then maybe an error happened during installation. I'll take a look when I get a chance, and see if I can make a guess at what it might be.
Reply With Quote
  #65  
Old 23 Dec 2014, 20:05
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
I just re-imported the XML and it is showing up in the list of installed products now. (YAY)

but it is still not changing the look of my PMs

Odd.

D.
Reply With Quote
  #66  
Old 23 Dec 2014, 20:08
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, there's no install code in that mod, so I don't know why it doesn't install. Are you positive that it isn't showing up? It should show up in the Installed Products as "Private Message Quote Formatting" (I didn't put [kh99] in the title of that one).

Anyway, if you want to make sure things are cleaned up, go to the Plugin Manager and look for a section labeled "Product : Private Message Quote Formatting". If it's there you can delete those plugins.

Also in Search in Templates, Search for kh99_pm, and click "Search in Titles Only". This product installs two template, called kh99_pm_quote.css and kh99_pm_quote.

Same in Search in Phrases, search for kh99_pm and "Phrase Variable Name Only".

That should be it.

FWIW I just tried installing it on vb4.2.2pl1 and it seems to install OK.
Reply With Quote
  #67  
Old 23 Dec 2014, 20:12
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Originally Posted by kh99 View Post
OK, there's no install code in that mod, so I don't know why it doesn't install. Are you positive that it isn't showing up? It should show up in the Installed Products as "Private Message Quote Formatting" (I didn't put [kh99] in the title of that one).

Anyway, if you want to make sure things are cleaned up, go to the Plugin Manager and look for a section labeled "Product : Private Message Quote Formatting". If it's there you can delete those plugins.

Also in Search in Templates, Search for kh99_pm, and click "Search in Titles Only". This product installs two template, called kh99_pm_quote.css and kh99_pm_quote.

Same in Search in Phrases, search for kh99_pm and "Phrase Variable Name Only".

That should be it.

FWIW I just tried installing it on vb4.2.2pl1 and it seems to install OK.
You may have missed my previous post.

It installed properly now, but doesn't seem to be functioning.

I wonder if it could be the "styles" that I am using and there being something over riding your templates.

Strange.

I am sure like most things, it's unique to my site and not a reflection on your work.



D.
Reply With Quote
  #68  
Old 23 Dec 2014, 20:13
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, just saw your latest message (which I guess you posted while I was typing). Glad you got it installed, but I don't know why you don't see the effect. I'm assuming you looked at the screen grabs to see what it does - you'll only see the formatting in a message that has one or more quotes in it.
Reply With Quote
  #69  
Old 23 Dec 2014, 20:14
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Gadget_Guy View Post
Strange.

I am sure like most things, it's unique to my site and not a reflection on your work.



D.
Yeah, that could be. I'll have to look at the code again and think about that.
Reply With Quote
  #70  
Old 23 Dec 2014, 21:14
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
I did some back and forth PMing between my admin account and a user account I have setup for testing.

I see no change in how the PMs look from before to now.

D.
Reply With Quote
  #71  
Old 23 Dec 2014, 21:46
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Hmm...I looked over the code and couldn't see why a custom style would make any difference, but I may have missed something. Do you have any other PM related mods installed? There could be a conflict with something else.

When you look at the bbcode for your pm, do the quotes look like [QUOTE=kh99]...[/QUOTE]

I'm sorry it's not working for you. I'd like to help you figure it out but the truth is that I can't think of why it wouldn't work.

...oh, I guess you could go to the Private Message Options in the settings and make sure the mod is enabled, but it should be enabled by default so I can't think why it wouldn't be.
Reply With Quote
  #72  
Old 23 Dec 2014, 22:24
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
I have a custom style and it's working ..did you make sure you set it to Yes enabled in the settings ....for some reason when I installed it the first time it didn't installed with the "yes" enabled on ...
Reply With Quote
  #73  
Old 23 Dec 2014, 22:25
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Originally Posted by kh99 View Post

...oh, I guess you could go to the Private Message Options in the settings and make sure the mod is enabled, but it should be enabled by default so I can't think why it wouldn't be.
This was my issue the first time I installed it kh99...weird right?
Reply With Quote
  #74  
Old 23 Dec 2014, 22:40
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by CAG CheechDogg View Post
This was my issue the first time I installed it kh99...weird right?
That is strange. I just double checked the xml and it has a default of on, but who knows, maybe something's going on that I don't understand.
Reply With Quote
  #75  
Old 23 Dec 2014, 23:04
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
It was on.

I turned it off, then on again... just to see.

I enabled the date/time thing and that is working.

I even changed all the execution times for the hooks to be "1" instead of "5"


The PM e-mail that is being sent is formatted differently than before so something is happening.

But the output on the site looks the same as before.


Attached are screen shots of my settings, all my installed plugins, and what my PM back and forth looks like.

D.
Attached Images
File Type: jpg settings.JPG (61.4 KB, 4 views)
File Type: jpg mods 1.jpg (136.3 KB, 6 views)
File Type: jpg mods2.jpg (93.1 KB, 4 views)
File Type: jpg mods3.JPG (105.3 KB, 3 views)
File Type: jpg pm.JPG (94.1 KB, 7 views)
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 11:59.

Layout Options | Width: Wide Color: