Redirect existing FB user

Redirect existing FB user

We got my problems fixed, but now when I login it redirects me to my NFL page.  I would prefer it to go to the page it was on when I hit the login button.  If you still have my user and pass your more than welcome to take a look.
www.WTreF.com
TIA

fb_535910371
Russell
useravatar
Offline
23 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Redirect existing FB user

In the Configuration area of JFBConnect (in the admin area), under Login/Logout, simply set "Enable Returning User Redirection" to No. With it set like this, when a user logs in through Facebook, they will remain on the same page they were on.

Hope that helps, but if not, let us know!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23659 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Redirect existing FB user

You can take a look, it is already setup like that.

fb_535910371
Russell
useravatar
Offline
23 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Redirect existing FB user

Russell,
There's something weird going on on your site that we've never seen before. Don't want to go into too much mumbo jumbo, but basically, on each page load, JFBConnect inserts some code/Javascript on the page so that, if the user logs in on that page, JFBConnect knows to send the user back to that page. On your site, I just looked, and this code was added multiple times, and each instance was a little different based on the last few pages I had viewed. So, there were 3 blocks of 'current urls', and when I logged in, it was sort of random which one JFBConnect would redirect the user too.

This didn't just affect JFBConnect, there were duplicate blocks from jReviews and some other things in there as well.

To fix, I went to Site->Global Configuration in the admin area, and in the System tab, I set Caching to "Off". This fixed the problem.

If you want to see the issue, simply re-enable caching (it was "On - Progressive Caching") and look at the HTML of the page. If you search for "jfbcLogoutLink" (a JFBConnect tag) or  s2AjaxUri (a jReviews piece of code), you'll see both in there multiple times after you hit a few pages.

Really not sure why that would be happening. Obviously, caching is good to have on a site, but in your case, it was adding extra code and may have actually been slowing the site down overall.

Hope this helps, everything is working as expected now... Good luck, and let us know if you run into anything else!
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23659 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11405
Total Polls:
0
Total Posts:
48071
Posts this week:
15
User Info
 
Total Users:
47243
Newest User:
jerpay
Members Online:
2
Guests Online:
364

Online: 
frmain, intrahouse
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