Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Hi all...

Haven't been here in a while. Didn't recognize the new paint job. Look's great!

I am fairly good with basic ASP. But I know I can't use ASP in the header!!!! What is the best option to write an "If - Else" statement in the header. If the date is less than X I want banner ad 1 to run, Else I want Banner ad B to run.

Thanks all..

Anonymous
Unregistered
Anonymous
Unregistered
javascript?

Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Quote
Originally posted by Ian Spence:
[qb] javascript? [/qb]
I was afraid that would be your answer. :rolleyes:

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
It's sadly one of the only answers...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Javascript is indeed the best solution. A banner rotation package may be more suitable.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Thanks.

Every JS banner manager I found is not date sensitive. Does anyone know of one that will run a banner up to a certain date?

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
phpAdsNew I belive has JS support


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Thanks again. My server doesn't support PHP <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" /> !

Well, I will figure something out...

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
A current webhost that does not support PHP? I don't see any reason they wouldn't as it's not that server intensive and available on every OS...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Anonymous
Unregistered
Anonymous
Unregistered
http://www.mytwinports.com/scripts/

$9 for a really nice js/cgi banner rotation script. In use at gamingring.com's UBB, so we know it's compatible

Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Quote
Originally posted by Gizmo:
[qb] A current webhost that does not support PHP? I don't see any reason they wouldn't as it's not that server intensive and available on every OS... [/qb]
Yep, I agree. And I am NOT on a "budget" host either!

Joined: Mar 2004
Posts: 18
C
stranger
stranger
C Offline
Joined: Mar 2004
Posts: 18
Quote
Originally posted by Ian Spence:
[qb] http://www.mytwinports.com/scripts/

$9 for a really nice js/cgi banner rotation script. In use at gamingring.com's UBB, so we know it's compatible [/qb]
Thank you

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
So you're on an expensive host without PHP? I'd demand it lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Who's Online Now
0 members (), 381 guests, and 101 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)