Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Yeah, I figured this request would appear sooner or later (rather sooner than later :D).
I don't have the time for doing this currently, but I think I should be able to do it until two or three weeks from now. Of course, I'll happily accept patches as well, if someone gets to implement this sooner than me.
In the meantime, you'd do me a great favor if you write up a template for the e-mail that will be sent. I would also appreciate a description of how you think that the admin page (and the invitation management page?) should be modified, and how this functionality should work from an admin or user point of view.
Ok, now that you completed one of my other support issues, I got an idea for this.
1. Have a template message that is sent that only the administrator can configure.
2. Have an optional message that the inviter, can input. If no input than there is no message, and no message from the template that states, "inviter's message" etc. Just an idea!
I don't have a lot of time to put into creating some thoughts into the template for a message. But something simple like:
*admin configured*
"Hello !
You've been invited to for a temporary membership that will expire days by . This is a membership to expose our site functionality to you, our guest, in hopes of intriguing you to become a member. You may log-in using:
If you fail to become a member by the expiration date of your temporary account, you're account will still be in our database and when you commit to membership, your log-in information will still remain the same, and your account will be changed from a temporary account to a member account.
If you feel you have received this message in error, please contact us to let us know of possible abuse at: Where we will address the issue accordingly and as soon as we possibly can.
*possible not to show if no entry?*
Here now is a message from who invited you:
*back to admin template*
Thank you for your time and hope to see you soon on our site exercising your account!
team!"
How's that? I didn't think I was going to waste time on writing that up now, but I figured, why not! It kind of just flowed so why stop it! HEH, OK, i'm getting to bed now, hopefully that will be some basis to start and work off of? I hope! I'd like to see this feature, as it would really benefit my site.
God, it didn't take my "" lines....bah! So here it is again, since I can't seem to figure out how to edit old posts:
(but with how I originally posted it)
*admin configured*
"Hello 'user'!
You've been invited to 'site' for a temporary membership that will expire in 'x' days by 'inviter'. This is a membership to expose our site functionality to you, our guest, in hopes of intriguing you to become a member. You may log-in using:
'username'
'password'
If you fail to become a member by the expiration date of your temporary account, you're account will still be in our database and when you commit to membership, your log-in information will still remain the same. Your account will be changed from a temporary account to a member account so you may then log-in at that time.
If you feel you have received this message in error, please contact us to let us know of possible abuse at: 'site e-mail'
Where we will address the issue accordingly and as soon as we possibly can.
*possible not to show if no entry?*
Here now is a message from 'inviter', who invited you:
'blah blah blah, thanks!'
*back to admin template*
Thank you for your time and hope to see you soon on our site exercising your account!
Hm... sorry, I already started coding this yesterday (though I'm not completely done yet), so I wrote up a template by myself:
Greetings,
!username has invited you to the !site web site.
You can now log in until !expiration_date at
!login_target
by entering the login code !passcode.
Keep in mind that you will not be able to log in anymore when
your invitation has expired, or if it is revoked by user !username.
-- !site team
That's a bit more minimalistic than the one that you proposed, but I find it important not to place any assumptions on how the module will be used in the end. (For more specific usages, the template can be edited anyways.)
Reading through your mail template proposal, I hope you're aware that the Temporary Invitation module doesn't offer a way for the user to accept permanent membership. That's why it's called *Temporary* Invitation, and if you want to invite users for a permantent membership with full-fledged login data and stuff, then I'm not sure if the Invite module wouldn't be a better fit for your needs. But then I might be wrong, and I don't know what your exact requirements are.
The idea for a user-customizable message starting from the admin-defined template is excellent, I'm going to include this after I finished invited user mail support in the first place. Thanks for your input, and sorry that I won't be using your mail template proposal, it just feels a bit too specific to me.
A first shot of invited user notification mail support is now in the current DRUPAL-5 branch in CVS (which was more effort than I thought it would be). I want to do some minor other changes as well before issuing a new release, so it might still take some time until you can get an official version.
I'd be glad if one or two people could test the CVS version. (It will also be available as 5.x-1.x-dev in 12 hours at maximum.) Mind that you need to run update.php after updating your temporary_invitation directory with the new version.
Not yet included are custom, user edited invitation mails, so for now just the admin can predefine the contents of the invited user notification mail.
Just wanted to mention that user-customizable invitation mails are now available in Temporary Invitation 5.x-2.0-rc1. As only choice, in fact... but I think it worked out well. I'd be pleased if you could try the new stuff (make sure to evaluate it on a test server though) and tell me if it's usable for you this way.
Comments
Comment #1
jpetso commentedYeah, I figured this request would appear sooner or later (rather sooner than later :D).
I don't have the time for doing this currently, but I think I should be able to do it until two or three weeks from now. Of course, I'll happily accept patches as well, if someone gets to implement this sooner than me.
Comment #2
jpetso commentedIn the meantime, you'd do me a great favor if you write up a template for the e-mail that will be sent. I would also appreciate a description of how you think that the admin page (and the invitation management page?) should be modified, and how this functionality should work from an admin or user point of view.
Comment #3
the1who commentedOk, now that you completed one of my other support issues, I got an idea for this.
1. Have a template message that is sent that only the administrator can configure.
2. Have an optional message that the inviter, can input. If no input than there is no message, and no message from the template that states, "inviter's message" etc. Just an idea!
I don't have a lot of time to put into creating some thoughts into the template for a message. But something simple like:
*admin configured*
"Hello !
You've been invited to for a temporary membership that will expire days by . This is a membership to expose our site functionality to you, our guest, in hopes of intriguing you to become a member. You may log-in using:
If you fail to become a member by the expiration date of your temporary account, you're account will still be in our database and when you commit to membership, your log-in information will still remain the same, and your account will be changed from a temporary account to a member account.
If you feel you have received this message in error, please contact us to let us know of possible abuse at: Where we will address the issue accordingly and as soon as we possibly can.
*possible not to show if no entry?*
Here now is a message from who invited you:
*back to admin template*
Thank you for your time and hope to see you soon on our site exercising your account!
team!"
How's that? I didn't think I was going to waste time on writing that up now, but I figured, why not! It kind of just flowed so why stop it! HEH, OK, i'm getting to bed now, hopefully that will be some basis to start and work off of? I hope! I'd like to see this feature, as it would really benefit my site.
-Matt
Comment #4
the1who commentedGod, it didn't take my "" lines....bah! So here it is again, since I can't seem to figure out how to edit old posts:
(but with how I originally posted it)
*admin configured*
"Hello 'user'!
You've been invited to 'site' for a temporary membership that will expire in 'x' days by 'inviter'. This is a membership to expose our site functionality to you, our guest, in hopes of intriguing you to become a member. You may log-in using:
'username'
'password'
If you fail to become a member by the expiration date of your temporary account, you're account will still be in our database and when you commit to membership, your log-in information will still remain the same. Your account will be changed from a temporary account to a member account so you may then log-in at that time.
If you feel you have received this message in error, please contact us to let us know of possible abuse at: 'site e-mail'
Where we will address the issue accordingly and as soon as we possibly can.
*possible not to show if no entry?*
Here now is a message from 'inviter', who invited you:
'blah blah blah, thanks!'
*back to admin template*
Thank you for your time and hope to see you soon on our site exercising your account!
'site' team!"
Comment #5
jpetso commentedHm... sorry, I already started coding this yesterday (though I'm not completely done yet), so I wrote up a template by myself:
That's a bit more minimalistic than the one that you proposed, but I find it important not to place any assumptions on how the module will be used in the end. (For more specific usages, the template can be edited anyways.)
Reading through your mail template proposal, I hope you're aware that the Temporary Invitation module doesn't offer a way for the user to accept permanent membership. That's why it's called *Temporary* Invitation, and if you want to invite users for a permantent membership with full-fledged login data and stuff, then I'm not sure if the Invite module wouldn't be a better fit for your needs. But then I might be wrong, and I don't know what your exact requirements are.
The idea for a user-customizable message starting from the admin-defined template is excellent, I'm going to include this after I finished invited user mail support in the first place. Thanks for your input, and sorry that I won't be using your mail template proposal, it just feels a bit too specific to me.
Comment #6
jpetso commentedA first shot of invited user notification mail support is now in the current DRUPAL-5 branch in CVS (which was more effort than I thought it would be). I want to do some minor other changes as well before issuing a new release, so it might still take some time until you can get an official version.
I'd be glad if one or two people could test the CVS version. (It will also be available as 5.x-1.x-dev in 12 hours at maximum.) Mind that you need to run update.php after updating your temporary_invitation directory with the new version.
Not yet included are custom, user edited invitation mails, so for now just the admin can predefine the contents of the invited user notification mail.
Comment #7
jpetso commentedOk, here's the new release, featuring invited user notification mail support. Remember to run update.php after putting it in your modules directory.
For further bugs or feature requests, please open a new issue.
Comment #8
the1who commentedSweet!
Tested, tried and true! Thanks again for all your help and time and developments! This will be really nice and handy to our club, thanks again!
-Matt
Comment #9
(not verified) commentedComment #10
jpetso commentedJust wanted to mention that user-customizable invitation mails are now available in Temporary Invitation 5.x-2.0-rc1. As only choice, in fact... but I think it worked out well. I'd be pleased if you could try the new stuff (make sure to evaluate it on a test server though) and tell me if it's usable for you this way.