Previous Thread
Next Thread
Print Thread
Rate Thread
#115872 12/16/2004 5:41 PM
Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
I'm trying to add a java billboard to my UBB at the top. I've placed it in the header, and conversely, into the header insert.

Now, the banner shows up. But the Java will not load, and the banner stays blank. Any reason why the Java won't load? I've tried adding "Java Script" tags to boot the banner, but that doesn't work.


Thanks smile


1998 Firebird Formula with a blower and then some...
Sponsored Links
#115873 12/16/2004 5:57 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
URL to the board in question? We'd need to see it to diagnose the problem.

Do note that putting a Java applet at the top of every page is not likely to win you any friends in your community. Java frequently slows down page loading time.


UBB.classic: Love it or hate it, it was mine.
#115874 12/16/2004 6:24 PM
Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
http://www.cofba.org/cgi-bin/ultimatebb.cgi

Now, there's one integrated to /messageboard in the HTML. However, I'd like to have this same banner actually in the UBB itself so people can't bypass the banner by going straight to /cgi-bin/ultimatebb.cgi.

As for the loading, the banner has been there for years embedded into the HTML. No complaints yet smile


1998 Firebird Formula with a blower and then some...
#115875 12/16/2004 7:40 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
The frameset is actually a better solution here, because it won't involve loading the applet on every page load. If users are bypassing it, it's probably for good reason.

Perhaps you should look at using a normal banner system instead of the Java dynamic thing. It would be less annoying to the users.

As for getting the applet working... you'd just need to use the full URLs to everything in the paramaters. For example, instead of "images/whatever.gif", it would need to be "/messageboard/images/whatever.gif", or whatever the real URLs would end up being.

Do the same for the URL to the .class file and/or the classpath. That should do the trick. But it's still a bad idea.


UBB.classic: Love it or hate it, it was mine.
#115876 12/17/2004 4:21 AM
Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
I was missing the source URL to the .class and .js files.

What do you mean by a "normal banner system"? Is this something that will work like the Java, but not involve the load time (but still be integrated into UBB without using a seperate frameset)?


1998 Firebird Formula with a blower and then some...
Sponsored Links
#115877 12/17/2004 3:38 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
I mean a normal, HTML-based banner package... for example, phpMyAds. You'd just put a bit of Javascript in the header, and it will call the script and it will include the banner image.

No need for a slow-loading Java applet.


UBB.classic: Love it or hate it, it was mine.
#115878 12/17/2004 5:55 PM
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729

#115879 12/17/2004 7:26 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I like PHPAdsNew, it's a very nice system


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)