Ported to Drupal 6
alliax - June 16, 2008 - 09:34
| Project: | User Referral |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
Hello, any chance to see this useful module updated to Drupal 6 before the release of Drupal 7?

#1
It will be done when any of the following happens:
- Someone submits a working and test patch patch.
- We need it for a client project.
- A client sponsors the effort.
#2
OK, thank you for your answer, so it's quite unlikely if not done for the sake of maintaining a module just like many others do.
I hope a developer can submit a working patch then.
#3
How much would be to sponsor the upgrade?
#4
submit
#5
Hi everybody,
I Just have ported that great module to Drupal 6. See attached files - referral.module and referral.info
The next features NOT TESTED YET:
* Integration with userpoints module
* Integration with adsence module
No new features were added.
Ported to Drupal 6 by me - http://andyceo.ruware.com/
Sponsored by andron13 - http://vberline.ru/
You can see live demo on the Epochta.by project: http://epochta.by/users/andyceo
Thanx and have a lot of fun :)
#6
Thank you andyceo!
#7
Thank you. I created a dev release for 6.x, which should be here http://drupal.org/node/287926 by tomorrow.
One thing that is missing is using hook_schema() in the .install file, therefore I am changing the status to "needs work".
#8
FYI - I just checked out the DRUPAL-6--1 branch, and can't find any obvious bugs. This version is using hook_schema() in the .install.
I'd like to add a couple of small enhancements:
* let administrator change the drupal_goto url in referral_get(). I'll variable_set in admin/settings/referral.
* expose a Drupal Action that will set the flag the referral record for a user
I'll create a patch for HEAD if that's cool? (I'll create a new issue when ready)
#9
I am OK with 1.
Regarding 2, the wording is not clear on what the action will do.
Please open a separate issue for those two actions when you have the patch and explain 2 more.
This issue we are in is only open for hook_schema().
Thanks