This forum is for advanced questions about SAC Pro. This includes development-related topics involving things like customizing and extending the plugin. If you have a question along those lines, please post it publicly using the form below. Or if you prefer, contact us directly.
Browse support forums for SAC Pro »
Forum : Advanced Topics
There are 10 posts in this forum.
I see a “dashchat” in my WP dashboard, and if I delete it, another “dashchat” takes its place.
Is there a way to add a chat of my preference to the WP dashboard? I have no use for a “dashchat” but want to see conversations in a different chat that I created for customers.
thank you.
Hi lbdesign,
Glad to help.
The plugin does not provide an option to choose the Dashboard Chat out of the box. It is possible to simply disable if not needed, under General settings > Dashboard Chat.
The plugin does however provide a programmatic way to change the Dashboard Chat. In the file /inc/wp-dashboard.php on line 9, there is a filter hook that makes it possible to define the shortcode/chat displayed on the dashboard. It includes a warning there next to the hook, so please heed and test well should you decide to implement.
I hope this helps, let me know if I can provide any further information.
Thanks for this. Could you do a huge favor and supply a snippet I can add to my site related to this line 9 hook that will allow me to show a different chat on my WP dashboard?
It would be better to use a snippet manager than to edit your plugin files, which will only be overwritten by updates.
Is that possible? Thank you
Yes here is a snippet that you can use to customize the dashboard chat shortcode:
Related: SAC Pro – Enable Dashboard Chat
Fantastic! Thank you. I swapped out the chat name for “DashChat”, which seems to go against the comment instructions, but after flushing the cache, my preferred chat is now appearing.
Did I do that right?
I don’t recommend using anything other than “DashChat” just because it’s not been thoroughly tested. If it does work in any particular case that is great, however understand that it is not something that is officially supported.
Hmm. Maybe I don’t understand then. If I want to put my preferred chat into the main Admin screen, then wouldn’t I need to insert the name of the chat I want?
There is one specific chat I want to be able to monitor via my Admin area, and it’s not “dashchat”.
Yeah the Dashboard chat is not meant as a monitoring tool. It’s a standard chat window intended for users to communicate with each other while logged in to WordPress. To monitor any of the front-end chats, you can either open a new tab and load the form, or you can manage chats via the plugin settings.
Smiley faces doesn’t work on some browsers. For example, If I type a message and a smiley face to the end, this is what shows up in the text entry box. This is happening on a Mac using both Firefox and Safari. Everything is up to date. When it posted to the chat the text appears, not the smiley face. Below is a copy-paste of the resulting chat.
<img draggable="false" role="img" class="emoji img-fluid" alt="😀" src="«link»Any thoughts as to what’s going on?
It happens on sites where WP is loading its own emojis. The solution is to disable WP emojis if they are not needed for anything. Here is a post with more information.