UBB.Dev
Posted By: ST8 PM/Who online/Slash UBB Headlines via Newsfader SSI - 01/18/2001 11:05 PM
ok i posted this in beta mods a couple of days ago, but i think its pretty much finished.

What it does: Checks your pms, shows whos online, and your latest headlines from slash ubb forum via the news fader. Main use is for ssi to other pages or require into cgi files.

D/l: http://something.woaf.net/info.zip

Demo

Install instructions within cgi file. [Linked Image]

no longer requires that news fader is installed.
That's a mighty fine little hack. Pretty nifty [Linked Image] Thank you!

------------------
A crust of bread is better than nothing. Nothing is better than love.
Therefore, by the transitive property, a crust of bread is better than love.
Does look nice... good work.

------------------
Allen

- http://www.stand318.com
thanks [Linked Image]
Somebody help me,,,,this is the coolest hack I've seen yet,,, and i can't get it to work in my 5.46a board.
i'm no programming genius,,,but i uploaded the fade.gif and the fader.js to my non-cgi directory and the info.cgi to my cgi directory,,,and its not doing anything.
i know I need to "call" it somewhere? In my ultimate.cgi?..but where do I put it if I want it to be on the top of the board?
I dont get this part....
"Can be called via #
# $online_url = qq(Viewing: News ); #
# require "info.cgi"; "

Where do I put that?
Someone help an idiot please?
I can pay in Van Halen Bootlegs!!!
thats for if u want to include the file into another cgi file. If u just want to use it on a static page then use the virtual include tag [Linked Image]

To put it in ultimate, try finding the header html and straight after it add the
$online_url = "fdg";
require "info.cgi";

i'll check it properly when i get home.

This message has been edited by ST8 on January 25, 2001 at 05:55 AM
thank you soo much,,,,
what I'd like to do is have the News Fader on the top of the board on the main UBB page. So if I put that code in the Header HTML section it may work?
Cool,,,,I'll mess with it... what is the "fdg" though?
"fdg" is what u want to show up in whos online for example

"Viewing: Test Page";
ST8,, thanks again, but still really vague..I can't be the only guy who's having a problem with this...humor me and walk me through it step by step:

1)place fader.js and fade.gif into my noncgi dir

2)configure the stuff in info.cgi down to where it says "End of Configuration"
(I think I can do that!?)

3)Upload info.cgi into my cgi-bin

4)call it somehow in another page,,but how?
If I want to put it at the top of my main page table, what code EXACTLY do I put in my ultimate.cgi or is it even supposed to be in there?

5)add headlines etc.. to the fader? Where?

I'm not trying to be a pain in the ass, but i love this hack you made and really want to implement it on my www.vanhalenlive.com Forums.

If anyone can help me, I'll link your site from mine, make a banner, (I'm good at graphics and HTML, not this stuff obviously),, or Vh fans can get some boots,, any help would be greatly appreciated. If need be, I'll even put up a link to any of my cgi files, so someone can show me where to put that little slab of code.

Thanks,
Craig
Coding master (LOL!) and webmaster of
www.vanhalenlive.com
oke doke open up ultimate.cgi

find :
TableTop1
}

below that add:

$online_url = "Main Page";
require "info.cgi";

save and reupload, make sure u backup [Linked Image]

then all going well it should appear
Hey guy's,

I'm also having a little trouble with this hack and would appreciate a little help. the thing is it seems so easy to set up but nothing actually happens after I've finished.

Here's what I've done already.

1. uploaded fader.js and fade.gif into my noncgi dir and info.cgi into my cgi-bin.

2. Opened up Ultimate.cgi and located the line...

TableTop1
}

3. Inserted the following straight after the above

$online_url = qq(Viewing: News );
require "info.cgi";

According to the instructions I should then be ready to go. The instructions within info.cgi say that if you do not have news fader installed to uncomment the four options below.

4. The news fader section of the info.cgi now looks like this...

$Nfader = "ON";
$NEWS_REG = "";
$NEWS_ANNC = "yes";
$NEWS_UDEF = "";

So then, where am i going wrong?? If I go to mw forums nothing new appears and it still looks the same as usual... no fader, no who's online etc... it's as if the hack hasn't done anything. Can anybody see where I'm going wrong or what I should do.

By the way my url is http://216.167.121.134/cgi-bin/forums/Ultimate.cgi

If it helps I'm using version 5.47

------------------
Keep it spinning
Paul @ DJ Source

This message has been edited by djsource.co.uk on January 27, 2001 at 02:03 PM
ST8,,,,,doesn't work, i did EXACTLY what you said,,,,the same thing happens to me as the guy in the last post. NOTHING!
I have 5.46a,,, I've installed 5 different hacks, and they all worked on the first try,,this one doesn't work at all.
The instructions are too vague. Can't someone post a version with the standard:
#FIND THIS:
#REPLACE WITH:
Hacks like that are fool proof even for people that no nothing about perl or cgi. (like me)

Its a great hack,, but the instructions are TERRIBLE!. I'm sure someone can make this a user friendly hack,,, so i'll just check back periodically to see if any new and improved who's online hacks are posted.

I noticed there aren't any posts from someone thats gotten it to work. Maybe you should move it to "beta mods" till its fully functional.

Thanks anyway for your help.
heh, never been ne good at writing docs, as u can tell [Linked Image]

I've just re written this for ikonboard and it seems to be workin fine, so i shall use that as a base and re write this one, should have it done by tonight...
right here we go...
http://something.woaf.net/info.zip

to use in Ultimate, do the following (put it in teh wrong place last time, DOH!)

find:
TableTop1
}

replace with:
TableTop1
$online_url = "Main Page";
print "";
require "info.cgi";
print "";
}

that all going well will work, i've tested it on my board and it seems to work fine, hope that sorts it...

This message has been edited by ST8 on January 28, 2001 at 06:37 AM
Well, now it at least does something!!,,,,it eliminates every after the first row on the ultimate.cgi page. No fader,, no whos online,,,just deletes the whole page.
If anyone can give me a link to a whos online that works on 5.46,, please help me!!
I don't even care about the newsfader,,,,I've tried the Dave Downin hack and now this one,,,and neither work for **** on my board.
And,,yes i did install then right.

Thanks anyway ST8, it was nice of you to try for me.
Great hack 3 in one!
But did everything what was written here with my UBB5.46 and got the same thing as craigsmith5150 , can modify everything till it works but that will cost me 2 hours or less cause I'm not a developer :-( .
So if someone knows how this hack must be installed please tell us.

Respect for the author/developer but documenting the hack is sometimes more important then the hack itself. tipsy
Is this Hack also Available for Version 6.0?
Hey Sheila, I am sure something will be written similar to this for v6.

St8 do you have a current working url for a demo?
This file is gone frown
Is there any news on when this mod is going to be re-released? I am very interested in a whos online mod! Does the Private messages mod allow me to allow users to check email accounts right on the forum? ie, check messages for [email protected] ? Thats what Im looking for, anyone know of one that exists? Thanks
[QUOTE]Originally posted by ST8:
right here we go...
http://something.woaf.net/info.zip

to use in Ultimate, do the following (put it in teh wrong place last time, DOH!)

Mmmm....

[b]Been trying to d/l your impressive mod...but... it's still not there m8 frown
So... where can I find it?
© UBB.Developers