I am running a test website with Hivepress 1.7.6. Since updating from 1.7.3 I continue to have more and more issues
Steps to reproduce
Update to Hivepress 1.7.6. Try to register a NEW user on your own website. Verify the NEW user’s email manually as admin in the wordpress settings
Actual result
Host (vendor) attributes created by me, marked as required or not, are never showing for NEWLY created users (after update). Not during registration, and not when creating a new user and going to his frontend settings page. Only the normal attributes show (name, email, etc…)
Expected result
Update Hivepress 1.7.4 said: “* Added required user attributes to the registration”. I expected to register with a new user and have the required attributes created by me (like languages spoken) show up in the registration form. It does not happen. Even worse, they disappear completely from the settings page of the new user.
Extra details
For technical reasons, I can’t register a new user and send him a verification email. I have to manually click on “verify email” in the user’s settings in the Wordpress backend, logged in as admin.
Past users still show all the attributes in their frontend settings. The bug only applies to new users.
If you refer to this new feature “Added required user attributes to the registration” it’s related to the user attributes only, not the host (vendor) ones - they never appeared in the registration/settings for for regular users, these fields appear only if a regular users tries to become a host, in 2 cases:
Adding the first listing
Registering as a host (if you enabled direct registration in HivePress/Settings/Hosts)
This new feature is related to user attributes marked as Required and Editable (those in Users/Attributes section of WordPress dashboard), they appear in the registration form for regular users.
Okay, I understand. Nevertheless, I still run into 2 other problems:
I created a new user via the backend. This user was not a vendor. Vendors have a required field created by me called languages.
I logged in as this new user. The required field is not in his user settings. I assume this is because he is not a vendor yet.
So I uploaded a listing to become a vendor automatically. Two issues:
When filling all the fields properly and clicking on Submit, the form does not go to the next step. Instead, it reloads. All the fields are still there, except the Title and the Description, which are now suddenly empty. When filling in the Title and the Description again, it now goes to the next step (select package).
It never asked me to fill the required field (Languages)
In the user settings (frontend), the required field (and all optional fields created by me) now appears, because I am now a vendor, but I am never asked to fill it in during the Add listing process.
This is all on my test website running Hivepress 1.7.6. I did exactly the same process on my active website running 1.7.3, and it all works. When a regular user tries to add a listing, the system immediately shows the “Complete profile” page, with the required fields necessary. Only after filling that it allows to upload a listing (as it should do)
Please make sure that this Languages field is also marked as Editable (in addition to Required). Then if it’s a regular user and they try to add the first listing, there will be a Complete Profile step before the Add Details step with the listing form. The Complete Profile step should show a vendor-specific profile page where all the required vendor fields have to be filled first, before proceeding to adding a listing.
My point number 3 (complete profile not appearing) seems to be related to how I created the user (via backend). I just was able to register a new user via the normal email verification, and now the flow works fine.
Point number 1 (form realoading) is still an issue. I tried to add a new listing with this new user (correctly verified via email) and when clicking on Submit, the Add Listing form reloads with all the fields still filled out, except for the title and the description. Always those two fields I have to fill again and then it works
This is true for Hivepress version 1.7.3 and 1.7.6
Please try to unpublish the custom attributes and check if the issue exists, as everything seems to work correctly locally. Also, please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.