× Joomla Facebook Connect support forum

Topic-icon Integrate with Community Buider - How to edit your profile

Active Subscriptions:

None
The website I'm working has gotten enough members that it's starting to get a little confusing with some because they only enter a single name in the name field. We're thinking that it's time to incorporate community builder because it gives more flexibility, more options than the common Joomla, not JFBConnect login module. The documentation seems a little light on the right way to do this to attain the objective.

Community Builder installation procedures of course say to disable Joomla login as this may cause confusion and the user list may get out of sync. When you enable the CB Login form it comes with an option to enable a Profile link with the module. This is a route to editing your profile if the CB Login is left enabled.

But what happens when you enable JFBCLogin? How does a member access their profile so that they can split their name and perhaps add the middle name if that's required and of course all those other beautiful fields? Do I add a CB Profile menu item and does your integration work with this, meaning is it synchronized to work this way?

Slight topic change - Lots of folks are now requesting space efficient login functions where you click on a link and the login opens in in a lightbox style box or perhaps a Mootools type toggle panel. They want it to appear fairly inconspicuous yet at the very top of the fold making it easy on the member community. Do you have any suggestions, comments, feedback, warnings about these options? I have a new client who recently licensed a modal style, lightbox login for this reason but now that they know there's more, they want the whole package.

Do you have any future plans of implementing any of this stuff with JFBCLogin?

Ciao...
The topic has been locked.
Support Specialist
Howdy Bob! Glad to see you again. Still haven't responded to your other post regarding the JFBCLike tag and JomSocial.. which also is confusing because now you're asking about CB. If you have the choice, we'd recommend going with/sticking with JomSocial.. but that's completely your call.

As for CB integration, there's a few options.. none are too complex, so don't fret over this too much.
1) Use the JFBCLogin module. When logged in, we do not have a link to the user's profile. You can either add this to our JFBCLogin module template or you can create a menu item to the CB Home Page. From that link, a user can edit their profile. It simply depends on how your menus are setup if you would want another menu item in it.
2) Add the { JFBCLogin} tag to CB's Login module. In general, CB's code is horrible. This is definitely possible, but much easier said than done.

In all cases, we create a CB user properly, so there shouldn't be any issues with users getting out of sync. With that said, there are a few minor bugs in a few configuration cases that we're working through to fix in the 3.2 release that specifically regard CB integration. Obviously, if you run into any troubles, we'll be here to help.

Login in modal
There's quite a few other options to do it, but I don't have any off hand suggestions. Basically, there are ways to create an iFrame to another page of your site in a pop-up which we've seen work well and pop-ups which simply hide/show a div in the center of the page when clicked. We've seen these types of pop-ups work for JFBCLogin in numerous ways, and generally, they work just fine.

One caveat.. don't use RocketTheme's RokBox to do this. Their pop-up module seems to prevent Javascript from firing in the pop-up. We're investigating solutions to this.

If you find something that works for the pop-up, let us know. Again, we've seen it in quite a few sites, but never done it on our own. It's rolled around in our brains to try to include this functionality as well, but it's a lot of effort when there's off the shelf add-ons that do it. It also (once you add mootools/heavy JS) adds to support issues quite a bit.. mainly for incompatibilities and styling issues.

Thanks, and good luck!
The topic has been locked.
Active Subscriptions:

None
I haven't kicked off yet, but I'm thinking about it...

CB Profile - in my back pocket I was already considering enabling a CB Menu Item to access the profile. I guess that will be it.

CB Avatar - I've seen some other posts related to the CB Avatar not updating. Same problem here. I've made sure that in CB the upload feature is enabled. In JFBC Community Builder I've toggled "Always Import Profile Data:" both ways as well as "Import Avatar". What I'm expecting to see is that when I use JFBCLogin to connect then in the CB Profile I would expect to see the FaceBook avatar, but alas no change. Is this how it should be working? www.jtest.us

Buggy, klugy - hey it gets better. Not only are we not trying to integrate Community Builder (because of the extended name fields) with JFBCConnect and Jomsocial, but early on with the live site we installed the plugin, email as username, so that folks could log in using their email address. Yes it is confusing.

Setting up the modal style login for me seems like too much. I'll probably just go with a mootools hidden panel with ample real estate.

The other tickets - I'll update you with the URL when we go live the the write_to_facebook thing. The Like problem reported Monday AM gets shuffled off to your FAQ.

P.S. Regarding Jomsocial vs Community Builder for setting up split name fields, is there a particular reason why you suggested Jomsocial as opposed to Community Builder? The split name field might be the primary reason for using CB over Jomsocial but not the only. If performance is a factor, then CB wins hands down. Even with a CDN implemented I find Jomsocial to be lethargic, an overabundance of JavaScript. However on the flip side if memory doesn't falter then I seem to recall lots of spambot type registrations squeaking through on a site where I have CB only installed even with captcha enabled and on the current live site with Jomsocial I'm not seeing any yet with about 500 members. Devil this or devil that...
The topic has been locked.
Support Specialist
Yes, the avatar should import. If not, are you seeing any fields import? If not, do you have any fields in the Field Manager (including avatar) set to required? If so, can you make them not required, for now, and see if that fixes the issue? Finally, if you have access to the database and can run a query, if you check the jos_comprofiler table, just make sure a row was created for the new user's ID. The result of any of the problems I just mentioned is that the CB user can't be saved, this row isn't created, and we can set the avatar column for that user.

I don't think the email as username plugin should cause any issues with JFBC, since we don't mess with 'normal' Joomla logins. If you think it's a problem though, try disabling it, and let us know if it is actually a problem. Also, post a link to the plugin so we can get the right one (there's a few similar plugins with that functionality).

The only reason I recommend JomSocial is from a pure developmental standpoint. CB duplicates a ton of features in Joomla and almost recreates its own CMS. Because of this, it becomes tough for us to accomodate their features because we have to check the Joomla setting ('block user', lets say), and then check their ('approved') setting to see if the user really is blocked. Since we have to do a lot of stuff by looking at their code, it means we have to look at it, and it's still written to work with Mambo and Joomla 1.0 which havne't been relevant in over 4 years... so the code is large and not well organized. However, I'll definitely agree that, since it's older code, it's almost all PHP based with little/no Javascript.. which can make JS sluggish.

Wasn't trying to say 'don't use CB', just that JS is easier to modify functionality and override styles/templates (in most ways), which is generally a big positive. Ever site's situation is different though, and there's definitely times to use CB.

Hope the above helps, if not, let us know!
The topic has been locked.
Active Subscriptions:

None
This l'il project is on hold. The client in this case is vacillating, not ready to go with JFBConnect so other than the testing on jtest I'm sitting back and working with other stuff. I pointed them at Jomsocial over CB but they chose CB.
The topic has been locked.
Support Specialist
Alright, best of luck, and let us know if there's anything else we can help with... I say as I notice the next 3 posts are from you.. :)
The topic has been locked.