I had a whole section about civic pride.

Mayor ,'Chosen'


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


§ ita § - Oct 28, 2002 3:23:28 pm PST #1002 of 10000
Well not canonically, no, but this is transformative fiction.

Not yet.


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.