Topic-icon Community Builder Profile Integration failing with jfbc 4.2 update

Active Subscriptions:

None
Hi Alex -

This is a old issue that you have solved in my site before, but it again re-appeared after 4.2 update.

Issue is:
Once a user logs in through Facebook, he can not see the community builder profile page as the below errors display:
This user has not yet confirmed his email address and account!
This user has not yet been approved by a moderator!

Just to reconfirm,
1. all the fields marked as "required" in CB are properly mapped in jfbc (only required field is email)
2. CDN is currently disabled and all caches are cleared, including browser cache (using chrome on mac)
3. registration flow set as automatic

Last time when this issue occurred, you did something and wrote this:

the email address field was getting overwritten to blank when we tried to save the user. That obviously is not liked by CB, so it was rejecting the user. It was an easy fix to prevent the overwrite, and we'll have to see if that's something we should be including in the profile plugin in the future.


Please refer the last time Issue details here: www.sourcecoast.com/forums/jfbconnect/jf...ogin-stopped-working

Please help.

Regards
Akash
www.dwbiconcepts.com
The topic has been locked.
Active Subscriptions:

None
sent you joomla admin login details in PM with subject: "Admin login details for akash | dwbiconcepts.com"
The topic has been locked.
Active Subscriptions:

None
Did you get a chance to look into this?
The topic has been locked.
Active Subscriptions:

None
Anybody looking into this?
The topic has been locked.
Active Subscriptions:

None
Hi

I am sure you must be very busy on some other things. Just wondering when may I get a reply... it's almost going to be 2 days since I posted the question...

Regards
The topic has been locked.
Support Specialist
akashmitra,
We'll be looking into this later today. I have to go over notes to determine what the cause was before. Thank you for the site details, and we'll get you fixed up as soon as possible.

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

None
Thanks for your response... I was getting impatient... :)
Really hope the issue get resolved today....
The topic has been locked.
Support Specialist
Alright, you should be good to go. Still unsure why your system behaves differently, but I'm posting the change I made below so that you may be able to make it in the future as well as refreshing our memory in case you need assistance. This isn't something we plan on putting into future releases simply because it shouldn't be necessary, and isn't necessary for any other CB user.

In the /plugins/jfbcprofiles/communitybuilder/communitybuilder.php file, at line 264 (in the 4.2.0 release, it may change in future releases), you'll see:
$registeripaddr = JRequest::getVar("ipaddress", $_SERVER["REMOTE_ADDR"], "post", "string", "");
        $cbUser->registeripaddr = $registeripaddr;
Add the following line directly after that:
$cbUser->email = $jUser->email;
The 2 lines originally noted will likely be in every future release (for a while at least), so look for those and insert that line if you run into issues.

This was only tested with JFBConnect. Please test with JLinked and let us know if you run into other similar issues.

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

None
Ok, understand.. now the issue is solved. However, there is still one more minor (I hope) glitch...

When a new user is "Logging with Facebook", s/he's getting connected but at the same time JFTP: :write: Bad response error occurring.
This is what I see in front-end:

Facebook profile successfully connected.

JFTP: :write: Bad response
The topic has been locked.
Active Subscriptions:

None
In addition to the information given in above post, please note "JFTP: :write: Bad response" - is occurring every time user logs in, not only for the first log in...
And new user status message is not posting in the facebook wall.
Permission for image directory is 775
The topic has been locked.