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?
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?