GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone have instructions on hacking WP to handle affiliate ID's for a hosted blog? (https://gfy.com/showthread.php?t=664735)

Solid Bob 10-10-2006 03:35 PM

Anyone have instructions on hacking WP to handle affiliate ID's for a hosted blog?
 
I lost my notes on it and want to send to someone.

quantum-x 10-10-2006 03:37 PM

Easiest way is to make a theme that includes some PHP code that checks if a NATS / Affiliate code is present, and sets up a session creating the resultant link code.

Inside the blog template, just include the session information.

This prevents leaks when people click all around the site.

Solid Bob 10-10-2006 03:38 PM

Thanks dude.

Jace 10-10-2006 03:40 PM

there is a plugin out there that allows you you to insert php code in posts, just use that with some more small php code, and there you go :)

quantum-x 10-10-2006 03:44 PM

Quote:

Originally Posted by Jace (Post 11043366)
there is a plugin out there that allows you you to insert php code in posts, just use that with some more small php code, and there you go :)

You then have the problem of carrying the code over the rest of the links though.. to be totally successful, the surfer should be able to click anywhere in the site, then click a link and have it still tracked.


All times are GMT -7. The time now is 04:14 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123