Previous Thread
Next Thread
Print Thread
Hop To
#98228 12/01/2000 4:30 PM
Anonymous
Unregistered
Anonymous
Unregistered
Hey All,

I have UBB ver 5.47b (unix) setup in conjunction with webadverts. For the most part it works great, however I was wondering..

Currently with UBB, you can only specify the custom Header in General settings right? What I want to be able to do is this. We will have 10 or more different companies advertising on our site. Some of them will have their own Forum's. I would like to be able to only display their banners on their forums, and webadverts does allow this with "zoning", however in UBB, there is only one place that I can see (General Settings) that you can define custom HTML for the forums. But the way UBB is right now, you can only include the webadverts code in one place for ALL forums, not seperate. IE: if I place this code in the header section in the general settings:

<P ALIGN=CENTER>
< !--#exec cgi="cgi/webadverts/ads.pl"-->


It will display the same ads in all forums. Is there anyway to change the custom html for seperate forums? Hope this makes sense.

AgentX

#98229 12/01/2000 5:58 PM
Anonymous
Unregistered
Anonymous
Unregistered
Each Forum setting has a header field which (if set) overides the general one in that forum.

Perfect for zoning...

I now prefer to use Javascript to generate my banner HTML as it gives greater control.

#98230 12/01/2000 6:33 PM
Anonymous
Unregistered
Anonymous
Unregistered
Geez, I must have been blind to miss that, thanks <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> .

Okay I'm trying this out but seem to be having problems.

I have created a seperate configuration file called "ads_1.pl". And then, in the forum that I want company C's banner to appear, I use this line of code:

<A HREF="/cgi/webadverts/ads_1.pl?banner=NonSSI;page=03"><IMG SRC="/cgi/webadverts/ads_1.pl?page=03" border=0>

Now, in the ads_1.pl script, I defined:

$advertzone = "C";

And as you noticed in the HTML code I used: "page=03" because I have "page=02,01" elsewhere on my website. This does display banners, but it displays two other banners I have on the site also, when I only want it to display the banner for company C. Any ideas on what I'm doing wrong? Thanks...

AgentX


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)