Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Sorry, it didn't worked. Now I am trying to use another approach.
I found that fbconnect/logout menu item is missing from fbconnect.module. Also there is no call to fbconnect/logout menu link from fbconnect_user() function.
So I have created one module to do all this.
Here is the code :
When I am clicking on logout link, it come to logout operation but not going to fbconnect/logout.
But if I print some thing before drupal_goto('fbconnect/logout'); it is getting printed.
I'm having a similar problem... but I think I know why this is happening...
I think that this behavior is due to bad HTML. Seriously! When I have images that have URLs with spaces then the Facebook Connect button doesn't work... It sounds silly, but that's why in some pages the Facebook connect button appears, while in others don't.
I use HTML Tidy extension in Firefox, that's how I became suspicious about malformed HTML or URLs.
Avoid this kind of errors and probably your page will work...
"A URI contains impermissible characters or quotes around the URI are not closed."
What's wrong on having source images with spaces? I don't know, but avoiding this makes fbconnect to work right for me.
Hello all,
I have face problem with fbconnect module.
This issue is form my custom theme.I have alter the login block to match with my site design. Now when i connect with my facebook account i can connect with my site properly. But when i try to logout from my site at that time i am not going to logout from the facebook. Even i have set from admin that ask to logout from facebook to user.
When i use garlend them then its work proper for the signout process I.E at that time it will ask me that would u like to logout from facebook...
One more thing if i enable the fast registration process form admin panel then i can not get any registration confirmation mail in my given email address....
I have almost try all the given solution provided by various form.. And even all thing are configured well. And also add the required code in my page.tpl.php , page-front.tpl.php.
But still problem with my logout process of custom theme.
Comments
Comment #1
mandarmbhagwat78 commentedI got the solution to this and it's working.
I went through the fbconnect.module code and found that one condition is not becoming true
I implemented following solution to resolve the issue.
I have added id to the tag for logout
So I commented the condition as it never come to this when ever I click on 'logout' link and added click event to the logout tag.
Above change is working for me. Is there any better approach to resolve this issue?
Comment #2
mandarmbhagwat78 commentedSorry, it didn't worked. Now I am trying to use another approach.
I found that fbconnect/logout menu item is missing from fbconnect.module. Also there is no call to fbconnect/logout menu link from fbconnect_user() function.
So I have created one module to do all this.
Here is the code :
When I am clicking on logout link, it come to logout operation but not going to fbconnect/logout.
But if I print some thing before drupal_goto('fbconnect/logout'); it is getting printed.
Any guess???
Comment #3
LaNets commentedI think you maybe have some javascripts error on your page, so when you tried to logout, the Facebook javascript is not triggered.
Comment #4
vectoroc commentedComment #6
betoaveigaI'm having a similar problem... but I think I know why this is happening...
I think that this behavior is due to bad HTML. Seriously! When I have images that have URLs with spaces then the Facebook Connect button doesn't work... It sounds silly, but that's why in some pages the Facebook connect button appears, while in others don't.
I use HTML Tidy extension in Firefox, that's how I became suspicious about malformed HTML or URLs.
Avoid this kind of errors and probably your page will work...
"A URI contains impermissible characters or quotes around the URI are not closed."
What's wrong on having source images with spaces? I don't know, but avoiding this makes fbconnect to work right for me.
Hope that helps...
Comment #7
test1111 commentedHello all,
I have face problem with fbconnect module.
This issue is form my custom theme.I have alter the login block to match with my site design. Now when i connect with my facebook account i can connect with my site properly. But when i try to logout from my site at that time i am not going to logout from the facebook. Even i have set from admin that ask to logout from facebook to user.
When i use garlend them then its work proper for the signout process I.E at that time it will ask me that would u like to logout from facebook...
One more thing if i enable the fast registration process form admin panel then i can not get any registration confirmation mail in my given email address....
I have almost try all the given solution provided by various form.. And even all thing are configured well. And also add the required code in my page.tpl.php , page-front.tpl.php.
But still problem with my logout process of custom theme.
Please help..
Thanks in advance.