× Joomla Facebook Connect support forum

Topic-icon JFBConnect with Community Builder 1.3.1

Active Subscriptions:

None
15 years 4 months ago #6881 by guero
Hello!

We just subscribed and installed JFBConnect running under Joomla 1.5.22 under Community Builder 1.3.1. The Community Builder Profile is installed.

We're facing several problems and hopping that you can help us:

1. Within the JFBConnect component the status (see attached screenshot) of JFBConnect is not marked green - is this normal or do we have a configuration problem?

2. We have a mapping for cb fields with facebook fields.
firstname-User First Name
lastname-User Last Name
The logged in Facebook user has for sure these fields set in their FB profile. The new user gets added within the CB user list but the cb fields are empty. Strange is that the screen afterwards the first login says "Welcome <FirstName> ..."?!
Additional info: I get only asked to permit "Access my profile information Birtday and Hometown" - I think "Access basic information request with name, avatar is somehow missing.

3. The checkbox "Import Avatar" is set to yes but the FB avatar image does not get imported to the CB user avatar ?!

4. For CB fields which are not available on FB is it possible to set default values within JFBConnect - or is this only possible within the Field management of CB?

5. Is it possible to assign to a particular CB Subs plan if a new user gets signed in via JFBConnect ?

6. If we choose the option "Facebook user only" is it possible to define somehow the created username which is currently always fb_facebookId - to be something like firstname_lastname. If set within CB that the user can change this username does it impact somehow JFBConnect and could have bad side effects ?

Thanks for your support
Oliver

File Attachment:
The topic has been locked.
Support Specialist
15 years 4 months ago #6889 by alzander
To start, sorry for the delayed response.
1) The missing check is normal. We didn't put it there because if you're looking at the component, it's installed.. but we can understand the confusion and will likely be adding the check mark in the next release.
2) The "Basic information with name, avatar, etc" is definitely required. My guess is that you already gave permission for your application for this user before you tried JFBConnect, and the Birthday and Hometown are 'new' permissions that JFBC is requiring. Facebook won't ask for permissions you've already granted.

As for the fields not importing, is it just those 2 fields, or are the others (birthday, hometown, etc) not importing as well? Also, can you try creating a simple text field and name it "First Name" and try to import into that field? The answers to these questions will help us diagnose the problem further.

3) That's not good, and could be related to #2. Can you try looking at your User plugins and set JFBConnect to be ordered #2 with the Joomla User plugin ordered #1. The reason I say this is because if you have other User plugins enabled, if any of them try to redirect the user, it will prevent later ordered plugins from firing. If the JFBConnect User plugin doesn't activiate, the profile (and avatar) won't import.
Another thing to check is that the /images/comprofiler directory is writable.

4) There's no way to set the defaults just for a Facebook user. We do set all profile fields to their defaults (from CB) before the user is created, so it should have the defaults from CB. Hope that makes sense..

5) Right now, no. This is something we're looking into adding to the CB plugin. With 3.1 we broke out the integrations into the plugins just so we had this type of flexibility.

6) This is definitely something we'll be adding as a configuration option in one of the next releases. We just started to get this request a bit. Until then, if you'd like to manually make the change, read the post below which should guide you through it pretty well:
www.sourcecoast.com/forums/topic?id=1531&p=1#p6222
If you let the user change it in CB, it shouldn't have any bad effects. We link the users by their numerical database ID's, not their username, so change to your hearts content. Standard disclaimer: test after you make the change.

Hope this helps, and if you have any other questions, don't hesitate to ask. It's what we're here for! If you can't get the profile import stuff going, feel free to send us a Super Admin account by private message, and we can take a look if there's anything obvious wrong.

Thanks!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #6928 by guero
Hi!

Thanks for your responses. I greatly appreciate them.

I figured out 3. - I had set in Community Builder -> Configuration Manager -> Images -> Allow user upload to No. It seems then import from FB won't work either.

If you could do 5. in a next release that would be pretty sweet!

Having spent quite a bit of time with the modules over the weekend, I have some more questions:

A. The login redirects for new and returning users don't work. I always get to my landing page instead of any of the other items I seletected.

B. I have also noticed that for the logout redirect, in some cases it includes &amp html stuff in the URL and then things go really wrong. Any idea what I might be doing wrong? As a general thing, I would recommend to do like CB Login / Logout: they allow to specify the URLs itself where you want to redirect the user to, rather than choose a menu item. If you could add this to your plug-ins, sweet.

C. It would be great if it was possible to embed the Invite Social Plugin in the same fashion as the JFBCLike. { JFBCInvite} Any plans for that in the future?

D. Is there anyway to make the JFBCInvite open up to the left if it is positioned in a module on the rigth side of my template? Right now, it just extends way beyond the right 'end' of my screen. And I don't have a chance to put in somewhere left? Or is there any chance of rendering it in the component area?

Thanks again!
Oliver
The topic has been locked.
Support Specialist
15 years 4 months ago #6940 by alzander
5) CB Subs plan - It's being investigated. Once 3.1.2 is out (next day or 2), we'll be coming up with a map of new features. Thanks for the input, it's definitely in our queue, but not the highest priority thing (yet). Hopefully, it should be easy to implement though :)

A) Login redirects - Hmm. That's not right. I know there's one case (I believe it's if you have auto-login of Facebook users and Facebook Users Only) that we only redirect to the home page. That's being fixed in the 3.1.2 release. If that doesn't fix your issue, or you're ok with it, post your URL. We can usually diagnose redirect issues just by looking at your site.

B. We had a 'fill in the blank' URL at one point, but that caused issues too as people updated URLs, set a new alias, or other such things. We win some, we loose some :) As for the &, we've had one other user report this. Very uncommon, but if you could try the suggestion in the post below, we'd love to hear your results.
www.sourcecoast.com/forums/topic?id=1622&p=1#p6775
Additionally, can you let us know if you're using any SEF component (including Joomla's core SEF), any Joomla firewall programs, or anything else that may modify links?

C: JFBCInvite tag - I love it when we hear great ideas. We have a lot of requests for how to put that module in a page well, and a tag never crossed our minds. May be tough with all the parameters, but we're up to the task. I've taken note of the request. Thanks!

D] There's unfortunately no way to have it open 'left'. We're beholden to Facebook in this case, as we create an iFrame to their site, and they control the contents in that window. We have tons of workaround for issues with their implementation, but we'll admit, it's not perfect. As for in the component, you can always include it in a module position that's meant to show in the 'main' area of your site. If you have any questions on how, just let us know.

Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #6979 by guero
Hi again,

And thanks again for your response. Slowly but steadily I am getting to where I want it to be :)

Re CBSubs support, that would be really great! I hope it makes it up high enough on your roadmap. It's an important tool to earn some revenues of sites, and combined with JFBConnect login, us site owners would benefit greatly.

Re prob A) Login redirects, you were spot on. I disabled auto-login of Facebook users (and left Facebook Users Only on). That fixed that issue AND the &amp issue on log-out redirect. Maybe that helps you diagnose the deeper issue behind that. Or maybe it's already fixed in 3.1.2 I am still to apply that version later today or tomorrow.

Re B) One can never make it right for everyone, can we? :) I didn't try your suggestions as the above also took care of that. As said, maybe that helps you pinpoint the cause behind it. And yes, I am running ACEsef the latest version (pro)

Re C) - really looking forward to that tag! :) Thank you in advance!


One related question on the JFBComments plugin. (I guess it's equally impossible but asking does not cost):
Would it be possible to have the users' names of who comment in the plugin not link back to their Facebook profiles, but to their (Community Builder) profiles to which their FB accounts are linked to? I like the part of posting comments to Facebook to attract traffic to my site. But then I would like to direct the people to connect with each other on my site, rather than send them back to FB to do so. Any way of doing that?

Alternatively, I have seen in the past on some other site a FB comments plugin where some users that commented on something where not shown with their real name and link to FB, but simply by 'A facebook user' or something like that instead (with no link to anywhere). I am not sure if this is something that the FB plugin allows to be configured, or if it was because those users had set some very strict privacy settings in their FB profiles.

Facebook Logout button
Would it be possible to change the standard browser log-out button that is shown after logging in with JFBConnect into a more FB themed Facebook Logout button? To keep the look and feel consistent.

CB Login/Logout
Last but not least, I have noticed that when a user logs in on my site with an account created through CBLogin (and not connected to JFBC), then he can press both the CBLogout button as well as the JFBConnect Logout button and he gets logged out.

However, a user that has an account on my site created via or connected to FB via the JFBConnect plugin, then he can only log out of my site using the JFBConnect Logout button and not the CB Logout button. Is there any way the two could be made to work consistently for either type of account?


Thanks again. With that good SW and the matching support, the JFBC suit of tools, is really great!
Oliver
The topic has been locked.
Support Specialist
15 years 4 months ago #7041 by alzander
Comments: Nope, doesn't hurt to ask, but our hands are tied on the links available. The Comment system is administered by Facebook, and they, like you, want people going to their site. We're working on some big updates to comments in general, and we'll investigate if there is any way to override those links (cause we agree, it would be neat), but I highly doubt it's possible.

As for the non-linked users, about 6 months ago, where Facebook disabled the ability for guests to posts comments. Before that time, or now still if you had comments enabled in your application before that date, you could allow guests to posts and the comment would show up as you indicate. To our knowledge, there's no way to enable guest comments now; we've looked. If we find a way, it will definitely be added as an option.

Logout Button: You people and you're buttons :) We just had another request (which we helped implement) to make the button into a simple link instead. If you want that code, we can help. As for changing the look of the button, this should actually be easily done with some styling. We use a standard button, which can easily be styled with CSS to use a background image. If you find an image you'd like to use, we can probably help you find a good tutorial on how to update the looks. Just let us know.

CB Logout: My guess here is that you have the "Automatically Log Facebook Users In" option enabled. Try disabling that, and see if the same issue occurs. If you have this enabled, and you use a non-JFBConnect logout button, you won't be able to properly log out (because that won't log you out of Facebook, and you'll be automatically logged back in on the next page).

Hope that all makes sense and answers your questions.. If not, fire away! :)
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #7052 by guero
Yes, us and our buttons ;) If you had a link to a tutorial on how to style it with another logo, that would be great.

One thing I have actually noticed in regard to the &amp stuff in the URLs when logging out in some cases. This is the case when I am developing/testing on dev1.mysite.com when the app on FB is configured to URL www.mysite.com and mysite.com. In that case it works when testing on www.mysite.com. And when I change the URL on FB to for the app to be dev1.mysite.com, then it works there but logout on www.mysite.com inserts &'s... just thought i'd let you know.

One more thing I noticed where I am not sure if it's a bug or something I am doing wrong: I have added some fields using the CB Field manager after I installed JFBC suit. However, these fields simply won't show up in the CB <> Facebook field mapping section. For example, a field cb_gender of single select drop down Female/Male. It does not even show so that I could get the value from Facebook and record it there. Any ideas?

I also installed the updated FJCB modules you released a couple of days ago over the previous ones (after I add the fields) but that didn't do the trick either.

And last but not least: I also came across the case where a user registered using the CB registration form. The settings there were set such that the user has to confirm the email link before being able to log in. The case was that the user never did that, and decided to login using the FB Login instead. The result was that he got stuck with the browser telling him after a while that the visit is being redirected in a way that it will never end. Only after he found that email, and confirmed the link was he then able to actually also log in with Facebook.

Do you know of any other way of preventing this case other than turning of email confirmation in the CB login/registration module?

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

None
15 years 4 months ago #7071 by guero
hi,

i just came across another thing. i wanted to let you know before i forget it.

1. you have an account that is registered with / connected to a facebook account.
2. then you create another account through CB login, and subsequently FB Connect it to the same FB account that you already have connected to another CB account.
3. result is that it happens without complaining. the profile mapping in the JFBC backend changes to the most recent CB account logged in.
4. if you then login with the first one, it changes the mapping in the backend to that one.
5. repeat until get bored :)

i don't think it's a bug. i realize it's an unlikely scenario. i kind of expected to see both cb users mapped to the same FB account. maybe with a flag to the backend user somehow that this is happending. but no problems resulting from this as far as i can see.

i just wanted to let you know in case you hadn't seen this before

cheers,
oliver
The topic has been locked.
Support Specialist
15 years 4 months ago #7101 by alzander
Gender Right now, I think, Gender can only be mapped into a text field. This is simply because a select box can be populated with Man/Girl, Male/Female, etc, so importing Gender into that would need to know the possible values. We have a task to update the profile plugins to be smart enough to map into a select box as well, but that actually requires a bit of effort and it's just not there yet.

Email Confirmation Huh, that's a case I don't think we've ever worked on. We only confirm/approve users (with Skip CB activation enabled) on registration. The main reason we don't do it later is because if the admin blocks a user, we don't want to unblock them. We should be able to approve their email address only on logins, but will have to look into it.

Reconnect fun I'm not sure I exactly understand what you're saying here.
User A has Joomla account mapped to Facebook account
User B registers
User B clicks the "Map Facebook to this Account" button (whatever it's called) and logs in with User A's Facebook account
User A logs in with Facebook and mapping updates.

If that's the case, I can see this happening if "Automatically map user by email" is enabled, and probably some other cases, like you mention. We'll have to investigate more, again, because, like you said, it's probably not likely and not a security issue.

Thanks for letting us know though.
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #7171 by dotcom22
Hello

I get same problem of Guero under CB 1.3.1 + Joomla 1.5.22 and your last version of JBFConnect..


Here my settings:

Inside Profile Tab for CB >>>

Always Import Profile Data: yes
Skip CB Activation: yes
Import Avatar: yes


Inside User configuration Tab >>>

User Creation: Full Joomla User
Automatically Link Facebook Users by Email: yes
Email Field on Registration(Full Joomla User Only): hide

Permissions settings Tab: all set to yes

CB configuration (Under Tab Registration)>>>

Allow User Registration: Yes (and in Joomla User management no)


That mean with this configuration I can't import data... The first and last name is imported but not populated inside CB profile. All other field like Birth, Hometown, Avatar and more are not imported.. Another problem is the user have a status "pending approval" and I don't know why...

Now if I change the setting "User Creation" from "Full Joomla User" to "Facebook User Only" I get no problem and all data is correctly imported and user is immediately activated. I can keep this setting like that but users will not be able to login using CB and must always use Facebook. Of course this is maybe not a big deal because who register for the first time using Facebook will probably always use Facebook for login. Anyway on my site I have in few place some login box (not CB login module or Joomla default login module) and user will be confused because they can't login with it. The same with some direct link sent by email who allow user to login using CB or some other components...

A solution would be to insert in all place where a login box is present your tag (JFBCLogin) for display FB Login Button but the best would be to allow the "Full Joomla User" method work without issue and permit to import data...

Do you know why I can't import data when the method "Full Joomla User" is used ???


Another point: Like Guero I have a CB field "gender" who is a radio field Male and Female.. This field is not available for mapping. Allowing us to map also radio field and not only text field would be very nice... Hope you will propose that feature in very near future..


Another point: About proxy FB email I don't understand well.. If a users decide to not allow his true/own email to be imported he can choose instead a proxy/generic facebook email...ok. But this address is like a fake address or is a kind of redirection to his real email ??? I don't mind if users don't want to give their real email but I want be able to contact them..
The topic has been locked.