Gossamer Forum
Home : Products : Links 2.0 : Customization :

WebAdvert & CGI

Quote Reply
WebAdvert & CGI
I've have been through the former threads and read everything about WebAdvert, and I still can't get it to work.

Using the latest Links.

As per earlier instructions it says. On the script "site_html.pl" I follow directions on putting the following lines in.
# I'd really appreciate a link back, but you are not obligated to.
$site_footer = qq~

~;

#### Start Advert Routine ####
sub insertadvert { require "/home/sites/home/ads/ban-gen/ads_display.pl";
$adverts_dir = "/home/sites/home/ads/ban-gen/img";
$display_cgi = "http://www.domain.com/ads/ban-gen/ads_display.pl";
$advertzone = ""; $ADVUseLocking = 1; $ADVLogIP = 1; $DefaultBanner = "";
$ADVNoPrint = 1; &ADVsetup;}
#### End Advert Routine ####

##########################################################
## A Link ##
##########################################################

And, on the template for the search results, I have place either of these:
1) &insertadvert; (as per WebAdvert Doc)
2) ~;&insertadvert;print qq~ (as per a posting here http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/000138.html)
And none have worked.

Can someone please tell me what's wrong with these lines?
Subject Author Views Date
Thread WebAdvert & CGI Ricardo 3869 Jan 24, 1999, 10:21 PM
Post Re: WebAdvert & CGI
volpi 3798 Jan 25, 1999, 1:20 AM
Post Re: WebAdvert & CGI
Ricardo 3803 Jan 25, 1999, 10:10 AM
Post Re: WebAdvert & CGI
Ryan 3804 Jan 25, 1999, 10:43 AM
Post Re: WebAdvert & CGI
volpi 3802 Jan 25, 1999, 11:04 AM
Post Re: WebAdvert & CGI
Ricardo 3800 Jan 25, 1999, 11:25 AM
Post Re: WebAdvert & CGI
Ryan 3794 Jan 25, 1999, 12:05 PM
Post Re: WebAdvert & CGI
volpi 3796 Jan 25, 1999, 12:10 PM