Hide Reply Buttons for Logged Out Users

Is there a way to allow the Reply to Listing button to only be shown for users who are logged into their HivePress account AND marked as Verified in the vendor account? I need to verify all of my users before they are allowed to message one another.

Hi,

Please try this CSS snippet (How to add custom code snippets - HivePress Help Center):

body:not(.logged-in) .hp-listing--view-page .hp-listing__action--message {display:none!important}

As for sending notifications, only when the user is verified will require a custom implementation.

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY

Alternatively, you can send your proposal via this link, and we will estimate the implementation Request a Quote

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.