Closed (fixed)
Project:
User Referral
Version:
5.x-1.x-dev
Component:
Code: referral
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2007 at 02:54 UTC
Updated:
20 Mar 2009 at 12:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
ryan_courtnage commentedI can confirm that this is a bug and the suggested fix works.
Comment #2
blnd commentedI corrected the typo in the module, but it still doesn't work for me. Referrals are reported, but points still not being added. Please help.
Comment #3
j_ten_man commentedI can also confirm this bug and the suggested fix works. Does anyone know what the entity_id is? It has the same typo but I am not sure if it needs to be corrected or not or if has any effect on anything.
Comment #4
CarbonPig commentedIs this also a fix for 6.x ??
Thanks,
The Carbon Pig
Comment #5
Debugger_01 commentedreferral-5.x-1.0
output error
Fatal Error: Undefined Function: userpoints_role_userpoints()
referral-5.x-1.x-dev
output error
Undefined Function: ip_address() (it's exists only in drupal 6.x)
I patched dev module. It seems work fine.
Comment #6
Debugger_01 commentedComment #7
kbahey commentedFixed in version 5.x-1.x-dev, without the ip_address() function, which does not belong in this module.
Also, ported the userpoints functionality to the D6 version.
The new changes will appear in the -dev tarballs in about 6 hours.
Comment #8
Debugger_01 commentedhow about ip_address() function ? It's not exists in drupal 5.
Comment #9
kbahey commentedI think there is a patch that makes this function available for Drupal 5.
If you cannot find it in the issue queue, then put it in its own new module. I don't want something that belongs to core to be in a contrib module.
Comment #10
Debugger_01 commentedThis function not belongs in core! And your module uses this function. It exixsts only in drupal 6 core!
Comment #11
kbahey commentedYes, because it is in core in D6.
Comment #12
Debugger_01 commentedmodule for 5!
Comment #13
kbahey commentedChanged back D5 to $_SERVER['REMOTE_ADDR'] instead of calling a non-existent function.
Comment #14
Debugger_01 commentedthanks god :)
Comment #15
kbahey commentedYou are welcome. Enjoy!