PDA

View Full Version : Has anyone else written their own bulletin board/test of this one


michaeli
2003-01-29, 02:43 AM
I'm writing a bulletin board/forum for a student society at school. I'm now running into a problem where a link someone posted is pushing the originally 800px wide table to full screen width and it looks ugly. I need to implement automatic URL parsing (so it'll automatically add anchor tags to all links. In doing this, I'd also stick in something that would handle links being too long (and other lines, but I think a link would be the most common source of an unbroken string of characters).

So, I wanted to test and see how this forum software handles really long strings of text.

(6 * 26 = 156 characters):
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst uvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmn opqrstuvwxyz

(10 * 26 + 11 = 276 character link):
http://abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst uvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmn opqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefgh ijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.com

(3 * 26 + 11 = 89 char. link):
http://abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst uvwxyz.com


Later,
Eli.

michaeli
2003-01-29, 02:46 AM
Alright, so it truncates text strings and compresses links to 34 characters + '...'[last 15 chars].

Seems it encountered some issue with that second link though -- not too sure why that happened.

Hmmm. Must get parser going.

Later,
Eli.

harper
2003-01-29, 05:22 AM
(10 * 26 + 11 = 276 character link)

I'd invest in a new calculator.

Klaas Bil
2003-01-29, 09:31 AM
A calculator?? Unexpectedly modern, Mr Harper!

Klaas Bil

michaeli
2003-01-29, 12:53 PM
Originally posted by harper
I'd invest in a new calculator. So I was off by 5 (I mean, c'mon -- 26, 260. Add 10 or so... there's a 6 there. You can see how I got 276, can't you?) ... sue the few neurons that didn't get there in time. In fact, with my not sleeping much of late, I've probably already killed them off.

Thanks for the correction though,
Eli.

gluteous maximus
2003-01-29, 07:22 PM
This thread belongs in the Test forum.

Just Conversation is for conversation.

Practice your typing in Word.

Try this. (http://tinyurl.com/)

michaeli
2003-01-29, 11:43 PM
Originally posted by gluteous maximus
This thread belongs in the Test forum.

Just Conversation is for conversation.

Practice your typing in Word.

Try this. (http://tinyurl.com/) Alright, you cheeky bastard :). If you could create said 'Test' forum, I'd be more than happy to test it for you (oh the irony). What's that? Sorry? You can't make one? Oh, that's unfortunate. Really, that's too bad. I feel for you.:D

Anyhow, I can't rely on users to use tinyurl.com (http://www.tinyurl.com) all the time. Users are dumb; I need a parser (which I'll write at some point) that will deal with things for me, acting on the user's behalf. Unless tinyurl has an API of sorts (a la Google Web API (http://www.google.com/apis/)) that I don't know about, I don't think that site has much to offer in terms of a permenant solution. I use it frequently on the forums, yes, but...

Anyhow.
Later,
Eli.

uni57
2003-01-30, 12:19 AM
Originally posted by gluteous maximus
This thread belongs in the Test forum.

Just Conversation is for conversation.

Ah, but we are having a conversation. And frankly, I find it fascinating.

Sometimes people have a long user name (usually it's those weirdos who use newsreaders:)). (email addresses as user names can be long) And sometimes the subject is long but has no (or few) spaces to be broken on. Both have thrown off the formatting of vBulletin. For examples, take a look at the following. Since these links specify page numbers, by the time you read this, they may be off by one or two. So if the formatting looks good, go plus or minus one or two pages...

A long (garbage) user name (http://www.unicyclist.com/forums/forumdisplay.php?s=&forumid=3&daysprune=100&sortorder=desc&sortfield=lastpost&perpage=25&pagenumber=39)

And again (http://www.unicyclist.com/forums/forumdisplay.php?s=&forumid=3&daysprune=100&sortorder=desc&sortfield=lastpost&perpage=25&pagenumber=30)

An overlooked spam with a hardly-any-spaces subject (http://www.unicyclist.com/forums/forumdisplay.php?s=&forumid=3&daysprune=100&sortorder=desc&sortfield=lastpost&perpage=25&pagenumber=33)

Code on, Eli! And feel free to discuss it here, as you have.

uni57 (Dave)

gluteous maximus
2003-01-30, 03:40 PM
Originally posted by michaeli
Alright, you cheeky bastard :). If you could create said 'Test' forum, I'd be more than happy to test it for you (oh the irony). What's that? Sorry? You can't make one? Oh, that's unfortunate. Really, that's too bad. I feel for you.:D

but...

Anyhow.
Later,
Eli.

There's absolutely no need for me to create a Test forum, because Gilby has already provided one.
Keep your pity for yourself, since you're the one who's too short-sighted to find it...

... oh, OK, I'll be kind and show you where it is:

Test
Want to try out something? Then this is the place. (http://www.unicyclist.com/forums/forumdisplay.php?forumid=17)



The secret, hidden page (http://www.unicyclist.com/forums/) where I found that mythical Test forum.




Oh, yeah... and :) yourself.

michaeli
2003-01-30, 07:31 PM
Ouch,

Well, I must say I deserved that... shows what you get for being cocky.

gluteous, thanks for pointing out the Test forum -- how convenient for Gilby to have provided such a resource. I will make good use of it the next time I want to test something out.

Later,
Eli.

uni57
2003-01-31, 01:20 AM
Originally posted by michaeli
I'm writing a bulletin board/forum for a student society at school. I'm now running into a problem where a link someone posted is pushing the originally 800px wide table to full screen width and it looks ugly. I need to implement automatic URL parsing (so it'll automatically add anchor tags to all links. In doing this, I'd also stick in something that would handle links being too long (and other lines, but I think a link would be the most common source of an unbroken string of characters).

So, I wanted to test and see how this forum software handles really long strings of text.

... test stuff snipped ...

Later,
Eli.
Eli,

All of the above parts of your original message constitute CONVERSATION -- and thus DO NOT belong in the Test forum. Please continue to post the non-test stuff here, otherwise I might have to start reading the Test forum. And I don't want to do that.

uni57 (Dave)
(a fellow software developer...)

gluteous maximus
2003-01-31, 04:24 PM
OK, converse this http://i.cnn.net/cnn/2003/images/01/31/top.bushblair.split.ap.jpg

uni57
2003-01-31, 04:45 PM
Originally posted by gluteous maximus
OK, converse this
Okay.

I only recognize the man on the left. So, should I be watching more television (news)? I've gotten my weekly TV watching down to zero. Used to be one hour per week - The Sopranos.

Anyway, neither of us :) are :) using :) very :) many :) smiley :) faces :), so I hope you are not taking any of this too seriously. I'm not sure how to read you!

uni57 (Dave)

gluteous maximus
2003-01-31, 05:09 PM
Originally posted by uni57

Okay.

I only recognize the man on the left. So, should I be watching more television (news)?
uni57 (Dave)

Yes, you should!

But don't believe everything you see there!

The one on the "right" }Tony Blair{
(they're actually both on the right!)
is planning to encourage the other one on the right
}the one you recognize{
to go ahead and start a war, even though most other world leaders disagree.

Oil rules, I guess.

Don't really see anything to :) about.

uni57
2003-01-31, 07:12 PM
Originally posted by gluteous maximus
Yes, you should!

But don't believe everything you see there!

Don't really see anything to :) about.
Agreed.

Agreed.

And agreed.

uni57 (Dave)

fatguygoesuphill
2003-01-31, 11:10 PM
[QUOTE]Originally posted by gluteous maximus
This thread belongs in the [B]Test forum.

Just Conversation is for conversation.

Practice your typing in Word.


Damn, Skidmark, You simply DO NOT get along with anyone, do you?
Don't be such a prick.

phil
2003-01-31, 11:24 PM
Originally posted by michaeli
Users are dumb; I need a parser (which I'll write at some point) that will deal with things for me, acting on the user's behalf.

Muuummmm!!! That man called me dumb... *sob* *sniff*

:D

Phil

uni57
2003-01-31, 11:51 PM
Originally posted by phil
Muuummmm!!! That man called me dumb... *sob* *sniff*
I'm sorry you had to learn about it that way. We are not supposed to mention it outside our group.

Actually, we (software developers) don't actually believe that users are dumb. But we have to write software AS IF they were dumb. So as a matter of convenience, amongst ourselves, we sometimes talk about the "dumb user."

The above damage control is pursuant to Section 2.7 of the ACM Code of Ethics and Professional Conduct (http://www.acm.org/constitution/code.html)

Phil, I hope this helps. If there are any big words that you feel you don't understand, let me know and I'll try to help you out. :D :D :D :D

uni57 (Dave)

phil
2003-02-01, 12:17 AM
Originally posted by uni57
I'm sorry you had to learn about it that way. We are not supposed to mention it outside our group.
Your secret is safe with me. I've done software development AND sysadminning. Scary.

Wait... damn! :)

Phil

michaeli
2003-02-01, 11:14 AM
I must say I'm quite pleased to see a presence of geeks within the unicycling community. I can imagine there are a few others as well (harper and whatever it is he does :) and then all these people who build random stuff on their lunch breaks).

And I should be asleep now. The forum/message board I'm working on is over at http://www.sassweb.ca/forum/forum_out.php. Feel free to track its progress and/or leave comments (here or there). I'll warn you though, if you leave comments there you might be ridiculed or otherwise viewed as an invader (:)). At 240 people in the faculty almost everyone knows everyone else... that said, I don't want to discourage you -- there aren't many people posting and it'd be nice to have some variety.

Later,
Eli.