Viewing 4 replies - 1 through 4 (of 4 total)
  • Dar_Kuntu

    (@dar_kuntu)

    Hi!

    To remove the (gr)avatar is a built-in function of the widget. So go to your widgets, open the widget area where your quick chat widget is placed and there under its settings uncheck the box “show avatars”.

    For removing the hour I only have a kinda dirty way to remove the whole timestamp. Therefore go into your quick-chat.css and find the string

    /* Message time, applies to all messages */
    div.quick-chat-history-timestring{display:none; font-style:italic; margin: 0; padding: 0;}

    add the display:none; to your entry (see above)

    Hope I could help a bit ??

    Best regards

    Thread Starter Onimousse

    (@onimousse)

    Hi Dar_Kuntu

    Thank you so much for your help ??
    I would like just remove the hour do you think it’s possible?

    Best regards

    Plugin Author Marko-M

    (@marko-m)

    Hello,
    sorry for not answering to support emails and questions I’m quite ill and most of the time I’m not able to help. You can read more on my blog post here.

    It’s hard for me to see that someone needs help and do nothing about it so here it is ??

    All Dar_Kuntu wrote about hiding timestamp and avatar is correct (thanks Dar_Kuntu). If you need to hide only hour and leave date you’ll need to modify quick-chat.php file like this:

    1. You will find two occurrences of the following line inside quick-chat.php

    $v->timestring = date_i18n($quick_chat_date_format.' - '.$quick_chat_time_format, $v->unix_timestamp+($quick_chat_gmt_offset* 3600));

    2. To hide only hour and leave date just replace that line with the following:

    $v->timestring = date_i18n($quick_chat_date_format, $v->unix_timestamp+($quick_chat_gmt_offset* 3600));

    Good luck!

    Thread Starter Onimousse

    (@onimousse)

    Hello,

    Thank you so much for your help! It’s worked well.

    Good recovery ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Quick Chat] Custom chat box’ is closed to new replies.