wpDiscuz - WordPress Comment Plugin
Inline Commenting f...
 
Share:
Notifications
Clear all

[Solved] Inline Commenting for registered only


kingstakh
Posts: 8
Topic starter
(@kingstakh)
Active Member
Joined: 1 year ago

Can't find enable Inline Commenting option only for registered users

Topic Tags
4 Replies
Asti
Posts: 3913
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi @kingstakh,

We're really sorry, but there is no option that allows disabling the inline commenting for specific user-roles. 

2 Replies
kingstakh
(@kingstakh)
Joined: 1 year ago

Active Member
Posts: 8

@asti i mean show form only for logged in users

Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3913

@kingstakh,

Yes, I understood what you meant. We're really sorry, but there is no option to disable the inline commenting form for none logged in users.  

There is some workaround you can use. You can hide inline commenting form via CSS code for not logged-in users. Below is provided a CSS code you can use. 

body:not(.logged-in) .wpd-inline-shortcode .wpd-inline-icon-wrapper .wpd-inline-form-wrapper{
display: none !important;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

kingstakh
Posts: 8
Topic starter
(@kingstakh)
Active Member
Joined: 1 year ago

Can we hide form if user is

$isAnonymous
Share: