php forum
php mysql forum
php mysql smarty
 
Topic Options
#115872 - 12/16/04 04:41 PM Now for a Java question
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
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...

Top
#115873 - 12/16/04 04:57 PM Re: Now for a Java question
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
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.

Top
#115874 - 12/16/04 05:24 PM Re: Now for a Java question
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
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...

Top
#115875 - 12/16/04 06:40 PM Re: Now for a Java question
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
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.

Top
#115876 - 12/17/04 03:21 AM Re: Now for a Java question
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
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...

Top
#115877 - 12/17/04 02:38 PM Re: Now for a Java question
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
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.

Top
#115878 - 12/17/04 04:55 PM Re: Now for a Java question
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#115879 - 12/17/04 06:26 PM Re: Now for a Java question
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I like PHPAdsNew, it's a very nice system
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  Gizmo, tackaberry 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks