Jump to:
| Project: | |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Last weekend, I wrote a patch to extend the twitter signin module.
The patch add the following features:
1. Import user picture from twitter. At the admin page, you can configure following import settings:
- disabled,
- Once, during registration via twitter,
- Every login, unless the user chooses his own picture,
- Every login, forced copy from twitter (Hide picture settings form from user edit page).
2. Sync username on login (enable od disable at admin page):
If the given twitter name isn't used by another drupal user and the user does not have the 'change own username'-permision, the username will be updated.
This patch copy the image from twitter and doesn't any picture scaling, so I recomend to use image cache profile.
To use the features above, you have to patch twitter_signin.module and twitter_signin.pages.inc. The patch files are based on the twitter 3.0 beta 3 version.
| Attachment | Size |
|---|---|
| twitter_signin_patch.tar_.gz | 2.05 KB |
Comments
#1
Hi
Are you still using this feature on your sites? If so, any chance you could reroll this against the current code? I personally like the idea. I feel that it could benefit from a pr. account setting on top of the global settings made by site admin. This because you are able to add multiple account, but perhaps would only like this be done on your personal twitter account.
#2
Has anyone tried this with D7? I'm in desperate need of having the Twitter profile picture (ideally the largest one possible) copied to the user profile picture upon login/registration. Thanks!
#3
Don't move version, the patch is against 6.x-3. If you need this quickly, pls. help out rerolling this against 6.x and then port it to 7.x.
#4
Sorry about that. I wish I had time to help on the D6 version but my focus is on a hot D7 deadline. I started a thread here #1380876: Sub-Module to use Twitter Avatars with Drupal Profiles