× Joomla Facebook Connect support forum

Topic-icon HELP - Keep gettig redirected back to homepage

Active Subscriptions:

None
14 years 11 months ago #1368 by Shandley
No matter what I do, clicking on the jfbConnect button redirects me back to my homepage. I even made he change suggested in another forum:

$return = base64_decode(JRequest::getVar('return'));
$mainframe->redirect(JRoute::_($return));

I thought the $25 was steep, the hours I've spent screwing with this are a lot costlier.
The topic has been locked.
Support Specialist
14 years 11 months ago #1370 by alzander
Some quick checks:
- Did you enable both of the plugins?
- Is your callback URL showing up properly in the Overview area in the admin section? It should just be your homepage
- When is it redirecting you to your site? After registering, after logging in?


If none of the above sound correct, can you provide:
- A link to your site so we can see what the code looks like on the page
- The version numbers of PHP and JFBConnect that your using.
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #1374 by Shandley
The plugins are enabled
The callback URL is correct
It redirects after entering signing in usig the facebook window that pops up

The site is <!-- w --><a class="postlink" href="www.GNetwork.org">www.GNetwork.org
The JFBConnect version is 2.1.2
PHP Version 5.2.6

Maybe the following will help:

Using:
Joomla 1.5.9 production stable
Populus Template
Community Builder
The topic has been locked.
Support Specialist
14 years 11 months ago #1379 by alzander
When I try to login to your site, I'm seeing your home page come up in the pop-up from Facebook. Is that what you're seeing?

If so, I'd recommend reading this post (especially page 2). It's usually a setting in the Facebook application itself that's causing this, and unfortunately, no one's ever been able to help us narrow it down. If recreating the app with only the basic settings works for you, let us know. If you want to start enabling some other options within the application, please let us know when it 'breaks'. We'd love to have a fix

<!-- m --><a class="postlink" href="www.cmsmarket.com/forum/index.php?f=38&t...op+up&rb_v=viewtopic">www.cmsmarket.com/forum/index.ph ... =viewtopic
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #1385 by Shandley
None of that worked. I deleted the application and created a new one - it's all the same yet it works for some reason now. Except, after initial registration there are no options to invite friends from facebook or import information. As a matter of fact, there's no additional facebook anything subsquent to registration...
The topic has been locked.
Support Specialist
14 years 11 months ago #1388 by alzander
Glad to hear it's fixed... somehow. Importing of user information is only done on initial registration at this point. Do ensure that the radio button for "Enable JomSocial Integration" or "Enable Community Builder Integration" is set to yes, and you've mapped the profile fields to the correct user fields in either of those community packages. We're investigating methods to allow users to perform these imports of data after the initial registration as well.

As for invitations to friends, I'm assuming your using the JFBCInvite module. Simply set redirects (either on new-user registration or within the JFBCLogin module) to a page where it's set up on. To set it up on a page by itself, put it into a position that shows up on an article page with a module below it (usually 'bottom') and that way you can put whatever intro text you want above it.
The topic has been locked.
Support Specialist
14 years 11 months ago #1389 by alzander
Oh yes, and if you ever change settings within your Facebook application again and it 'breaks', again, please let us know what settings you changed. We'd love to work around any issues you find.
The topic has been locked.