Easy fix on my end was replacing this:
$wplc_tl_msg = "<span class='wplc_offline'>" . ($wplc_using_locale ? $wplc_na : stripslashes($wplc_settings['wplc_pro_na'])) . "</span>";
with this:
$wplc_tl_msg = "<div class='wplc_offline'><strong>" . ($wplc_using_locale ? $wplc_na : stripslashes($wplc_settings['wplc_pro_na'])) . "</strong> " . ( $wplc_using_locale ? $wplc_offline1 : stripslashes($wplc_settings['wplc_pro_offline1'])) ."</div>";
in wp-live-chat-support.php, line 1972.
That should do it, and that’s all I’d need.
Feel free to incorporate that into the live version somehow, if possible.
Thanks @crazyserb, you’re right, custom strings were missing there. Merging your fix for next release.
I did add some replication with that though, as now that text shows up twice on the full expanded chat window, because of the code on lines 1794-1797:
$text = ($wplc_using_locale ? $wplc_offline : stripslashes($wplc_settings['wplc_pro_offline1']));
$ret_msg = "<div id=\"wp-live-chat-2-info\" class=\"wplc-color-bg-1 wplc-color-2\">";
$ret_msg .= $text;
$ret_msg .= "</div>";
I just commented that part out for now, but I’m sure you can make that prettier than my quick hack job there…
Also, another “bug” – in Chat Box -> Picture section, removing the image and saving that form does nothing – the image comes back to what it was previously:
https://prnt.sc/pplupq
Can you fix that, and maybe add a check for whether that image is defined or not in order to display the “wplc_hovercard_content_left” / “wplc_left_logo” class divs in the code itself? Because we’re trying to get rid of that image and get the text to display full width instead. I mean, I can do it through CSS by hiding and forcing things, but… you know, it would be nice if it worked as it should right out of the box.
Thanks!
Hello @crazyserb, we’ll look into this issue. Suggestions about layout improvements are always welcome. Thanks for your help!
Hello @crazyserb, issues you reported have been fixed in new version 8.1.3. Give us some feedback!