The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Is there a setting ...
 
Share:
Notifications
Clear all

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

7 Posts
2 Users
2 Likes
1,010 Views
AdamTheForumUser
Posts: 66
Topic starter
(@adamtheforumuser)
Estimable Member
Joined: 3 years 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: 7105
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 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: 66
Topic starter
(@adamtheforumuser)
Estimable Member
Joined: 3 years 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: 6 years ago

Illustrious Member
Posts: 7105

@adamtheforumuser,

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

image
AdamTheForumUser
Posts: 66
Topic starter
(@adamtheforumuser)
Estimable Member
Joined: 3 years 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: 6 years ago

Illustrious Member
Posts: 7105

@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: 66
Topic starter
(@adamtheforumuser)
Estimable Member
Joined: 3 years 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: