Okay I'm using the alternate template mod for categories.db and I want to have a seperate database for all my banner adverts. So if I opt to use sports.html as the category template I want links to pull the id from the advert.db and display that instead of %header%. The fields would be ID|TEMPLT|COMPANY|URL|IMG|HITS
so in the nph-build.cgi there would be some code that would insert the id into %TEMPLT% where the header used to be.
This mod will also help if you show button ads, banners and text ads and want to change them from time to time on each alt template.
Logical steps:
1 Build the advert.db
2 Run new nph-build.cgi
3 nph-build will insert specific ID as defined in each template with url,image and/or text
4 jump.cgi will keep track of # of hits per ID in adverts.db
-------------------------------------------
I think this will help out a lot of people who run linkexchange, 24/7, or just sell space on their sites.
------------------
www.webgotcha.com
[b]admin@webgotcha.com[/b]
[This message has been edited by Denver (edited September 03, 1999).]
so in the nph-build.cgi there would be some code that would insert the id into %TEMPLT% where the header used to be.
This mod will also help if you show button ads, banners and text ads and want to change them from time to time on each alt template.
Logical steps:
1 Build the advert.db
2 Run new nph-build.cgi
3 nph-build will insert specific ID as defined in each template with url,image and/or text
4 jump.cgi will keep track of # of hits per ID in adverts.db
-------------------------------------------
I think this will help out a lot of people who run linkexchange, 24/7, or just sell space on their sites.
------------------
www.webgotcha.com
[b]admin@webgotcha.com[/b]
[This message has been edited by Denver (edited September 03, 1999).]