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.
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.
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.
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.