× Joomla Facebook Connect support forum

Topic-icon JFB Connect and Community Builder Subscriptions

Active Subscriptions:

None
Hello,
I have JFB Connect, Community Builder and CB Subscriptions installed on my website. Currently JFBC appears to correctly create a CB User, but their account is not enabled and it does not create a CB Subscription to the default free subscription (If they join from the website, they automatically are subscribed to a free membership). Also, after they join with JFBC, I don't seem to be able to go in and add a susbcription even from Manage Users in CB. If people are not registered with a free subscription, they will not receive newsletters, etc. Is there a way for me to fix this?
I hope this explanation is clear.
I currently run Joomla 1.5.25, JFBC 4.0.3, and CB 1.7
Thanks
The topic has been locked.
Support Specialist
12 years 5 months ago #15452 by alzander
Not sure. We've never tested with CB Subs, but know of other user's that have got it working with CB Subs.

I'd check the ordering of User Plugins to make sure that any CB Subs plugins fire after JFBConnect's (to ensure the user is created properly first before CB Subs does anything).

Also, check to make sure that the CB User was properly created. Mainly, make sure any information imported from Facebook is fully there, their account is activated and ready to go.

Beyond that, I don't have great suggestions. You may need to talk with CB Subs to make sure they properly work with other registration extensions in addition to CB. If you hear anything back, or need more help, definitely let us know!

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

None
12 years 5 months ago #15461 by hfoxonline
Ok,
I will try these things and let you know how it goes.
Thanks for the quick reply.
The topic has been locked.
Support Specialist
12 years 5 months ago #15466 by alzander
No problem. We help where we can, but just don't know CB Subs and their registration process. JFBConnect creates standard Joomla users, as well as CB users. Hopefully, CB Subs isn't so tied to the CB registration process that it can't use something else, but I just don't know.

If the above doesn't work, just let us know, and we'll try to come up with some other things.

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

None
12 years 5 months ago #15488 by hfoxonline
Ok,
Here is a more thorough analysis of what is going on. I have posted on the Community Builder forum as well hoping that someone there might be able to help me. I couldn't find anything just by searching their forum. As far as I can tell, the user plug-in's are firing in the correct order.

Here is what happens when I try to login for the first time/create a new user on the site using just the JFBC Facebook login: 1) I am directed to login to my Facebook account. After I log in to Facebook, 2)A registration form appears that still asks for my email address even when I have told JFBC to bypass that and just import the email from facebook. If I choose to allow the user to choose his/her own email, then my facebook email is automatically entered into the first email address spot, but further down the registration page, it asks me for my email again (this email blank looks like the CB email request blank) and I don't have to enter the same one as at the top of the page. The registration form also asks me twice for a username. After I have filled out all the information and the emails and usernames match 3)I am directed to a completely blank page that has the correct URL at the top but has nothing on it. I am directed to this page whether or not I have JFBC set to redirect on first login or not. Sometimes, I have to close all browser windows, log out of facebook, and clear my cache to be able to get to the page again even if I just manually type in the URL.

When I check the email associated with facebook/the website, the website/CB did, in fact, send a confirmation email. When I click on the confirmation link, I am directed to the confirmation page URL, but it is completely white. When I check the back end of the website, a new user is created but that user shows pending approval and unconfirmed account even when I have JFB connect set to create a full joomla user and bypass the email confirmation.

It doesn't appear as if any information is transferred from facebook into the user profile and even the extra bit of required information that the user had to enter when creating the account does not appear. So, I guess that a user is not actually created even though they appear in the user manager? It doesn't appear as if JFB login is communicating fully with CB or with facebook. Although, the "...I just joined www.mysite.com" message does appear on the users FB wall. I don't know what's happening and I'm very confused at this point. I don't know how people have been managing to make this work but I have several who have set up their accounts this way. I did turn on the show errors on the frontend button on JFBC and I got no errors.

On the plus side, if I create a user just from the front end using CB, that all proceeds normally and I can connect that account to my FB account without any issues.

I hope this isn't all too confusing. Like I said, I posted on the Community Builder forum, too, so hopefully someone can direct me. Any input you have would be great.

Thanks.
The topic has been locked.
Support Specialist
12 years 5 months ago #15497 by alzander
Whew.. alright.. I'll try to take it one step at a time. Again, we've never used CB Subs, so I don't have all the answers, but will try.

1) Duplicate email/username on registration: Make sure in CB, you haven't created any additional username or email fields. CB comes with a username field of type "predefined" and an email field of type "primaryemailaddress". JFBConnect detects these and will automatically fill them in (and hide them on the registration form). If you have extra fields in CB of type "email" or "text" or something else that are called "username" or "email", that's likely why you're seeing them.. they look like simply extra fields that you want from your user.

2) For the blank white page you see, please turn error reporting (in Global Configuration) to Maximum. Hopefully, there's an error message that pops up there that you can relay to us, and we'll help investigate it.

3) For user's that aren't auto-activated, see the post below. Generally, this occurs when you have required fields that aren't being filled in during registration somehow:
www.sourcecoast.com/jfbconnect/docs/thir...or-community-builder

4) I think for the profile info not being imported, it's all related to the steps above. Hopefully, if we work those out, things will start moving. In general, I'd recommend trying to set all CB fields (temporarily) to not required, and see if the user is properly created/info imported. If that doesn't work, try disabling CB Subs, if possible, and see if that improves things.

Let us know how this goes, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #15506 by hfoxonline
Okay,
I went and looked at all my CB Fields. I did not create any custom fields that were email, username, etc. The only ones I have are the predefined ones. The only required fields at registration were Firstname, Lastname, email, password, username and zipcode. So, as far as I could tell from that, the only extra field that JFBC should be asking for is zipcode because there is no mapping field for that in facebook that I could see.

When I set all fields in CB to not required, then on JFBC registration, I don't get asked for email (I hid this field). I get asked for username and password. After entering the required information, the user is directed to the correct URL but with the entirely white screen. No error message appears when global debug is turned on. The user still receives a "click this link to confirm your account" email but when the link is clicked, the user is again directed to the white screen with no error message.

Still, the user appears to have been created on the backend in the CB user manager with an account that is enabled but not approved or confirmed (even though I have these set to not need approval of the moderator). When the user clicks the link to confirm the account, their account then somehow becomes disabled and they are blocked. When they try then to go login at the site, they are asked to register again.

The user does not seem to be correctly created in CB...no information other than email address is imported even though I had other fields mapped to facebook fields (first name, lastname, current city, current state). The "just registered at...." does appear on the users Facebook Wall, though.

Don't really know where to go from here. I appreciate all of your help. On the CB forum, they pretty much said that they couldn't help me. No suggestions.

Thanks again,
Heather
The topic has been locked.
Support Specialist
12 years 5 months ago #15571 by alzander
Heather,
I think the next best step from here is to give us access to the admin area of the site, if you're ok with that. We should definitely be able to figure out the CB issues, as long as it's not CB Subs that's the problem (which we don't know much about).

If you could private message me a super admin account, that would help a lot. You can PM me by clicking the arrow under my picture (<----) and hitting the mail icon.

Hopefully, we can get you going quickly.

Thanks,
Alex
The topic has been locked.