Gossamer Forum
Home : Products : Links 2.0 : Customization :

Zones Webadverts

Quote Reply
Zones Webadverts
Hi,
The Webadverts documentation says that to set zones i need to create a new *.pl file.
I have setup webadverts and it's all working fine but i have no idea what that zone file should look like.
Can someone please give me an example of a zone file. I'll handle it from there.
I searched the forum but couldn't find any "zone codes".

Thank you for your time.
Quote Reply
Re: Zones Webadverts In reply to
Basically, you just need to copy your current ads.pl file and change one or two lines. Comapre ads.pl with this one...

Quote:
#!/usr/bin/perl

############################################
## ##
## WebAdverts (Configuration) ##
## by Darryl Burgdorf ##
## (e-mail burgdorf@awsd.com) ##
## ##
## version: 1.52 ##
## last modified: 2/13/98 ##
## copyright (c) 1998 ##
## ##
## latest version is available from ##
## http://awsd.com/scripts/ ##
## ##
############################################

# The following variables should be set to define the locations
# and URLs of various files, as explained in the documentation.

require "/web/ten-tenths/cgi-bin/ads/ads_display.pl";

$adverts_dir = "/web/ten-tenths/cgi-bin/ads";
$display_cgi = "http://www.ten-tenths.com/cgi-ten-tenths/ads/BTCC.pl";

$advertzone = "BTCC";

$ADVUseLocking = 1;
$ADVLogIP = 0;

$DefaultBanner = "";

# $Ztext = "";
# $Zalt = "";
# $Ztarget = "";
# $Zheight = "";
# $Zwidth = "";
# $Zborder = "";

$ExchangeName = "";
$ExchangeURL = "";
$ExchangeLogo = "";
$ExchangeLogoHeight = 40;
$ExchangeLogoWidth = 40;

# NOTHING BELOW THIS LINE NEEDS TO BE ALTERED!

&ADVsetup;

reset 'A-Za-z';
exit;

------------------
Craig Antill
10 Tenths Motorsport (1.1) - www.Ten-Tenths.com/links/
THE Directory (2.0b3) - www.gardenbuildings.com/beta/