Gossamer Forum
Home : Products : Links 2.0 : Customization :

Best Advt/Banner to use?

Quote Reply
Best Advt/Banner to use?
What do you all reccomend as best Advertising/Banner solution. I am considering Webadverts. But looks like a pain with the page x= stuff. Will SSI work? Please all comments are welcome!
Quote Reply
Re: Best Advt/Banner to use? In reply to
i like bannermaster..

lots of features..

jerry
Quote Reply
Re: Best Advt/Banner to use? In reply to
WebAdverts will work with SSI in non-cgi pages. For pages like the search, add, modify, rate, etc., the SSI calls will not work.

However, there is a workaround in the FAQ section of LINKS in the Resource Center (However, this has only worked for a limited number of LINKS users).

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Best Advt/Banner to use? In reply to
ssi has nothing to do with programs.. it has something to do with apache web servers.. in apache's faq they say it's impossible to use ssi in a executable program because it will cause problems.. since it is not static..

however.. i got bannermaster to work using a subroutine.. not hard..

jerry

Quote Reply
Re: Best Advt/Banner to use? In reply to
You can use Non-SSI zoned calls for cgi pages.

Code:
<a href="http://www.foo.com/ads/zone_1.cgi?banner=NonSSI;page=1">
<img border=0 src="http://www.foo.com/ads/zone_1.cgi?page=1"></a>

Change the page number for each call.
Quote Reply
Re: Best Advt/Banner to use? In reply to
i never used bannermaster. Will SSI work in add, modify, etc.?
Quote Reply
Re: Best Advt/Banner to use? In reply to
Hi, I used OrbitCycle at: http://www.adzerver.com/adserve.html
it works great with my templates. You can mange everthing from their web based admin panel. Check it out.
Quote Reply
Re: Best Advt/Banner to use? In reply to
Patricio,

And does this program also work in cgi generated template files (like the add, modify, and search files)???

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Best Advt/Banner to use? In reply to
Hi,

I use WebAdverts with SSI calls. There are basically two main methods of doing this with Links:

1. Direct
Use the SSI call as with HTML, i.e.

<!--#exec cgi="/cgi-bin/ads_zonename.pl"-->

This works fine where a page is created with:
$output = qq~


2. Indirect

Create subroutines lower-down in the site_html.pl file to call the necessary parts of the script, i.e.

Quote:
sub insertsubadc {

require "/cgi-bin/ads_display.pl";
$adverts_dir = "/webadverts";
$display_cgi = "http://www.yoursite.com/cgi-bin/ads_zonename.pl";
$advertzone = "zonename";
$ADVUseLocking = 1;
$ADVLogIP = 0;
$DefaultBanner = "";
$ADVNoPrint = 1;
$ADVQuery = "";
&ADVsetup;
}

Use this when pages are created with:

print qq~

For method no.2 you have to place a break in the output to insert the necessary details. You can do it this way:

Quote:
<tr>
<td width=100% align=center valign=absmiddle>
<center>
<img src="/img/space.gif" width=1 height=4><br>
<FONT SIZE=1 COLOR="#000000" FACE="VERDANA,ARIAL,TOHAMA">

~;
}
&insertsubadc;
{print qq~

<img src="/aw/img/space.gif" width=600 height=4><br>
</center>
</td>
</tr>

You'll obviously have to change the relevant paths, and where you want to add zones you'll have to create a new subroutine for each zone (because each one has a sep. ads_zone.pl file reference).

Don't bother doing all this for the category pages though, you can simply get links to check the category page its building and apply the relative zone as it builds them:

Find sub site_html_category {

.. and before ...

$output = qq~

Add this

Quote:
if ($category_clean =~ /^Category Name/) {$Zone="zonename"};
elseif ($category_clean =~ /^Second Cat/) {$Zone="zonename"};

Carry on adding them for as many top-level or sub categories you'd like to zone (most top-level categories will probably be sufficient!)

... and finally ...

else {$Zone="zonename"}; 'this sets a default in case it didn't match any of the names above'

Once you've added this to the top of the category building section, you can update the HTML within it to add the relative zone name for the WebAdverts SSI call:

Quote:
<!--#exec cgi="/cgi-bin/ads_$Zone.pl"-->

I've done this for all of my category pages and adapted it to banners, buttons, text and internal links - you'll have to play around and you'll soon get the hang of it.

I'd like to write a proper FAQ on how to do it as so many people appear to use WebAdverts but I haven't got the time right now - maybe later.

Hope this helps some Smile

All the best
Shaun

[This message has been edited by qango (edited January 17, 2000).]
Quote Reply
Re: Best Advt/Banner to use? In reply to
OrbitCycle isn't a cgi program.. it's remotely hosted ad program.. it's pretty good..

i use them on my pages..

it works on cgi generated cause it is pretty much all NONSSI.. using cookies

jerry
Quote Reply
Re: Best Advt/Banner to use? In reply to
and btw.. orbitcycle is not at adzerver.. it is at

cgi.net

------------------
Jerry Su
Links SQL Licensed
------------------