First sorry for the delayed reply - having a tough time in real life at the moment.
(10-27-2010, 01:21 PM)carsenk Wrote: Logout is still not working, I have everything setup correctly according to instructions on FaceBook Application even the post-authorize callback url. Anyone figure out how to get logout working??
Regards.
My plugin should kill the facebook cookie while MyBB does logout the user. That works for my demo sites and most other sites. Could you make a screenshot of your cookie settings and send it to me?
Also, do you really do not run any other logout plugins? Do you use the MyBB logout link instead of the Facebook disconnect link (removed in latest version)?
(10-30-2010, 06:19 PM)Hector Wrote: After much work, I mean like half a day, I managed to install and run correctly this plugin on my website, on mybb 1.4.x. It look like it works fine now Thx.
LE: It's not working fine, sometimes it shows: No username detected! instead of logging in, other times it works... it's bugged...
------------
Ah... one little error... the v3c validator shows some errors due to the fact that in the login link the "&" is not escaped.
in fbconnect.php, here:
Code:
You are not allowed to see code.
$loginUrl is made of "http://facebook.com/..." and a lot of paramaters after. Those parameters need to be escaped... I was thinking of manyally splitting this string but I'm sure that there is a better way to do this.
If no username was detected the user did not authorize the application or we do have a connection plugin with Facebook or the user field is empty.
Facebook does generate all links that's why they are not properly escaped, I'll not write a special routine for that.
(10-30-2010, 08:11 PM)Only Heavy Metal Wrote: Hi
Thanks for the plug in. It is working great.
I would like to have my own button, instead of the text.
Which file do i need to edit to this?
Thanks,
Edwin
http://www.onlyheavymetal.com/onlyheavymetal-forum/
Update: I found a way to do it
1. Copy the link that you are using “connect with facebook” after the installation.
2. Go to templates/ Header Templates/header_welcomeblock_guest in the admin
4. Add your code for the picture with the facebook connect link
Example:
<a rel="nofollow" href="https://www.facebook.com/yourlink"><img src="http://yourlink/images/facebook-login.png" border="0" ></a>
5. Go to templates/Header Templates/header look for {$fb_template} and remove this tag.
For example see
http://www.onlyheavymetal.com/onlyheavymetal-forum/
Cheers,
Edwin
You can do that in the language files too, it's described a few pages ago.
Please remember that if you do not use my routine you do not have dynamic links, meaning if you change your facebook app you'll have to edit the template too. I'd not recommend that.
(11-01-2010, 08:23 PM)caygri Wrote: I install correctly fb connect but I use portal and portal when I logout apper white page.
What kind of portal do you use? Logout should bring you to the same site you visited before.
Best regards
Lennart Sauter