TXT
Reply to comment
Registration codes by account type with expiration
Submitted by enzo on Tue, 01/20/2009 - 14:48Hello people
Today I sent a new patch, this time the lucky module was Registration Code
This module enable to add registration codes by account type and expiration account using modules Account Types and Account Expiry with patch to support account types.
My approach was to modify the module for Drupal 5 to provide:
- Different registration codes for each account type, used on registration process
- Registration codes used wouldn't be used.
- Registration codes used will be deleted from the list of available registration codes
- Option if Account Expiry modules is enabled, the expiration type will be set based in expiration time for each account type.
I reuse code posted on http://drupal.org/node/154355 to implement store regcodes used and remove from available list.
This patch isn't part of the module yet, but I expect the maintainers check and implement coming soon. track this process at http://drupal.org/node/361527
Attached in this post, could you find the patch an a complete module with changes.
Please contact me if you have any doubt or concern
enjoy
enzo
| Attachment | Size |
|---|---|
| regcode_by_account_type_with_expiration.patch | 10.16 KB |
| regcode.zip | 11.76 KB |

