Affiliate does not work with Drupal 4.5 - patch
webslinger - November 4, 2004 - 21:55
| Project: | Affiliate |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | incidentist |
| Status: | closed |
Description
I know that you're already aware of the incompatibility of the Affiliate module with 4.5.0, but wanted to log this into the bug system. If there's anything I can do to help, please let me know.
Thanks,
Dieter

#1
#2
It's a pity if this module no longer supported!
can someone continue with it?
#3
I'm working on this. It's pretty simple. I'm going to be updating it for 4.5, not 4.6, because I run CivicSpace and they're only at 4.5, but I don't think the 4.6 upgrade should break anything.
#4
You may be interested in this module http://drupal.org/node/16009#comment-26602 . It is the other affiliates module from spreadfirefox.com that many were interested, but nobody updated. It was made for 4.4 and breaks in 4.5. The module lets admin create links that can be accessed by any user with proper permissions. Clicks are tracked, not signups. Code can be created for banners as well as text links and can link to anywhere, on or off the site. It seems very useful for civicspace sites they may want to encourage members to spread the word. There is also a rating system and block that displays top referrers.
#5
Okay, I've attached both a patch and a tgz with the updated module. I'm awaiting permission to put this into CVS. This is the first patch I've ever submitted for anything, so I hope I'm doing it all by the book.
Again, I don't know if this will work in Drupal 4.6, but I think it should--I've looked through the changelog and didn't see anything that would break it. If it does break, let me know. Fixing it for 4.6 should be trivial.
Truth be told, it looks like the SpreadFirefox affiliate module is much more powerful--and complicated. I didn't know about it when I started working on this, because it's not in the modules list!
#6
...and here's the patch.
#7
#8
Ok. I have this installed on the newest version - 4.6.3 (I think) and have run into the following error.
After creating the affiliate and getting it all set up if I go into "my account" under "Affiliate:" and click on the link the following error comes up:
Fatal error: Call to undefined function: check_query() in /home/*****/public_html/members/modules/affiliate/affiliate.module on line 142
Any ideas?
Thanks in advance for any help!
Have a great day!
Heather
#9
I have taken over the Affiliate module and updated it to work with 4.7. Prior versions of Drupal are no longer supported.