Topic-icon Problems with Community Builder Profile

Active Subscriptions:

None
13 years 1 month ago #32703 by simbec
Hi I have some problem configuring community builder and jfbc. This is what I want to achieve:
- My users should be able to register by using both the normal registration and the facebook registration
- The facebook registration should automatically register the user without asking to fill any form
- The facebook registration should take some data from the user facebook profile and insert it in some CB field
- Once registered using facebook the users should receive an automatically generated password and their username (username should be the email)

With my current configuration (you can see it here imageshack.us/g/1/10113771/ ) I'm having the following problems:
- The facebook registration doesn't take the data First Name, Last Name and Birth Date (the ones specified in the CB profile settings)
- When a new facebook user is created CB sends a confirmation email which includes an empty activation link (with no activation code) even if the account is already activated
- Instead of the confirmation email with the link, JFBC should send an email with username (the email) and the generated password

Everything else works how it should.
How can I fix those problems?
The topic has been locked.
Support Specialist
13 years 1 month ago #32724 by alzander
Everything you're looking for should be do-able.. let's see how we can help get you going.

My users should be able to register by using both the normal registration and the facebook registration

No problem. We don't prevent normal Joomla registration.

The facebook registration should automatically register the user without asking to fill any form

Make sure the "Registration Mode" setting in JFBConnect is "Automatic"

Once registered using facebook the users should receive an automatically generated password and their username (username should be the email)

If CB is installed, then it will send it's own registration emails. JFBConnect is designed to not send new user emails when CB is installed. So, if you want specific information in those emails, you'll need to configure CB to send that information.

For your specific questions:

The facebook registration doesn't take the data First Name, Last Name and Birth Date (the ones specified in the CB profile settings)

Is other information being imported properly? Do you have the Social Profiles - Community Builder plugin installed an enabled? You can configure all the settings in the "Profiles" area of JFBConnect. Make sure the 'mappings' for each field you want to import into are properly set.

When a new facebook user is created CB sends a confirmation email which includes an empty activation link (with no activation code) even if the account is already activated

I'm not sure why the activation link is empty. We'll have to look into that. A few questions:
* Do you want the FB Users to have to activate? If not, set the "Skip CB Activation" setting to "Yes" in the Profiles area of JFBConnect.
* Do you have any 'Required' fields in your CB profiles? If so, those fields *must* have a mapping in the Profiles area of JFBConnect. CB will not allow a user to be saved to the database if required fields are not filled in. Since you're doing automatic registration, those required fields must be 'mapped' or you will need to not make them required.

Instead of the confirmation email with the link, JFBC should send an email with username (the email) and the generated password

That email is configured within Community Builder. However, the activation email is being sent right now instead of the standard 'new user' email you're looking for. You'll need to check the steps above to see disable the activation email (assuming you don't want that) and hopefully the proper email should start being sent.

Hope that helps,
Alex
The topic has been locked.
Support Specialist
13 years 1 month ago #32725 by alzander
Oh, if that still doesn't get you going, can you let me know what version of CB and Joomla you are using?

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

None
13 years 1 month ago #32727 by simbec
Hi thanks for your reply.

If CB is installed, then it will send it's own registration emails. JFBConnect is designed to not send new user emails when CB is installed. So, if you want specific information in those emails, you'll need to configure CB to send that information.


The problem is that it is sending emails even if CB is installed (with the CB profiler)

Is other information being imported properly? Do you have the Social Profiles - Community Builder plugin installed an enabled? You can configure all the settings in the "Profiles" area of JFBConnect. Make sure the 'mappings' for each field you want to import into are properly set.


As you can see here imageshack.us/g/1/10113771/ everything is in place.

Is other information being imported properly? Do you have the Social Profiles - Community Builder plugin installed an enabled? You can configure all the settings in the "Profiles" area of JFBConnect. Make sure the 'mappings' for each field you want to import into are properly set.


All the other info are imported correctly exception for the ones that you have to set on the CB Profile configuration (in my case First, Last Name and Birthdate). Here you can see that the mappings are ok imageshack.us/g/1/10113771/

I'm not sure why the activation link is empty. We'll have to look into that. A few questions:
* Do you want the FB Users to have to activate? If not, set the "Skip CB Activation" setting to "Yes" in the Profiles area of JFBConnect.
* Do you have any 'Required' fields in your CB profiles? If so, those fields *must* have a mapping in the Profiles area of JFBConnect. CB will not allow a user to be saved to the database if required fields are not filled in. Since you're doing automatic registration, those required fields must be 'mapped' or you will need to not make them required

I dont want them to activate (and the jfbc skips the activation correctly but it still sends the email with a broken link), I just want them to receive their password so that they can login by facebook or by normal login. The only required fields active are just the CB default ones + Birth Date.

Oh, if that still doesn't get you going, can you let me know what version of CB and Joomla you are using?

Joomla 2.5.9 (italian) and CB 1.9
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32728 by simbec
Ok I've just tried to deactivate the required default fields of CB that I dont use (the ones related with the forum feature) and now it fills the data correctly except for Birth Date, does the Birth Date need to be in a special format (i use the format dd/mm/yyyy) ?

I still have all the other problems related to the confirmation email: After the facebook registration the CB confirmation email arrives with a broken link to activate the account (but the account is already activated!).
The topic has been locked.
Support Specialist
13 years 1 month ago #32730 by alzander
Birthday shouldn't have to be in any set format. It's stored in the database 'raw', and CB simply changes the output look. However, if it's set to 'required', try un-requiring it and see if that helps the email problem.

We just tested a lot with the configuration settings and couldn't get the 'bad' email to be sent. Would it be possible to Private Message us a set of admin credentials for your site so we can investigate all of your settings further to see if we can narrow things down? If so, click the mail icon under my name to the left.

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

None
13 years 1 month ago #32732 by simbec

alzander wrote: Birthday shouldn't have to be in any set format. It's stored in the database 'raw', and CB simply changes the output look. However, if it's set to 'required', try un-requiring it and see if that helps the email problem.

We just tested a lot with the configuration settings and couldn't get the 'bad' email to be sent. Would it be possible to Private Message us a set of admin credentials for your site so we can investigate all of your settings further to see if we can narrow things down? If so, click the mail icon under my name to the left.

Thanks,
Alex


Thanks I sent you the info
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32775 by simbec
Hey alzander have you checked my website ?
The topic has been locked.
Support Specialist
13 years 1 month ago #32794 by alzander
Simone,
I just logged into the admin area of your site to check your configuration. Everything there seemed setup right. I then tried to login on the front-end and received the following email:

Welcome Alex Sourcecoast,
Your application has been approved by our administration team.
Your account with the following details:
Email : <MY EMAIL>
Username : <MY EMAIL>

has been activated.
We welcome you to our online community and trust that together
we will grow.
Enjoy the experience!
Kind Regards,
Website Administration Team

NOTE: This email was automatically generated from Dispense Bocconi (YOURSITE.com).

That's the email I would expect to receive. I checked the admin area and my user account was approved in both CB and in the Joomla User Manager.

I never received an activation email. Can you test again and see if you're still having issues? If so, don't touch the user in the admin area (don't approve them or change any of their settings) and let us know the user account name. Then, we can investigate more as to what may be wrong with those specific users.

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

None
13 years 1 month ago #32795 by simbec

alzander wrote: Simone,
I just logged into the admin area of your site to check your configuration. Everything there seemed setup right. I then tried to login on the front-end and received the following email:

Welcome Alex Sourcecoast,
Your application has been approved by our administration team.
Your account with the following details:
Email : <MY EMAIL>
Username : <MY EMAIL>

has been activated.
We welcome you to our online community and trust that together
we will grow.
Enjoy the experience!
Kind Regards,
Website Administration Team

NOTE: This email was automatically generated from Dispense Bocconi (YOURSITE.com).

That's the email I would expect to receive. I checked the admin area and my user account was approved in both CB and in the Joomla User Manager.

I never received an activation email. Can you test again and see if you're still having issues? If so, don't touch the user in the admin area (don't approve them or change any of their settings) and let us know the user account name. Then, we can investigate more as to what may be wrong with those specific users.

Thanks,
Alex


Yeah thanks, now looks like that it works (I reinstalled cb earlier), the only thing that doesn't is the import of the birth rate, all the other fields are imported correctly. Can you tell me why?
The topic has been locked.