vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Saw this affiliate mod on a vb forum so I'm looking for it.. (https://vborg.vbsupport.ru/showthread.php?t=205088)

brandonroy 02-12-2009 04:18 AM

Saw this affiliate mod on a vb forum so I'm looking for it..
 
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

Quote:

Originally Posted by Dismounted (Post 1741486)
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

Quote:

Originally Posted by Dismounted (Post 1741615)
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

Quote:

Originally Posted by Dismounted (Post 1742690)
And the entire link is supposed to look like?

It's in the first post.

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
Code:

http://www.kqzyfj.com/click-3050737-10499485
The site itself
Code:

http://www.musiciansfriend.com/

dancue 06-02-2009 01:40 AM

Quote:

Originally Posted by Dismounted (Post 1741615)
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:

Code:

http://www.megaupload.com/?d=QVI7MX1P
to this:
Code:

http://b4eb9708.linkbucks.com/url/http://www.megaupload.com/?d=QVI7MX1P
How would I acheive this?


All times are GMT. The time now is 03:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01040 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete