Free Directory, Listing & Classifieds WordPress Plugin › Support › Extensions › Messages › Can the admin see the messages between the vendors and users?
Can the admin see the messages between the vendors and users?
- JorgeIII1 month, 1 week ago
I’d like to monitor what they talk about. Is there a way to do this? Obviously this is stated in the terms and conditions, so we’re not snooping in private conversations unannounced.ihor1 month, 1 week agodeveloper
There’s no such option at the moment, but if you have some tool for viewing the database (like Adminer or PHPMyAdmin) you can view wp_comments table and filter them by “hp_message” type.JorgeIII1 month ago
I’m not sure if this is a good practice, but I’ve been testing out a simple way to display the messages in the admin panel.
Since they extend the Comment class, I thought of making them public so I could “moderate them” from the admin menu.
By looking into hivepress-messages/includes/configs/comment-types.php, I could set the comment type “message” to public=> true… Now I can see every conversation in the admin panel if I go to the comment section.
I know I shouldn’t be editing plugins, so would there be a way to add a function to my functions.php file to filter this out? Or would you see I’m screwing the whole functionality?
Thanks a lot.ihor4 weeks, 1 day agodeveloper
Sure, if there are no errors in the dashboard after you changed this you can change this configuration via “hivepress/v1/comment_types” filter without editing the plugin code directly.JorgeIII4 weeks, 1 day ago
Awesome! I’ll take a look at filters then, I’m a bit of a noob there lol.ihor4 weeks agodeveloper
Here’s an example of filtering the “post_types”, it works in the same way for “comment_types” – you can just override the array values https://hivepress.io/support/topic/changing-vendor-profile-link/#post-5237
You must be logged in to reply to this topic.