PDA

View Full Version : Saw this affiliate mod on a vb forum so I'm looking for it..


brandonroy
02-12-2009, 04:18 AM
I saw a mod on a vb forum not long ago. The mod converted all links to a specific site with commission junction to add your affiliate link to it. For example:

A forum member links to this:
hxxp://www.onlinestoreexample123.com/aproductpage.htm

The mod turns it into this:
hxxp://www.CjaffiliateLink.com/click-3050737-10499485?url=hxxp://www.onlinestoreexample123.com/aproductpage.htm

Anyone know what mod this is?

Dismounted
02-12-2009, 04:39 AM
A modification to one of my rewrite modifications could probably achieve this.

brandonroy
02-12-2009, 07:06 AM
A modification to one of my rewrite modifications could probably achieve this.

Maybe you could point me in the direction on what to modify?

Dismounted
02-12-2009, 07:47 AM
The Rewrite eBay Links modification will fit your bill, you just need to edit the URLs inside the function (functions_rewrite_ebay_links.php). You can clearly see where the URLs are matched.

brandonroy
02-12-2009, 04:24 PM
The Rewrite eBay Links modification will fit your bill, you just need to edit the URLs inside the function (functions_rewrite_ebay_links.php). You can clearly see where the URLs are matched.

Thanks! This mod works with 3.8.1 right? I'm trying it out here. Got my functions_rewrite_ebay_links.php file opened and looking at it but got a little confused. :erm:

My example affiliate link:
hxxp://www.kqzyfj.com/click-55555555-55555555


Help? :o

Dismounted
02-13-2009, 08:45 AM
And the entire link is supposed to look like?

brandonroy
02-13-2009, 09:41 AM
And the entire link is supposed to look like?

It's in the first post (https://vborg.vbsupport.ru/showpost.php?p=1741468&postcount=1).

Dismounted
02-13-2009, 10:38 AM
I meant an actual link, not some pseudo made-up link.

brandonroy
02-13-2009, 12:16 PM
CJ
http://www.kqzyfj.com/click-3050737-10499485

The site itself
http://www.musiciansfriend.com/

dancue
06-02-2009, 01:40 AM
The Rewrite eBay Links modification will fit your bill, you just need to edit the URLs inside the function (functions_rewrite_ebay_links.php). You can clearly see where the URLs are matched.

I think this is what I need to do. I'd like to rewrite this:

http://www.megaupload.com/?d=QVI7MX1P

to this:
http://b4eb9708.linkbucks.com/url/http://www.megaupload.com/?d=QVI7MX1P

How would I acheive this?