• Index
  • » Users
  • » alzander
  • » Posts



I logged into your site, and for some reason the JFBConnect - Authentication plugin is not installed.  I can see it in the plugins/authentication directory, but it won't show it in the plugin manager.  Using JoomlaXplorer, I was unable to delete the 2 files there (jfbconnectauth.php and jfbconnectauth.xml), and was therefore unable to reinstall the plugin.

Please delete those files, install the plugin, and enable it.  It's the same issue that's been described here before.  Without that plugin, you'll get the infinite loop because the login module tries to authenticate, there's no authentication, so it 'fails' login, redirects to the home page where the login modules tries to authenticate again.

The authentication plugin is in the JFBConnect zip file in the admin/packages directory.

The primary issue we've seen the redirect loops occur is when both the Namespace and Authentication plugins are not enabled:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=86&rb_v=viewtopic&start=20#p887">http://www.cmsmarket.com/forum/index.ph ... rt=20#p887</a><!-- m -->

Please ensure they are.  If so, can you send me the login information to the backend of your site so we can investigate further?  Sending us a IM (not posting your credentials to this forum) is the best method to do that.

The very first line of that whole thread is:
Do not post bugs/issues/problems to this post. It is not monitored as it's almost impossible to track bug status here. Please search for an already posted bug, or create a new post.

Looking quickly, if you're talking about the redirect error, the below post may be your solution.  There are multiple other things mentioned there that have been resolved in other threads where people read and understood the directions of these forums.
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=86&rb_v=viewtopic&start=20#p887">http://www.cmsmarket.com/forum/index.ph ... rt=20#p887</a><!-- m -->

If you'd like to describe your problem IN A NEW THREAD, we'll be glad to help you.  Please don't do it here because you subject line is not descript of a problem and would not help anyone else in the future to know if this relates to their problem.

Good luck.  If you look through the forums, we are the last response to about 99% of all messages.  We are very active and try to help everyone who tries to help us keep things organized.

I thought i got rid of most of those &  's before, but it's possible one's missed.  The only I'm seeing I wouldn't think is affecting you from your description, but possibly I'm mis-reading it.

When you say it's on Facebook login, you're saying when you click the blue "Connect" button and login that way, correct?  This isn't the auto-logging in..?

Either way, the one suggestion I have right now, is to look in the components/com_jfbconnect/helpers/facebookhelper.php file and add the ', false' statement on line 152 as below:
    $mainframe->redirect(JRoute::_($return), false);

Again, I don't think this is your issue.  If you could say whether it's only for new users or FB users logging back in, and the exact method, we'll try to help further.

You're logging out using the JFBCLogin module?  When you logout are you seeing the blue box stating that you're being logged out of Facebook?

I'm not sure what you mean by it "does not update the new login back to JomSocial"

So is this set up so that JFBCLogin is set to redirect on user login to the users CB Profile page, or is it set not to redirect (and just reload the current page)?

Thank you for the input.  We'll investigate how we're generating that link and figure out where the itemid is going.

I'm not sure what you're asking or saying here.  If you could explain what you mean by "Access to your Facebook account", that would greatly help.

As for CB, we have a test release out there and are fixing bugs as we find them.  We're not recommending it be used on a production site yet, but will definitely notify you when we think it's ready for prime-time.

Thanks for your feedback on the CB portion of the component.  The integration portion was written before we added the new registration form.  I'd assume we could now check the user-confirmation setting in CB and send the email (for the user to confirm).  We can also just force it to auto-authorize them.  Will likely make it an option.

What does the "Syncrhonize users" function do, do you know?  We can investigate more, but I'm not readily familiar with that aspect of CB.

The login module has quite a few fixes we need to implement, and those links is on the list.  The other is to break it up more to allow for much easier template overrides in the future.

Thanks for the help.  If you would, when responding to this (or if you find other bugs).. start a new post.  It's impossible to track issues in here as there's no cohesive way to see what's being discussed and status.

Yeah, never thought of that.  While there's not a configuration option for that right now, here's how you could do it yourself if so inclined.

In the following file: /plugins/authentication/jfbconnectauth.php, update line 68 to whatever name you'd want to use:
    $response->username = "fb_".$fbUserId;

In your case, changing it to the following should do what you're looking for.
    $response->username = $fbUser['first_name']."_".$fbUserId;

PLEASE, make a backup of this file after you change it.  Installing a new version of JFBConnect will overwrite the file and undo your change (shouldn't affect any users already created), so with each installation you'd need to re-do this change.  Sorry for that inconvenience.  We'll try to add a configuration option in an upcoming release.

Also, please test and report any issues you find!

On a side note, I'm glad to see you're using the pseudo-user feature.  We're always curious to see who is, as it seems like most people aren't.

I'm sorry if you feel support is very bad.  I originally said that it was a PHP4 issue, which you disputed.  Through emails (not on this forum), you sent me your login information to your site, and indeed, you are using PHP4.

Please upgrade to PHP5.  It is a requirement of the component.  I can not help you to upgrade to PHP5.  Please contact your web service host to determine the best method to upgrade.

This is almost always a PHP4 issue.  Facebook Connect does not support PHP4, only PHP5.  The post below may be able to help you more:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=71&p=439&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

Ahh, we got so excited when we set it up to map fields, we never tested the case where you'd only want the avatar and no fields.

If you can, please add the following 2 bold lines at the bottom to the following file:
components/com_jfbconnect/helpers/jomsocial.php, line 46:
    foreach($fbFieldMap as $fbField)
        $fbFieldArray = explode('.', $fbField);
        $fbFields[] = $fbFieldArray[0];
    if (empty($fbFields))

Let us know if that works for you.  It will also be in the next release.

While I said I wouldn't be monitoring this thread, I guess I lied.  Great questions, and feedback/questions about implementation here work.  Bug reports though should have their own thread.


not to be a buzzkill, but doesn't that kind of take away the FB connect aspect of it?
I mean you're essentially forcing registration.
Not that I mind it at all, but it kind of defeats the purpose, doesn't it?

No. We aren't forcing registration, we leave that up to you.  There is an option in JFBConnect to 'Create New Users'.  While that name will probably be updated (cause it's sort of confusing), if it's set to no, then your users will still have an account created for them.. but will not have a Joomla-specific password or username.. their username defaults to fb_(their FB user id) and the ONLY way to log into your site using that account is to do it through their Facebook credentials.

In this case though, there's no way to get the users email address since we still can't get it from Facebook, but depending on your needs, this may be the right path for you.  Integration to JomSocial and CB works just like normal, and you can always redirect them on registration to their profile page to update their email address.

Unfortunately, we just found a bug with this mode.  If you want to test, please uncomment (remove the #) the 2 require_once lines in the /components/com_jfbconnect/controller.php file at lines 20, 21.  It will be fixed in the next release! current/smile

No problem.  The infinite redirect thing is a pain.  It's not in the test release yet, but in the next version we're trying to make a check on the JFBConnect admin home page that will alert you if the plugins aren't enabled.

Hopefully, this will help fix everyone's issue current/smile

Thank you for sending me your login information.  Your site is now working.  The issue was that the two JFBConnect plugins were installed but not enabled.

If you are getting the infinite redirect error, this is the first thing that should be checked.  Please make sure that both of the following plugins are enabled:
- Authentication - JFBConnect Facebook
- System - JFBConnect Namespace

Let me know if you continue to have issues.  If anyone else is experiencing these problems and the above does not help, please send me a message with your site and login information so we can investigate your issue further.


We were able to fix the issue on the gratefuljoy website below.  There was a bug in our code which was preventing the {fb_uid} tag from correctly being replaced in the username, and therefore was not always creating a unique username.

There are two options to try to fix this issue.  Either you can attempt to change the code yourself if you'd like, or you can use a different combination in the username to try to fix this issue.  If you aren't using {fb_uid}, unfortunately, this is not your issue (see the bottom for another thing to try to help diagnose the problem).

{fb_uid} Fix in code:
Line ~62 of components/com_jfbconnect/controller.php
Change the line to the following.  The change is the middle parameter ($rawFbUserId) used to be $fbClient->user:
$username = str_replace("{fb_uid}", $rawFbUserId, $username);

Alternative debugging
If this is not your problem, can you also change the following to see if instead of the error page you are seeing, you instead get redirected to the home page with a more standard error:
Lines 81 and 91, remove JRoute::_() from the statement, leaving index.php:

We are still investigating the foreign character issue.

Thank you for sending me your credentials.  I fixed the issue.  You have the username generation set to be the users Facebook ID only, and unfortunately, in the most recent release of JFBConnect, we apparently broke the {fb_uid} logic.

Ultimately, the fix was to replace ~line 62 with the following:
$username = str_replace("{fb_uid}", $rawFbUserId, $username);

This logic will be deprecated with the newest version.  We are moving to a new page which allows the user to set their own username/password/email upon registration.  I hope this helps get your site up and running.  It's a good looking site, and thank you for letting us get in and perform some tests.

Now to go to some of the other error posts and see if this is their problem....  <!-- s:? --><img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" /><!-- s:? -->

Sorry, I missed this message earlier.

You are trying to submit your application to the Facebook directory, which does have a minimum user requirement.  A normal application, not in the directory, does not have this requirement.  I don't remember off-hand where the directory submission selection is, but it's off by default.. so try to unset that.

No.  You can get the JFBCLogin module right now.  Its a free item on CMS Market:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/extensions-directory/listings/extension+specific/jfbconnect/jfbclogin">http://www.cmsmarket.com/extensions-dir ... /jfbclogin</a><!-- m -->

Try it out and let us know if that's what you were looking for

I'm confused.

When do you get the error?

When do you get the message?

Is it when you login using the blue FB icon that you get both?  Is this when you're registering for the first time?  Can you provide a site url so we can test to see what's happening (and what might be wrong)?

Currently, yes.  Registering through Facebook, the user is automatically created a Joomla user and they must go in and set the password manually.

A new test version was released today which allows the user to select their own username, password, and email on first registration through Facebook.  This is a test version, but we hope to make it stable soon for production use.
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=192&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

There sure is an official document.  It's in the post at the top of this forum:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=36&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

Please follow the directions there and let us know if you're still having issues.

The new test release for CB has been released and also has the other big feature people have been asking for: a user registration form so users can select their own username/password and set their email address OR select an existing Joomla account to connect to.
More details here:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=192&start=0&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

Please do search or post a new thread if you run into issues (don't post here)

A test release of JFBConnect v2.1 was released today.  This version adds Community Builder support (similar to JomSocial support) along with a new registration form for users to select a current Joomla user to connect to, or to quickly create a new user on their own.  You can see the new 2.1Test version in your downloads area of CMS Market.

This is a test version and should not be used on a production site until you are confident that it will work in your environment (ie. Test on a development site first, or wait for a more stable version)

To test this functionality, the JFBConnect demo site has had all previous users deleted so that you can see the new registration process.  Both JomSocial and Community Builder are installed on the site to allow you to see both community components populated with the Facebook Profile information.

JFBConnect Demo Site

Please do not post problems in this thread.  It will not be monitored.  If issues are encountered, please search to see if a thread has already been created.  If not, create a new one and we will assist you as soon as possible.

Try removing /community.html from your connect URL.

That should just be your home page.  Let us know if that helps!

  • Index
  • » Users
  • » alzander
  • » Posts

Board Info

Board Stats
Total Topics:
Total Polls:
Total Posts:
Posts today:
User Info
Total Users:
Newest User:
Members Online:
Guests Online:

There are no members online
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program