Y'all see the man hanging out of the spaceship with the really big gun? Now I'm not saying you weren't easy to find. It was kinda out of our way, and he didn't want to come in the first place. Man's lookin' to kill some folk. So really it's his will y'all should worry about thwarting.

Mal ,'Safe'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


Jon B. - Oct 28, 2002 7:37:51 pm PST #1003 of 10000
A turkey in every toilet -- only in America!

No! What I meant to say was Jon, how do you code the box to accept no more than 255 characters?

I did a little research and I don't think it's possible with a textarea (multiline text) field. On a single line input text field you can set a "maxlength" parameter, but it doesn't work on the multi-line version. We could switch the field to a single line, but then you get that thing where the text scrolls off the right and/or left edges of the box and the only way to see it is to put your curser in the field and use the arrow keys or the home or end key - I've always found that very annoying.

I think all we can do is include a warning like "Warning: 255 character maximum length. Longer taglines will be cropped mercilessly."


§ ita § - Oct 28, 2002 8:24:06 pm PST #1004 of 10000
Well not canonically, no, but this is transformative fiction.

Grr. I hate counting my own characters.


Rob - Oct 28, 2002 8:31:58 pm PST #1005 of 10000

Is this board a javascript-free zone? If not, I bet you could do it with javascript.


§ ita § - Oct 28, 2002 8:33:48 pm PST #1006 of 10000
Well not canonically, no, but this is transformative fiction.

Yup, JS free. And not just because we have lynx users. Actually, no. There is JS to put your cursor in the name field on the login screen.

Jon, can you just tell me how you'd style and position the warning?


Jon B. - Oct 28, 2002 8:34:19 pm PST #1007 of 10000
A turkey in every toilet -- only in America!

You could code an error message that appears if it's too long...


§ ita § - Oct 28, 2002 8:35:00 pm PST #1008 of 10000
Well not canonically, no, but this is transformative fiction.

You could code an error message that appears if it's too long...

Yeah. I was just trying to minimize processing on the server side, but if we can't handle it HTML, then that's what I'll do.


Jon B. - Oct 28, 2002 8:35:17 pm PST #1009 of 10000
A turkey in every toilet -- only in America!

Jon, can you just tell me how you'd style and position the warning?

Sure... gimme a few minutes.


billytea - Oct 28, 2002 8:46:15 pm PST #1010 of 10000
You were a wrong baby who grew up wrong. The wrong kind of wrong. It's better you hear it from a friend.

I don't know if this helps at all, but the People bulletin boards feature handles that are limited to only 50 characters. I don't know if their approach could be made to work here; the relevant code is, I think:

[input name="handle" type=text size=30 maxlength=50 value="Find your Higher Power. (Mine's laying on a chaise longue, smoking pot.) Bad Higher Power!!"]

Change square brackets to pointy ones, of course.

I don't know if this is feasible for the Phoenix board; I'm presuming some of the setup is different. But I thought I'd mention it.


Jon B. - Oct 28, 2002 8:59:52 pm PST #1011 of 10000
A turkey in every toilet -- only in America!

Billytea, see my post above: Jon B "Buffistas Building a Better Board" Oct 28, 2002 9:37:51 pm EST

ita - I updated editprofile.php in test to include a warning. While I was at it, I added classes to the messages at the top of the page, right below the blood-colored bar. Should make the error messages stand out more.


billytea - Oct 28, 2002 9:20:16 pm PST #1012 of 10000
You were a wrong baby who grew up wrong. The wrong kind of wrong. It's better you hear it from a friend.

Billytea, see my post above:

Ok. I don't find the scroll thing so annoying, myself; after all, it's only an issue when changing taglines. It seems to me that having to count your own taglines, or having administrators check tagline liength, would be more annoying.

It may be more of an issue that the code on the People site? I regularly had taglines over 50 characters (under 255, though; I had my own ideas about what was reasonable). It's possible to get around it if you want. (Don't know if that'd be the case here, or if there's a simple fix.)