Is there a way to give badges to users, such as the “Pro” badge that appears? Or to possibly allow specific users to add a detail to their profile once we’ve verified it’s legitimate?
Or do you have any type of workaround with the current versions of Hivepress and the extensions?
Yes, it is possible to add badges but it requires advanced customization. If you are familiar with code customization then, for example, please check verified badge implementation in /plugins/hivepress/templates/vendor/view/vendor-verified-badge.php, and please check this tutorial on templates customization Customizing Templates I HivePress Developer Docs - YouTube
If you mean vendors as specific users then as a workaround please try to disable the Allow direct registration setting in HivePress/Settings/Vendors and enable the Manually approve new listings setting in HivePress/Settings/Listings. Then regular users can not become vendors until your approvement of their listings and so they can not add specific information which is enabled only for vendors
This doesn’t appear to affect the badge for users at all. In the code, it should be for a check mark with a circle around it and say verified. I’ve included the code from the file here:
If you create a similar file please try to include this file in the template with hooks to add badges for vendors (as regular users do not have their public accounts and adding badges for regular users can require advanced customization) hivepress/v1/templates/vendor_view_block or hivepress/v1/templates/vendor_view_page. Please check this tutorial on templates customization Customizing Templates I HivePress Developer Docs - YouTube
I plan on editing the already existing file. I don’t intend to create another file in order to prevent having to customize the theme more.
The code I provided in my last post is from the file you directed me to. It doesn’t seem to affect the badge at all. It appears that this file may not even be in use by the theme, maybe?
Do you know what file dictates the “PRO” badge for verified users? It doesn’t seem to be the one you referenced in your first response.
If you use the TaskHive theme then you can find the file for the Pro badge by this path /themes/taskhive/hivepress/vendor/view/vendor-verified-badge.php