Add custom badge and messages filtering

Hello,

I would like to propose implementing two features:

1. “Urgent” Badge for Listings:
The first feature is the ability to add a paid “Urgent” badge to listings. This badge could appear next to the listing title—either in the list view (similar to a pinned ad) or directly on the listing page, near the title. Users would be able to apply this badge after purchasing a special package.

2. Message Filtering in the Inbox Module:
The second feature concerns the messaging module. I’d like to add a filter that allows users to sort messages into two categories:

  • Messages related to the user’s own listings (sent by other users), and
  • Messages the user has sent in response to someone else’s listings.

Hi,

Please note that such features are not available in our products, and to add them, you will need custom development. If you need help with coding, I recommend that you consider hiring experts: Customize your website | HivePress

I understand, and that’s precisely why I asked the question. I’m a developer, and I haven’t found anything useful in the documentation. I want to implement such functionality and integrate it into a website, but I would appreciate some guidance on which parts to modify in order to access those elements. Otherwise, I’ll manage on my own.

If you are a developer, I guess adding an attribute with a checkbox should do.
Then query if the value of the checkbox is set to display it.

Messages are stored in native WordPress wp_comments table and are of the type hp_message.

By default, they are organized by discussion, which makes sense to me.
Probably with wp_query, you could achieve what you want.

Hi,

Thank you for your feedback.

  1. We have checked this in more detail and it would be possible with a future update to the Memberships extension. You will be able to create a checkbox as a custom listing attribute and restrict it to editable (i.e., you will need to pay a fee if the user wants to change it), and when the checkbox is selected, the attribute display area will show a custom format badge.

  2. Thanks, that makes sense, we’ve added this feature to the backlog and will consider adding it.

​I hope this is helpful to yo

Thanks, i already did badge from number 1. When i finish 2. i can share my code.

1 Like