Forum is closed

logout not working with redirect module

logout not working with redirect module

Hi, thanks again for the help.

I have two homepages, one for guests and one that registered users are directed to using ninja redirect. i have links that show up when you are registered (one in hellome and one in a custom html module) to logout using the normal joomla logout url: index.php?option=com_user&task=logout&return=Lw

However, when you click one of these links, it immediately logs you back in and redirects back to the registered user home page, giving you the standard "you have been successfully logged back in using your facebook credentials" message. Using the logout button in the jfblogin module does work though, giving the popup box saying that you are logging out of facebook too, and redirecting you back to the guest's home page. When users log in using their normal joomla username and password, my logout links work just fine as well.

So my question is this: Is there any way that you can call the function to logout of both facebook and joomla with html in other modules? The only other option would be to remove all of the logout links and use only the one if the facebook connect module.

Thanks!

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

Re: logout not working with redirect module

There isn't a way to do this simply with HTML.  Facebook highly recommends that we log you out of BOTH Facebook and the site your logging out from if you log out of any of their affiliate sites.

Our login module is completely templateable, or you could add the javascript call to FB into your module of choice to help fix the problem.  If you have other solutions (or need help with this one), just 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
24165 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: logout not working with redirect module

Ok, but i have encountered a problem with having the two modules published at the same time, it white-screens my site. They only way i managed to get it to allow me to have the module assigned to two different positions was to use metamod to hide one or the other.

I am pretty good with HTML and CSS, but not javascript. Could you provide a sample javascript call i would put into a module? Thanks!

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

Re: logout not working with redirect module

BTW, you might want to add a note to your jomsocial users, because the hellome module has its own logout link too... Other will encounter the same problem as myself.

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

Re: logout not working with redirect module

What is the hellome module?  Link?  If it's that common, we may try to come up with a quick post to make them work easy together.  Just not familiar with it though.

Thanks!

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

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

Re: logout not working with redirect module

Hellome is a module that comes with jomsocial. people usually set it to show up when you log in. It has a setting to show your avatar and karma points, and also includes links to your profile, log out, inbox, friend requests, etc. I have it set up on my site <!-- w --><a class="postlink" href="http://www.rugbyUNITED.com">www.rugbyUNITED.com</a><!-- w -->. Log in with facebook connect and a module called "my quick links" will show up above it. Try clicking the logout link and you will see what happens.

How about that javascript call?  current/big_smile

Thanks!

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:
11697
Total Polls:
0
Total Posts:
49103
Posts today:
4
User Info
 
Total Users:
47899
Newest User:
quadranttextbook7
Members Online:
1
Guests Online:
945

Online: 
jtquinto
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
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