× Joomla Facebook Connect support forum

Topic-icon Switch from JomSocial FBConnect goes to Re-registration

Active Subscriptions:

None
15 years 5 months ago #6537 by Gilan
Alex, thank you for the notification. I will let you know as soon as I have installed the new version and give feedback on it all.

Your service levels are astounding.

Thank you.
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6539 by Gilan
Hi Alex,

FEEDBACK

The profile user mapping works great!!!

PROBLEM

I did receive an error though using IE. Through JomSocial I deleted a facebook user. I then cleared all FB sessions, etc, and tried to login using JFBConnect. When I submitted the facebook login details, the normal pop-up box appeared (which asks whether I'm a new or existing user), but then automatically closes before I can do anything and an error message appears (in the default blue Joomla notification style) saying "We were unable to retrieve your Facebook account information. Please try again"

I have disabled all JomSocial facebook connect plugins.

Please advise urgently.

You try it for yourself at www.Risingchild.com

Thanks,
Gilan
The topic has been locked.
Support Specialist
Great to hear the profile mapping works.

I just tried to register/login and got "We were unable to retrieve your Facebook account information. Please try again". This usually occurs when the Authentication or User plugins aren't enabled, or the User plugin is ordered incorrectly. Can you ensure on the JFBConnect Overview page that everything in the "Required Extensions" column has no 'x's or errors?

If that doesn't work, could you Private Message us super admin credentials and we'll take a peak ourselves?

Thanks
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6544 by Gilan
Thanks Alex, I just sent you a PM
The topic has been locked.
Support Specialist
Gilan,
Overall good news, with a minor problem. First, the good news. Things seem to be working now. I removed your FB API and Secret Key from JomSocial, as I think that was the issue. This is now making the blue Login With Facebook button in the top right dissappear (with a message), because that's JomSocial's button. If you can edit that module, you can simply replace their Facebook button with the text { JFBCLogin} and our button will appear (no spaces in that tag). Let me know if that's not clear and I can help more.

The bad news is that for some reason the user's Facebook email address is not being pre-populated on the registration form. For the time being, I simply changed the "Email field on registration form" to "Show" so that a user can put in an email address. Otherwise, the user couldn't be saved (no email address).

We're looking into why this would happen, and can't recreate locally, but we'll get to the bottom of it.

Finally, I upgraded you to 3.1.1 which has a bug-fix for an issue discovered by another user today. Don't plan on major version churn, but it happens when 'big' releases like this come out.

Thanks for your patience, and hopefully everything goes pretty smoothly from here on out.
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6564 by Gilan
Hi Alex,

Thanks for checking it out and for working your magic.

I have fixed the button in the top right.

Funnily, when I try to register someone, their email is automatically populated in the email field - are you still experiencing that issue?

Thank you for upgrading to 3.1.1

Alright so all is good now - 3.1.x works like a dream.

Thank you for all your help - you are a scholar and a gentleman.

Kind regards,
Gilan
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6565 by Gilan
Alex,

For the { JFBCLogin} tag - is there any way for it to show a Log out button after the user has logged in? OR even a {JFBCLogout} tag to show a Log out button?

One last thing - which file must I edit to style the Login/Register page shown when someone clicks on the facebook connect button?

Thanks!
Gilan
The topic has been locked.
Support Specialist
Very happy to hear that things are going well now. I'm not sure why the email was missing for us, but keep an eye on it. It could have been a cache issue or about 20 other things. We login/out of Facebook constantly, which causes issues with our accounts (security stuff) periodically. If you ever note any odd behavior with that email field, let us know.

My very educated guess is that in the next point release (3.1.2), we'll put a check to see if the email address is blank, and if so, show the field regardless of your Show/Hide setting. Hopefully, it will never come into play, but will put our minds at ease.

Now, to your new questions. We contemplated adding the logout button option, but there's nothing there now. We plan to add/update that soon, and it will be part of the JFBCLogin tag, like {JFBCLogin showLogout.. or something like that. Unfortunately, it's not there yet... an option, though not great, is to use the JFBCLogin module and set it to 'registered'. You can hide just about everything that shows up in that module when you're logged in, and may suite your needs, but it's not as 'positionable' as a tag.

Finally, for the Login/Register page, you can find it in the following location:
/components/com_jfbconnect/views/loginregister/tmpl/default.php

You shouldn't modify it there though, and should use a template override. That will prevent your changes from being destroyed when we release an upgrade. The template override would be a copy of the default.php file in the directory below:
/templates/YOUR_TEMPLATE/html/com_jfbconnect/loginregister/default.php

For more information on template overrides, see that section:
www.sourcecoast.com/extensions/troublesh...ng-joomla-extensions

Thanks for the feedback, and let us know if you have any other questions!
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6620 by Gilan
Hi Alex

Okay great. Even when hiding everything that I could in the JFBCLogin module, it still had unwanted writing and when the user is logged in not using FB, the login module has a FB button, etc... So my solution is that I copied the source code of just the logout button from the module and pasted it into my other module to replace the current logout button. I then had to place the JFBCLogin module in the debug position, using Metamod in which I said "display: none" - without doing this, some code was not loaded so the logout button would not work. So all has worked out as a solution for now and when a tag comes out for a Logout button I will recode it in.

In the new week I will look into the restyling and template overrides, etc - thanks for pointing me in the right direction.

One comment I have had from a few users as well as members of my team who have been using the site now with JFBConnect, is that when they click the facebook log in button, it takes several seconds to load and log them in (they are all existing users). The suggestion was perhaps to have some sort of progress ticker, or whatever it is called, just to let the layman user know that there is something loading.

I must say that JFBConnect works wonderfully and I am most impressed by both the product and the service from you.

Have a great weekend!
Gilan
The topic has been locked.
Support Specialist
The delay is variable depending on how Facebook is behaving, the speed of your site, how many profiles your integrating with, etc. We're always on the lookout for speed improvements, and continue to refine things with each release. I like the timer idea, just not sure how feasible it will be to implement.. we'll see :)

Anyways, thanks for the feedback and the praise. We're happy your happy, and your subscription is a huge thank you. If you are happy with JFBConnect, please also feel free to leave a review on the Joomla Extension Directory (link is in my signature). It's by no means required, but another good way to show your support.

Thanks again!
The topic has been locked.