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-23-2012 01:02 PM

Quote:

Originally Posted by sadiq6210 (Post 2392392)
You are right Kevin
I changed the option "Add Date and Time to Quotes" to NO and it is working now.

Quote:

Originally Posted by da prez (Post 2392394)
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.


Thanks for that information. It turns out that the product xml file is missing a template. I've fixed it (as of the time of this post), so you can download the 0.91 zip file again, or if you want to create the template yourself, it's named kh99_newpm_quote and has only 1 line that looks like this:

Code:

[QUOTE={vb:raw originalposter} - {vb:raw datestr}]{vb:raw pagetext}[/QUOTE]

Sorry about that, and thanks for working with me to figure it out.

sadiq6210 12-23-2012 03:17 PM

Now it is perfect :) Thanks Kevin

Just a suggestion
It will be great if you can make two different quote background

for example
User 1 >> His quotes will appear in red background
User 2 >> His quotes will appear in blue background

Something like "WHATS Application"

What do you think Kevin? :)

kh99 12-23-2012 03:26 PM

Quote:

Originally Posted by sadiq6210 (Post 2392442)
Now it is perfect :) Thanks Kevin

Just a suggestion
It will be great if you can make two different quote background

for example
User 1 >> His quotes will appear in red background
User 2 >> His quotes will appear in blue background

Something like WHATS UP application

What do you think Kevin? :)


You can do that yourself if you want. In the css file, the class kh99_quote_mine will be applied to your messages, and kh99_quote_sender will apply to the person who sent the message. There is also kh99_quote_1 - kh99_quote_5 which can be used in a similar way to set the background color for up to 5 different quoted users.

As I mentioned in the mod description, I'm more of a programmer than a design person, so my intention was to provide the variables so that people could format it the way they like. Maybe if someone comes up with a nice looking display they can share the ccs and or templates here. It would also to be nice to have the look selectable (possibly by each user), but I probably won't do that unless it seems like people want it. If anyone has any ideas along these lines, please share them.

sadiq6210 12-23-2012 03:31 PM

Quote:

Originally Posted by kh99 (Post 2392444)
You can do that yourself if you want. In the css file, the class kh99_quote_mine will be applied to your messages, and kh99_quote_sender will apply to the person who sent the message. There is also kh99_quote_1 - kh99_quote_5 which can be used in a similar way to set the background color for up to 5 different quoted users.

As I mentioned in the mod description, I'm more of a programmer than a design person, so my intention was to provide the variables so that people could format it the way they like. Maybe if someone comes up with a nice looking display they can share the ccs and or templates here. It would also to be nice to have the look selectable (possibly by each user), but I probably won't do that unless it seems like people want it. If anyone has any ideas along these lines, please share them.

Thanks, this is exactly what I need

I will make new appearance and share it here :)

BRB

Gemma 12-23-2012 05:12 PM

Thanks for the update :)

sadiq6210 12-23-2012 06:46 PM

1 Attachment(s)
Quote:

Originally Posted by sadiq6210 (Post 2392446)
Thanks, this is exactly what I need

I will make new appearance and share it here :)

BRB

BEFORE:

https://vborg.vbsupport.ru/attachmen...4&d=1355445160


AFTER:

https://vborg.vbsupport.ru/attachmen...1&d=1356291559

How?
1- Download the attached file and upload it to image folder.

2- Open template "kh99_pm_quote.css" and replace it all with:

Code:

@charset "UTF-8";
/* CSS Document */

.kh99_quote_container
{
/* Applies to every quote */
padding-right: 20px;
}

.kh99_quote
{
/* Applies to every quote */
  border: 1px solid #417394;
  border-radius: 5px 5px 5px 5px;
  padding: 4px 10px;
}

.kh99_quote_hide
{
/* Applies to "show older messages" line */
  font:normal 11px Tahoma,Calibri,Verdana,Geneva,sans-serif;
  margin-left:25px;
  padding-bottom: 10px;
}


.kh99_quote_mine
{
/* Applies to quotes from user readin PM */
  border: 1px solid #B5E192;
  background: url("images/gradients/category-23px-light.png") repeat-x scroll center top #EDF3E5;
}

.kh99_quote_sender
{
/* Applies to quotes from user who sent PM */
  border: 1px solid #DBD6D2;
  background: url("images/gradients/category-23px-light.png") repeat-x scroll center top #F8F8F8;
}

.kh99_quote_odd
{
/* Odd number quotes (first message in series is 'even') */
  margin-left:50px;
}

.kh99_quote_even
{
/* Even number quotes (first message in series is 'even') */
    margin-left:25px;
}

.kh99_quote_1
{
/* First quoted user (affects all subsequent quotes by this user) */
}

.kh99_quote_2
{
/* Second quoted user */
}

.kh99_quote_3
{
/* Third quoted user */
}

.kh99_quote_4
{
/* Fourth quoted user */
}

.kh99_quote_5
{
/* Fifth quoted user */
}


goxy63 01-05-2013 10:12 AM

Hi

Looks like there is another problem when it comes to email notification about new PM for users.
That is, if user receives new pm without quotes its ok, with quotes he gets email notification like this:

Code:

THIS is message:
***************
<!-- BEGIN TEMPLATE: kh99_pm_quote -->
<div class="kh99_quote_container">

  <div class="kh99_quote kh99_quote_mine kh99_quote_even kh99_quote_0">
        <div class="bbcode_postedby">
                        <img src="images/misc/quote_icon.png" alt="Quote" /> Quote member <strong>testmember</strong>

        </div>
                <div class="message">wdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd</div>
  </div><br />

  <div class="kh99_quote kh99_quote_odd kh99_quote_1">
        <div class="bbcode_postedby">
                        <img src="images/misc/quote_icon.png" alt="Quote" /> Quote member <strong>Administrator</strong>

        </div>
                <div class="message"><quote>bla bla bla da da da da da d aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</div>
  </div><br />

</div>
<!-- END TEMPLATE: kh99_pm_quote -->ahhahhahahahah bla bvla bla
***************


kh99 01-05-2013 12:49 PM

Quote:

Originally Posted by goxy63 (Post 2394860)
Hi

Looks like there is another problem when it comes to email notification about new PM for users.
That is, if user receives new pm without quotes its ok, with quotes he gets email notification like this:

What version of this mod do you have installed? The problem you mention was in the original version, but I thought it had been fixed in version 0.91. (Edit: it looks like you've only downloaded 0.9, so maybe you just need to upgrade).

vicius_the_one 01-05-2013 01:49 PM

mine not working too....

kh99 01-05-2013 01:53 PM

Quote:

Originally Posted by vicius_the_one (Post 2394896)
mine not working too....

Are you saying that you have the same problem with PM emails? Or do you have a different problem?


All times are GMT. The time now is 07:43 PM.

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.01071 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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