Is there anything we can do to help a full version of this module available for Drupal 7?

I tested the .dev version and it implements the bar and log in, but does not associate the Google account with Drupal's user id.

I, and I am sure others as well, would appreciate having a working version for Drupal 7 and would support the efforts to making it happen.

CommentFileSizeAuthor
#3 add-feature-1245548-3.patch11.18 KBFranciscoLuz

Comments

FranciscoLuz’s picture

This issue about not making an association with the Drupal account seems to be also true for the D6 version hosted here at its Drupal.org repo, but the one at http://code.google.com/p/drupal-friendconnect/downloads/list works just fine.

It is a pitty though that there is no D7 version available at the google.com repo, so I have opened this thread here http://code.google.com/p/drupal-friendconnect/issues/detail?id=23 a few days ago asking about plans for D7 but no answer has popped in as yet.

I sense that there is a tag of war going on in regards whether this project should be hosted at google or at drupal and maybe this "disagreement" is putting off people who have the skills to make things happen.

FranciscoLuz’s picture

Carlos,

I am also keen to help out on the D7 version that has the ability to associate the user remote credential with his/her local account.

To make that happens we will have to make use of the OpenSocial PHP Client Library at http://code.google.com/p/opensocial-php-client , see manual here http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting

We can also study the code from the D6 version hosted at Google, http://code.google.com/p/drupal-friendconnect/downloads/list, once it has the feature we desire on the D7 version and lacks on both D6 and D7 versions hosted here at Drupal.org.

If it is ok with you, we could join forces to start developing the featured D7 version.

FranciscoLuz’s picture

Category: support » feature
Status: Active » Needs review
StatusFileSize
new11.18 KB

The affected files by this patch are:

friendconnect.info

  • Added a dependency to Libraries API 7.x-1.x
  • You will have to download the Opensocial PHP Client and place a copy of the osapi folder that comes in it either into sites/all/libraries or sites/YourDomain/libraries. PS: Make sure the osapi folder has the appropriate permissions to be accessed, if not it may cause a silent failure.

friendconnect.module and friendconnect.inc

  • Added the GFC "Join this site" link to the user_login_block and user_login forms;
  • A new user account will be created in the Drupal site and associated with the user's remote id when successfully joined the site for the first time.
FranciscoLuz’s picture

Title: Drupal 7 version of Google Friendconnect » Drupal 7: Full integration with Google Friendconnect
FranciscoLuz’s picture

Category: feature » task
FranciscoLuz’s picture

FranciscoLuz’s picture

Title: Drupal 7: Full integration with Google Friendconnect + some new features » Drupal 7: Full integration with Google Friendconnect
Category: feature » task

Hi,

I have added the following new features to this module:

  1. An overlay form requesting the user to provide their email address after successfully joining in the website.
  2. If the form is ignored, the user will be asked again to provide his/her email address on the next time he/she logs in.
  3. Once the form requesting the email address is submitted, an email confirmation request is sent to the provided email address.
  4. The user email address field is only saved after the email is confirmed, that is, the email field remains empty until the confirmation is done. Other modules can check if the user email field is still empty, if so, the module can simply redirects the user to http://yourDomain/friendconnect/user-email and friendconnect module will take care of validating and confirming the provided email address.
  5. Website administrators can configure the confirmation email that are sent out at .../admin/config/people/email_confirm
  6. The field Current Password at .../user/%uid/edit is removed while the user account is ran under the automatically generated password by friendconnect module. This is necessary so users can perform changes to their profile without being put on to a validation stop by the the current password requirement to, for instance, change / add their email address.
  7. Added the Create a local password checkbox option field at the .../user/%uid/edit. If the user ticks that checkbox then the Password and Password Confirmation fields are shown so the user has the opportunity to have a local password along side with the Friendconnect one.

I kindly request the maintainer of this module to fetch the latest features at https://github.com/drupalista-br/Google-Friend-Connect---Drupal-7 and, when possible, commit them here at its Drupal Repo. Thank you.

FranciscoLuz’s picture

Title: Drupal 7: Full integration with Google Friendconnect » Drupal 7: Full integration with Google Friendconnect + some new features

Adjusted the title to reflect the features described at #7.

FranciscoLuz’s picture

Category: task » feature