• Resolved shubham9

    (@shubham9)


    i am using wordpress 4.3.1 and i recently installed the chat plugin by wpmudev , and i wanted to know how can i get rid of the chat box when the user logs out from the site, now i am able to see the chats though the user cannot participate once logged out , but he still can view them , this should be avoided and thus i want the chat box to appear only when the user is logged in? i want help in this any suggestions pls , Thank you

    https://www.ads-software.com/plugins/chat/

Viewing 1 replies (of 1 total)
  • Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey there shubham9,

    How are you doing today?

    This should be possible with some custom CSS as there should be a logged-in class in the body element in your site when user is logged in.

    Please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    https://www.ads-software.com/plugins/simple-custom-css

    div#chat-block-site {
        display: none;
    }
    
    .logged-in div#chat-block-site {
    display: block;
    }

    Hope this helps ??

    Best regards,
    Bojan

Viewing 1 replies (of 1 total)
  • The topic ‘hhow to make the bottom chat disappear when the user logs out?’ is closed to new replies.