× Joomla Facebook Connect support forum

Topic-icon Workflow Question about required JomSocial registration fields

Active Subscriptions:

None
Hi -

Using Joomla 1.5.25 with JomSocial 2.2.2.

How can I achieve this workflow:

When a new user clicks LOGIN WITH FACEBOOK, they are:

1) Forced to complete all required fields for JomSocial registration,

2) They are NOT forced to pick a username and password

Is this possible?

It seem like selecting Full Joomla Regisrtation is the only way to force required fields, but that there is no way to select auto username with no password in this mode?

Am I missing something?

The big problem we've had with all FB Connect tools is that users are able to create accounts while bipassing the required profile fields.

Thanks,

Mark
The topic has been locked.
Support Specialist
Mark,
No, that's not possible. JFBConnect has 2 registration modes: a quick, no user intervention one and a longer one where you can ask questions of the user. The latter mode, "Full Joomla User" has at the minimum, username and password fields. There are a lot more that can be added to that flow with the profile integration plugins (like required fields in JomSocial).

The idea behind those two is that if you're going to ask some questions, adding in username and password as the basics isn't a bit deal. We don't currently have a way around that. We do check the required fields using JomSocial's javascript validation, which should prevent users from bypassing those fields. If you're seeing different behavior, or ways around the validation, let us know.

Thanks, and hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex,
Thanks for the quick reply.
The main reason I wanted to bipass the Full Joomla Registration option was the lack of formatting on the form fields from JomSocial.

The onscreen result is not the same as the JomSocial form. Instead it looks like one chunk:



Is there an easy way to fix this, so the form has some styling, or at a minimum, has line breaks between radio buttons and/or checkboxes?

Thanks again!

Mark

Link to our sandbox: agnostichelpdesk.com/~sandbox/
The topic has been locked.
Active Subscriptions:

None
Alex,

Sorry, I just found another issues.

I:

1) enabled Full Joomla User Creation
2) clicked Login with FB
3) entered all the required fields (which I previously mapped using the plugin)
4) clicked register

After the page reloaded, I went to view and edit my JomSocial profile.
The fields that were mapped from Facebook fields were complete.
The fields I entered during registration were null

Any idea why this would happen?

Thanks again,

Mark

Link to our sandbox: agnostichelpdesk.com/~sandbox/
The topic has been locked.
Active Subscriptions:

None
The topic has been locked.
Support Specialist
Mark,
Not sure what you wanted us to ignore.. some, or all of the questions above.. but I'll answer what I can now anyways. Didn't mean to delay all day on this, but had to collect my thoughts :)

For the JomSocial registration process, there's simply no way we can use their flow. They store all the user data in temporary tables in their system, and there's no way to call just their forms and override the data how we'd want to.

Regarding the radio buttons, or any of the JomSocial fields, we do call JomSocial's code to have it render the field. We do wrap each field in a div that you should be able to style how you want. It's not perfect, but it also accommodates the ability for some sites to have a long list of fields, whereas JomSocial's own Facebook Connect doesn't let the user fill out any fields at all (or choose their profile).

Finally, for the issue you found with "entered all the required fields (which I previously mapped using the plugin) ", I'm not really sure what you mean here. If there's a mapping for the field, we shouldn't even show it on the registration flow for the user to fill out. Because it's not shown, we will always import that data.. so the end result you describe (seeing the imported data) is correct. Seeing the field on the registration page at all (if it has a mapping) is not normal.

Hope that explains, but certainly, if you have any other questions or feedback, definitely let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex,

Thanks again. The "ignore" was because I thought I had gone too far off topic for this thread. Thanks for answering, anyway!

Regarding the radio buttons, or any of the JomSocial fields, we do call JomSocial's code to have it render the field. We do wrap each field in a div that you should be able to style how you want. It's not perfect, but it also accommodates the ability for some sites to have a long list of fields, whereas JomSocial's own Facebook Connect doesn't let the user fill out any fields at all (or choose their profile).


So, this is what you would expect to see, then? It's correct?



Also...

Finally, for the issue you found with "entered all the required fields (which I previously mapped using the plugin) ", I'm not really sure what you mean here. If there's a mapping for the field, we shouldn't even show it on the registration flow for the user to fill out. Because it's not shown, we will always import that data.. so the end result you describe (seeing the imported data) is correct. Seeing the field on the registration page at all (if it has a mapping) is not normal.


Good catch. That was a typo. I entered all the non-mapped, but required fields, during the JFBConnect registration. It lost all the fields that I entered. It only showed the mapped fields on my profile. I've turned off the "show non-mapped fields" on the live website, as a result. But I can activate it on the sandbox if you want to see for yourself.

Thanks again,

Mark
The topic has been locked.
Support Specialist
Mark,
I'm honestly not sure how it should look, as I haven't created a lot of radio buttons in JomSocial and tested that way. However, that looks ugly, we'll agree. Either we're doing something wrong, not including some CSS from JomSocial that we should be (if we can and it doesn't break other stuff), or something else weird is going on.

With that said though, a radio button list of 13'ish things might not look terribly good on new lines each. That's just a long list of things. While it's no place for us to tell you how to run your site, you may want to consider a select box instead of radio buttons, since you only want one answer. Checkboxes would be a different story.

Either way, I will be looking into our JomSocial plugin over the next few days to determine why the radio buttons look like that compared to how they look in JomSocial. If there's a fix we can easily provide, we gladly will.

Thanks for your feedback. We're not designers, which is why we do more functionality stuff.. but don't mean to ever make things non-functional through a bad UI, like what you showed above.

Alex
The topic has been locked.
Active Subscriptions:

None
Alex,

Thanks, I really appreciate it. I'll check this thread over the coming days for an update.

Also, it's not my site, I just built it. I'll float the idea of the dropdown with the client.

Mark
The topic has been locked.