I have just started toying with this module, so I apologize in advance if I am missing something already existing.

I'd like to be able to set a "redirect" page on a per banner basis. Right now, all calls to affiliates URLs (affiliates/username) go to . I assume that in many cases this is not flexible enough.

uc_affiliate2_click() provides for page redirect handling through arguments, so I though it might be interesting to make good use of it.

I have attached a patch (against the 2.0 version) that is a prototype of what could be done. At this point, it's just a proof of concept with no extensibility.

Let me know you thoughts.

CommentFileSizeAuthor
flexible_redirect.patch2.88 KBfp

Comments

bojanz’s picture

Status: Active » Closed (fixed)

This is ancient and doesn't apply anymore.

Closing issue.