Tagged: conditionalfieldsforbuddypress
I use Single Member Type field on my register-page. I want other XProfile fields to become conditionally visible based on the selected member type. This used to work, but it no longer does.
What I have tested:
– The Single Member Type field does not fire a native change event on its own anymore; I had to add a custom script to make it emit a change event (verified in the browser console).
– My own JS and PHP patches run correctly on the registration page.
– The hook bp_cpf_enqueue_scripts exists, but Conditional Profile Fields does not seem to initialize its scripts on the registration page.
– In the console, typeof bp_cpf_conditions remains undefined, which indicates that the conditional logic is not being loaded.
– There are no caching or minification plugins active.
– The registration page contains XProfile fields, including the Member Type field.
My question:
Does the free version of Conditional Profile Fields support conditional logic on the BuddyPress registration page when the Member Type field is used as the trigger?
If yes:
Which hook or method should I use to ensure that bp_cpf_conditions is initialized on the registration page?If no:
Is the recommended workaround to create a hidden XProfile select field as the trigger, and copy the Member Type value into that field via JavaScript?Hi,
Thank you for using the member types pro plugin.
You do not need conditional field if you are using this plugin.If this is not firing, it is a bug.
– Are you using BP Nouveau or BP legacy template pack?
– Is there any plugin(like Youzer etc) that changes the signup page markup?
– Which theme are you using
– Is the site live/have a staging environment where I can see the registration page? If yes, please share a link.Please let me know the details and I will assist. Feel free to use private reply to this post if not comfortable sharing the details publicly.
Regards
BrajeshI don’t use BP Member Types Pro anymore, I changed it to BP Profile Visibility Manager and Conditional Fields for Buddypress. This works better for my setup.
But now Conditional Fields doesn’t work anymore.I’m not using any plugin that changes the signup markup. I’m only using BuddyPress Nouveau with the Kadence theme.
The link to the registrationpage: http://www.plektrum.nl/register
You must be logged in to reply to this topic.