It works fine in version 4.6, but in 4.7 when user registration is set to: "Visitors can create accounts but administrator approval is required," he his by default blocked even though he was invited. The invite setting are set to give the user the role "authenticated."

Comments

desm0n’s picture

I had this also and it was brought on by clicking the link in the email and already being logged in as an admin.

When i cut and pasted the link into a different browser i was able to signup as normal. Hope that helps .

darren oh’s picture

I tried the trick of opening the email link in a different browser and can confirm that this module is not working. An invited user is treated no differently from an uninvited user.

conta’s picture

Yes, I'm having the same problem..
Having to activate users manually completely defeats the purpose of the module.

ajk’s picture

Status: Active » Needs review
StatusFileSize
new1.71 KB

Try this patch

regards
--AjK

darren oh’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.32 KB

I got some hunk failures when applying this patch, so I made changes by hand and created a new patch. The module work beautifully.

ajk’s picture

Hi,

My patch was against teh CVS DRUPAL-4-7 version rather than against HEAD. It's not clear from your patch which version of teh file it was originally against so I assume (maybe wrongly) that it was again 1.4 (ie that on the current CVS HEAD). However, you may have an older file version. Who knows?

It's always worth saying what file version your patch is to run against otherwise you might get hunk failures. My patch has both the original file version in the file name and it's in the 4th line of the patch itself.

best regards
--AjK

fago’s picture

darren's patch workes fine for me, with the 4.7 version.

darren oh’s picture

Would someone with CVS access please commit this patch?

robertdouglass’s picture

Looks good and I commited it untested. Please test and close the issue.

darren oh’s picture

Status: Reviewed & tested by the community » Fixed

I have been using this patch for some time with no problems. Thanks to Robert Douglas for committing it.

sammos’s picture

Title: Invited user not being activated. » CVS breaks
Version: 4.7.x-1.x-dev » master

I installed from CVS to test and found an error from admin/settings/invite:
Fatal error: Call to undefined function: form_select() in /home/sandbox/public_html/village1/modules/invite/invite.module on line 72

darren oh’s picture

Title: CVS breaks » Invited user not being activated.
Version: master » 4.7.x-1.x-dev

The CVS version will not work with Drupal 4.7.

ajk’s picture

Status: Fixed » Needs work

Changed status as it's not fixed?

best regards,
--AjK

darren oh’s picture

Status: Needs work » Fixed

There is nothing wrong with the CVS version; it just happens to be for Drupal 4.6. The 4.7 branch works fine in Drupal 4.7.

Since this issue dealt with the 4.7 branch, I would suggest creating a new issue to request that the MAIN branch be made compatible with Drupal 4.7 (or better yet, Drupal CVS).

robertdouglass’s picture

Darren Oh is correct; please test the tarball download of the 4.7 to review this issue further... no need to apply the patch manually. Please don't change the version setting on existing issues. Only re-open this issue if you find the previously existing problem in the current 4.7 tarball.

Brumisek’s picture

Title: Invited user not being activated. » Patch? How I can implement the PATCH file to module?

How can I implement the PATCH file? how I can isntall it?? Could help me anybody?

ax’s picture

Title: Patch? How I can implement the PATCH file to module? » Invited user not being activated.

please do not change the title of issues. thanks!

darren oh’s picture

In answer to comment 16 (how I can implement the patch file to module?), just download the module again and reinstall it.

Anonymous’s picture

Status: Fixed » Closed (fixed)