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?

  • Author
    Posts
  • JorgeIII

    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.

    ihordeveloper

    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.

    JorgeIII

    Hey Ihor!
    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.

    ihordeveloper

    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.

    JorgeIII

    Awesome! I’ll take a look at filters then, I’m a bit of a noob there lol.

    ihordeveloper

    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

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.