Thread: sponsored links
View Single Post
Old 04-29-2004, 06:18 AM   #7
alivin70
Orange Mole
 
alivin70's Avatar
 
Join Date: Sep 2003
Posts: 40
Quote:
Originally posted by RaGe
This thread is most likely confusing since there is no /libs/adbanners.php present in your mod, nor in any version of PhPdig, not even an example of such file exist that i have been able to find. I know you're not referring to snatching a file from a banner program like PhPAds and transplanting it into the PhPdig libs directory.

Your mod seems to rely on /libs/adbanners.php to function, care to include it or explain creating it?
Sorry for the confusion.

/libs/adbanner.php should be present (and the function banners() implemented) only if you activate "sponsored links" adding the following lines to config.php.

PHP Code:
define('SPONSORED_LINKS',1); 
I've already explained how to implement adbanner.php in this thread

The key point is the banner extraction from DB based on keywords of the query string. That point is completely dependent on the adserver you use.
I'm using a custom built adserver, so I can't figure out how let Phpdig work with another adserver.
alivin70 is offline   Reply With Quote