Attached patch (against HEAD) adds two options to Fbconnect:
1. configuration setting that allows to skip the screen where user can create a local account or link to a local account and proceeds straight to registration
2. redirects user to the page he was on after successful login/registration eg. if user was posting a comment he is redirected to the same comment form not the home page
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 535180-skip-local-account-link.re-roll.patch | 2.85 KB | xurizaemon |
| contributions-modules-fbconnect-HEAD.patch | 23.79 KB | nonsie |
Comments
Comment #1
fumbling commentedThanks for creating this patch. I tried it this afternoon. The patching process itself didn't display any errors in my SSH (putty), but got a warning on all pages of my installation that read:
And then when I tried to visit the fbconnect module's admin settings page I got:
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/fbconnect/fbconnect.admin.inc' (include_path='.:/usr/share/pear:/usr/share/php') in .../includes/menu.inc on line 346Any thoughts? Thanks again for this patch, hope it makes it into the next release.
Comment #2
nonsieYour file permissions on sites/all/modules/fbconnect/fbconnect.admin.inc seems to have gotten changed.
Comment #3
fumbling commentedThanks. Just checked. So file permissions are currently set to 644, which seems to be normal, but I'm not certain. Should it be something else?
Comment #4
nonsieCheck the owner of the file in addition to read/write perms. Compare the permissions/owner of this file to other files in the same folder - they should all be the same.
Comment #5
fumbling commentedThanks for bearing with me. I'm actually not sure how to check the owner of the file - researching now. Can that be done easily through the command line? Right-clicking on the file through ftp doesn't seem to have that as an option, at least in Filezilla. I was able to confirm that it does have the same permissions as the other files in the folder though.
UPDATE: so found the Owner/Group for all of the files in the fbconnect folder. They're all the same owner (root fumbling)
Any further thoughts?
Comment #6
klucid commentedCheck the owner of the other modules. In my case, the owner was the login name. Applying that to all enclosed items worked for me.
Comment #7
hmmdinger commentedIf I am working with the most recent release code from github, can I assume that this patch won't do me much good?
Also, how does this patch work? Does it automatically choose the first option, then automatically process with the user's name for username and email address as entered through the fbconnect lightbox?
Comment #8
vectoroc commentedI will apply this path soon
Comment #9
xurizaemonI *think* this should be a fairly clean re-roll of this patch against current CVS. Untested.
The original patch includes many lines of output which aren't actual changes. Hope this helps.
Comment #10
vectoroc commentedpath in repo
Comment #11
hmmdinger commentedThanks! I tried yesterday to patch my local file manually, and it did not go well. :-)
I can verify that when the "Disable linking accounts..." option is checked, first-time visitors skip that linking page, and proceed to the registration form.
However, what I was hoping to see happen with that option is to skip the form as well. The form can be skipped because the user has just entered their email address and from that we know their Facebook name, right?
Can't a Drupal account be automatically created from their Facebook login information?
Comment #12
vectoroc commentedhmmdinger: use fast registration mode
Comment #14
JStarcher commentedI have upgraded to Dev version and enabled fast registration and opted to skip the create account page but when I try to login with FB Connect I get:
* You must enter an e-mail address.
* Facebook connect registration failed for the reasons listed. You may register now, or if you already have an account you can log in now and link your account
Am I missing something? Perhaps the API changed?
Also I assume unable is actually enable here - "Unable this mode will bypass drupal's standard registration form."
Comment #15
dawansv commentedJStarcher:
Avoid posting to a closed issue because it might not get the attention you want...
Your problem looks like a duplicate of #778992: proxied_email no longer available?. See that issue for a solution.
Comment #16
Dmullenix commentedDid you ever find a solution to this problem? I am having the same exact issue:
* You must enter an e-mail address.
* Facebook connect registration failed for the reasons listed. You may register now, or if you already have an account you can log in now and link your account