wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] Is there a setting to hide the delete comment options ?


AdamTheForumUser
Posts: 52
Topic starter
(@adamtheforumuser)
Trusted Member
Joined: 8 months ago

I have a client that wants to install the plugin but he doesn't want to allow his users to so easily delete their own comments.   So all these big red trashcan icons in the "my content and settings" popup he wants to remove.   Is this possible via a setting or another easy method without me having to force them hidden using CSS or something similar ?

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

@adamtheforumuser,

Please read this doc:  https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/user-authorization-and-profile-data/#%E2%80%9Cmy-content-and-settings%E2%80%9D-button

AdamTheForumUser
Posts: 52
Topic starter
(@adamtheforumuser)
Trusted Member
Joined: 8 months ago

Ok so I can enable/disable the tabs, but what I want to do (disable the delete button) isn't possible due to GDPR.  Is that right ?

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

Support member
Posts: 3624

@adamtheforumuser,

It's possible, you should just disable the "Enable button" option. 

image
AdamTheForumUser
Posts: 52
Topic starter
(@adamtheforumuser)
Trusted Member
Joined: 8 months ago

But that does something different.   That disables the entire popup interface.  What I'm after is disabling the trash can icons

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

Support member
Posts: 3624

@adamtheforumuser,

You can use the following CSS code: 

.wpd-wrapper #wpd-content-item-1 .wpd-item-right {
    display: none;
}
.wpd-wrapper #wpd-content-item-1 .wpd-item-left {
    width: 100%;
}

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.

AdamTheForumUser
Posts: 52
Topic starter
(@adamtheforumuser)
Trusted Member
Joined: 8 months ago

Thanks for this.    As a request, it would be useful if this was another option in the software to allow admins easy control.

Share: