Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Image tags for banners

Quote Reply
Image tags for banners
Hi,

Alex responded to one of my posts and the info seems like it could help me.

I DO NOT have the plugin for advertpro -- rather I have had the system for years now.

Can anyone please give me the code to use <img> tags as Alex suggested I should use to call the banners in my templates??

Please?

Thank you... -Sophia

-----------------------------------------

Alex's reply

Hi,

In regards to displaying banners, if you are using the AdvertPRO plugin, then you should just be able to put:

<%Plugins::GForum::AdvertPRO::display_region ('5')%>

in your template for wherever you want to display a banner for region 5. This only works if you have the plugin. If you don't have the plugin, you will need to use <img> tags to load the banenr.

As for the Admin area disappearing, that's very strange. I'd recommend asking AdvertPRO for some quick advice, they are usually very responsive.

Cheers,

Alex
~§ophia~
Quote Reply
Re: [sophiabarton] Image tags for banners In reply to
I'm not familiar with AdvertPRO, but do you have a code sample used on one of the other pages? Using something similar in the GForum template should work.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Image tags for banners In reply to
Hi Jag...

Thanks!

Here is the call to the banner system now that I use in all the headers and footers of my site. The system needs 2 calls... code for the top and code for the bottom portion of the code. Code is for the DoubleClick Network banners.

<!--#INCLUDE VIRTUAL="/cgi/advertpro/banners.fpl?region=3&mode=SSI&name=2"-->

~§ophia
~§ophia~
Quote Reply
Re: [sophiabarton] Image tags for banners In reply to
Hi Sophia,

I had a quick look through the online AdvertPro manual, and it looks like you are going to need the output of the Perl Code Generator option - in the admin. I recommend trying to contact AdvertPro in order to get them to help you regain access to your admin area; with the generated Perl code it should be very easy to create a GForum global that will do exactly what you need.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com