Replies
You are a genius the code worked perfectly. But I would like to know if it was possible to hide the button on the user profile entirely for those specific IDs.
The reason is there are specific accounts used in moderating the site so it would not make sense to display the report button on those profile, I don’t want users to report moderator profiles and branded profiles.
Maybe a filter to hide the report button on those specific IDs
Thanks so much
Have you been able to test this
ok thanks very much
No not at all this will be the first code related to the moderation plugin im also running php 7.4 im not sure if this is of any help
Its still reporting
Yes I just logged in as a white listed user and published a blog post then logged in again with another user in a private browser and both the user profile and blog post was reported successfully with the message (Thank you for reporting.) I also confirmed that the post and the user was reported from the moderation queue in the admin dashboard.
No but the role of all my users is set to contributor
Version 1.2.5
1. I just tested it now but the white listed ID’s User and Content can still be reported.
2. For the User profiles I was wondering if the report button itself can be hidden entirely in the members directory and the single profile from the white listed users that is the REPORT BUTTON should not display for the user ID’s 284, 37845, 4578, 2357
3. Just to be sure should the ID’s be white listed or black listed
- This reply was modified 4 years, 4 months ago by Tosin.
Any feedback sir thanks