PDA

View Full Version : Umm.. hope you're Y2K ready...


Jacob Stetser
02-13-1999, 02:09 AM
cuz... this is the date on the Alpha/Beta/etc. forum:

12-31-99 11:59 PM

At least that's what it says. You ought to take a look at that and see if everything is ok.

Jake

Terra
02-13-1999, 02:18 AM
This is *sorta* intentional...

I am trying to create 'floater' topics that will always stay at the top...

The 'Forum Overview' should always stick at the very top, and I'm tooling our UBB to do so...

--
Terra
--Has come to the conclusion that the UBB is spaghetti code--
FutureQuest

Jacob Stetser
02-13-1999, 02:32 AM
In effect, you're creating certain forums whose lights will effectively never go out? http://www.aota.net/ubb/smile.gif

/me goes off and figures out another way to tell if there are new posts...

if only there were brainscripts.. i.e.,

if {$light == on & $date != "12-31-99"}
$post = "really new"
else
$post = "hah, almost had me fooled, Terra http://www.aota.net/ubb/smile.gif"
end if;
print $post

hey, I think they're stealing ideas from Justin, I saw the author put in the UBB code for !

It's too late. I should be sleeping.

Jake
--update--
DOH, forgot to add handlers to make sure it's not my post.. ah well http://www.aota.net/ubb/biggrin.gif

I'm punchy tonight.

[This message has been edited by Jacob Stetser (edited 02-13-99).]

Justin
02-13-1999, 02:53 AM
Actually, I got the idea from their forum. Someone suggested that for 5.25 and I thought "Hey, that shouldn't be too hard", and so it was. Same with the user status showing under the username.

I would just hack the code to where if the topic contains a certain keyword, e.g. "Overview", it goes first, maybe even with it's own icon (blue folder??). But that's me...

<edit>
Or you could add a flag, like a checkbox, like "Always On Top", and limit that option to Admin status users...
</edit>

------------------
Justin Nelson, SFE Inc.
www.vdj.net (http://www.vdj.net)

[This message has been edited by Justin (edited 02-13-99).]

Terra
02-13-1999, 03:25 AM
His UBB code is a nightmare to hack on...

Repetitive code
Very little optimizations (I can see why some hosting companies ban it)
UGLY code and difficult to read
Hardly any indention
etc...

I try to make as minimal changes to it, as he updates it frequently and b0rks my edits... Less I add, less I have to redo...

--
Terra
--If it isn't broke, don't fix it--
FutureQuest

Justin
02-13-1999, 03:44 AM
Good, I'm not the only one who thinks their coding stinks. I know that thier HTML knowledge is a little lacking too, although I heard that the HTML is different in the paid version. I rewrote most of the HTML adding some CSS and JavaScript to it, but I don't know enough Perl to rewrite that.

I wonder if they do bad coding on purpose, so that it's harder to steal code? Like how some people bunch up their HTML for that reason. I doubt that's the case though.

But honestly, as a programmer, I would have done a lot of things differently, as a lot of their subs are redundant and unneeded. Like where the bad word filter, UBB code, HTML stripping, smiley conversion, and carriage return conversions are all over different files when they should be all in one sub (that's what I did to mine). Makes more sense that way.

I could also see the whole thing being in one file, except for the variables for colors and paths, which should be one file themselves. The whole UBB could be 2 files. That would make paths so much easier.

I still think that it is the best BB script I've seen anywhere, but it's mostly the looks that make it what it is.

Well, I'm done being picky http://www.aota.net/ubb/smile.gif


------------------
Justin Nelson, SFE Inc.
http://www.vdj.net

Tom
02-15-1999, 01:57 AM
Justin,

You're not going to be able to get its code, but I honestly think that CompuServe has web forums down better than anyone. They use their own custom HMI code on NT servers.

The organization, speed and the way it handles threading is far superior to anything else I've tried. It sure blows the socks off the crud that places like ZDNet use. The way it remembers you and provides new info only and presents any waiting messages is also top-notch.

You can visit a forum and browse some sections of the 8 or 900 forums, but only members can post, see full names and download all files. In another life, I'm the wizop of

http://go.compuserve.com/Investors