Thread: sponsored links
View Single Post
Old 01-31-2004, 01:33 AM   #1
JÿGius³
Green Mole
 
Join Date: Oct 2003
Posts: 17
sponsored links

Hi people.

Since there are plenty of banner extraction tools,
you can choose one and call it in libs/search_function.php.
At the end of this file there is a banners() function in order to show sponsored links as well.
Banners() calls another function called adbanner(). You should
define adbanners() in libs/adbanners.php.
adbanner() calls your banner extraction tool in order to
select banners. adbanner() returns
a html chunk ready to be displayed.
Your template have to contain this tag
<phpdig:adbanner/> to show banners.
You can turn on this feature using a constant defined in config.php.

The submitted files contain comments in order to fully understand my little modifications.

Best regards.

Gius
Attached Files
File Type: zip phpdig-adbanner.zip (14.9 KB, 122 views)
JÿGius³ is offline   Reply With Quote