Notifications
Clear all

[Solved] Show online/offline status only for registered users

5 Posts
2 Users
0 Reactions
1,484 Views
Posts: 19
Topic starter
(@dooomer)
Active Member
Joined: 5 years ago

Hello, I bought this extension, but on our site we have lot of guest users, so I would like to ask you if there is a chance how to hide online/offline status for guest comments and show it only for registered users?

Thanks for reply 🙂

4 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @dooomer,

Please navigate to the Dashboard > Comments > Settings >Styling admin page, put the following CSS code in the "Custom CSS code" textarea, to hide the online/offline status for guests:

#wpcomm .wc-blog-guest >.wc-comment-right .wc-comment-author .wou-status-online{
display: none !important;
}

Please don't forget to delete all caches and press CTRL+F(twice) on the frontend before checking.

 

Reply
2 Replies
(@dooomer)
Joined: 5 years ago

Active Member
Posts: 19

@elvina thanks for fast reply. I've tried to add this code to Custom CSS in WPDiscuZ settings, forced all cache on our server, open comments in anonymous mode, but online status fur guest is still here 🙁 

Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@dooomer,

Please put the following code too, and check again.

#wpcomm .wc-blog-guest >.wc-comment-right .wc-comment-author .wou-status-offline{
display: none !important;
}

If it doesn't help, please leave the example URL to allow us to check it.

 

Reply
Posts: 19
Topic starter
(@dooomer)
Active Member
Joined: 5 years ago

This one works! Thanks 🙂

Reply
Share:
Scroll to top