|
Joined: Mar 2002
Posts: 78
Member
|
Member
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
1998 Firebird Formula with a blower and then some...
|
|
|
|
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.
|
|
|
|
Joined: Mar 2002
Posts: 78
Member
|
Member
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
1998 Firebird Formula with a blower and then some...
|
|
|
|
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.
|
|
|
|
Joined: Mar 2002
Posts: 78
Member
|
Member
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...
|
|
|
|
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.
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
|
|
|
|
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
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|