× Joomla Facebook Connect support forum

Topic-icon JFBCInvite and JFBCLogin issue

Active Subscriptions:

None
14 years 8 months ago #14378 by mikwhi
Hi,
I'm moving on to using the modules now!! So I created a page for inviting FB friends. I created an article and using Modules Anywhere I inserted JFBCLogin and JFBCInvite.

Step 1: I state make sure you are logged in via FB. JFBCLogin module shows and functions. Only issue is that even though I've used the redirect option setting after logging in it takes the user to the JomSocial profile page. I want it to go back to the invite page.

Step 2: Invite FB Friends. When the user is logged in via FB everything shows and works fine. However when the user is not logged in it shows errors. Also looks like I might have a cropping issue. But that might be related to the article. Not sure. SS below:

File Attachment:
The topic has been locked.
Support Specialist
14 years 8 months ago #14386 by alzander
Mike,
Step 1
For "I've used the redirect option setting after logging in", what setting specifically are you talking about? For Facebook login's, the redirection is completely configured in the JFBConnect component admin area in the "Login/Logout Redirections" tab. The JFBCLogin module only has a redirection setting for users that login with their Joomla credentials.

In the login redirections area, you'd want to disable the "New User" and "Returning User" login redirections. That will always leave the user on the current page, which in this case, would be the Invite page.

Step 2
I'll have to investigate, as some things have changed with how we should be checking if the user is logged into Facebook in JFBC v4.0. We didn't make any changes in JFBCInvite, and didn't think any were required, but it's possible we missed something. However, we're not seeing that issue when not logged into Facebook on our demo page:
www.sourcecoast.com/jfbconnect/demo/jfbcinvite-module

Could you check that link and see if you see issues? Also, if possible, can you post (or private message) us a link to the page with this issue?

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

None
14 years 8 months ago #14391 by mikwhi
Forget step 1. I realized I didn't need the JFBLogin module as well. I am already using the JFBConnect through JomSocial. I just note they must log-in from community page 1st.

When I'm not logged into FB and I go to your demo page I see the invite form which is empty. See below.
File Attachment:


When I do same on my site I see "Please log in through Facebook to invite your friends to this site!"
However I am getting this message now instead of the error as I changed config in JFBconnect to Autolog-in of FB users now.

So I guess this is acceptable.
Thanks.
The topic has been locked.
Support Specialist
14 years 8 months ago #14396 by alzander
Mike,
Not sure what you mean by "using the JFBConnect through JomSocial". The Facebook integration inside JomSocial should be disabled if you're using JFBConnect. For more information on proper integration between JomSocial and JFBConnect, if you haven't already see it, please check out:
Facebook Integration for JomSocial

You definitely shouldn't see the error message. The empty box can occur in a few circumstances, depending on whether the user is logged into Facebook or your site. The "Please log in.." message should show up if the user isn't logged in through Facebook to your site.

Later this year, we're planning to overhaul the Invite module as it's using an older system from Facebook. The newer system is finally up to snuff, and offers a bit more flexibility and bug-fixes.

Hope that helps,
Alex
The topic has been locked.