Add extended profile to registration
I’m currently making a site using the SweetDate theme to bring tabletopgamers together. I’ve been trying for quite a while now to get the extended profile fields into the registration forms WITHOUT having to put them all in the Base Field Group (the theme creates a tablike structure making it very easy to distinguish the different Field Groups).
The problem is people don’t understand they have to complete their profile and I can’t redirect them directly to their profile page to force them to fill it in. Doing this during registration would be much more logical but I can’t seem to get it done.
I have tried the following:
– Gravity Forms with Registration Addon : many (if not all, I tried so many things I can’t fully remember what’s the cause of what error) of the extra fields for some reason do not show up in the “tabs” of a profile. It also doesn’t “see” some extra fields for some strange reason so I can’t select them nor does it allow me to put the role as Participant.
– I found a custom code from a person and it works BUT I’m using the GEO-wp plugin allowing people to search by their location using the location-field of GEOwp inside the Extended profile Fields. This locationfield however (named “city”) does NOT appear in the form created by the php this person wrote.
– I attempted adding code to the original code
<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>changing the profile_group ID each time with the 6 extra I require. Unfortunately due to my basic php skills I run into a lot of white screens and the one that is working and sending data only puts the last id in the database; not even showing the base fields in their profile page (which they always do).
Regardless… There must be a way where I can use the extended profile fields IN the registration page without having to get rid of the “tabbed” nature of the theme. OR, at least… be able to insert the “geowp/extended profile location field” into the custom code so people don’t need to take another step to complete a registration (besides extra profile stuff).
The normal registration page –> https://www.fitzsimmonsweb.be/test/mijn-account/register/
The tabbed profile –> https://www.fitzsimmonsweb.be/test/gamers/admin/ (all fields except base need to be inserted during registration imo depending on what kind of gamer they are)
Can’t add the custom code a person made cuz it screws this topic up.
Anyways, I know this is a loooooooooooooooooooooooong read but I haven’t been able to find anything useful to help solve this. I can’t fathom that this isn’t possible… but it’s sure weird this stuff was never incorporated as far as I have seen during the 7 days Ive been banging my head (and fists) over this.
Any help would be appreciated as long as the solution allows me to have the person registering completing his or her profile in a smooth way.
Thanks in advance
- You must be logged in to reply to this topic.