Join our new community forum for support & discussion

Join Now

Home Support Extensions Messages Restrict messages per user

Restrict messages per user

  • Author
    Posts
  • artshareco

    Hi,

    Would it be possible to restrict messages depending on the role/status of the vendor? For example, if a vendor adds a listing in the ‘Artist’ category (I’m using categories as profiles) a user without an active membership would be able to send them a message, but an active membership would be needed in order to contact vendors who have added listings in the ‘host’ category.

    I’m referring specifically to sending messages via the ‘message’ icon that appears under the vendor’s profile, not to the ‘send message’ button in the listing itself.

    artshareco

    Ok, I’ve found a workaround for the time being, by removing the icon using the following CSS snippet:

    .fa-comment {
        display: none;
    }

    However, when you click on a vendor’s profile you’re redirected to a page where you can see their listings, and below their profile picture there’s an icon saying: ‘send message’. Is it possible to hide this icon?

    ihor developer

    Please try using this CSS snippet to hide just the message icons/links:

    .hp-vendor .hp-vendor__action--message-send {display:none}

    artshareco

    Thanks Ihor,

    That CSS snippet didn’t work, but this one did:

    .hp-vendor .hp-vendor__action--message {display:none}

    ihor developer

    Yes, it seems that I posted the incorrect CSS class. Thanks for posting the solution.

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.