You're like my fairy godmother, and Santa Claus, and Q all wrapped up into one! Q from Bond, not Star Trek.

Buffy ,'Help'


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


tommyrot - Jun 08, 2004 4:11:26 pm PDT #7919 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

No one post in the test board, please. I'm changing code so....


tommyrot - Jun 08, 2004 5:26:32 pm PDT #7920 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

OK, I fixed a bunch of stuff. I'm going to exercise for a bit.

Can somebody(s) go to BBaBB on the test system, see what I did, and remind me what else needs to be done?


DCJensen - Jun 09, 2004 3:57:19 pm PDT #7921 of 10000
All is well that ends in pizza.

I'd like to help out, but I never got the confirmation email.


DXMachina - Jun 09, 2004 4:10:43 pm PDT #7922 of 10000
You always do this. We get tipsy, and you take advantage of my love of the scientific method.

Daniel, I just sent it again, and activated the account. Let me know if you don't get it.


tommyrot - Jun 09, 2004 4:16:35 pm PDT #7923 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Maybe Daniel originally registered back when the confirmation email didn't have a "from" address? (which caused some spam filters to reject it)

Huh--I just noticed that nothing is in the user_timestamp field. Is this being used? Maybe the MySQL version this field defaults to Now()?


§ ita § - Jun 09, 2004 4:38:16 pm PDT #7924 of 10000
Well not canonically, no, but this is transformative fiction.

You can check out the table structures using the MySQL command line utility, tommyrot -- there are definitely defaults and restrictions therein.


tommyrot - Jun 09, 2004 4:44:22 pm PDT #7925 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Yeah, but I'm being lazy....

OK, at some point I'll have to check all the MySQL tables for defaults, as I think I missed another default for the bookmarks table.


tommyrot - Jun 09, 2004 4:57:10 pm PDT #7926 of 10000
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I fixed "e-mail Admins"

Now I'm confused as to how the original code works....

On the email form (php code), there is a line:

<input type="radio" name="replyto" value="<? echo "$_user->name <$_user->email>" ?>" checked>

edit: the value of the field becomes something like: user_name <user@usersisp.com>

If I change the value to just be the user's email (without the < and >) then it works. The way it was before, the code was seeing the value as just the user name, which it was rejecting as not being a valid email address.


Jon B. - Jun 09, 2004 5:21:06 pm PDT #7927 of 10000
A turkey in every toilet -- only in America!

If I change the value to just be the user's email (without the < and >) then it works. The way it was before, the code was seeing the value as just the user name, which it was rejecting as not being a valid email address.

I have a vague memory of having that problem when I set up the first voting page. I based some of the code on the Email an Admin page. There's a subroutine that checks for valid email addresses and it was checking on the whole user_name <user@usersisp.com> thingie. On the voting page, I changed the code so that it only validated the email address part.

I meant to send a note to ita about fixing the Email an Admin page but I must have forgotten.


§ ita § - Jun 09, 2004 5:46:33 pm PDT #7928 of 10000
Well not canonically, no, but this is transformative fiction.

Unfortunately I don't have the brain cells to easily debug the regular expression in the check -- I think that it may have been a particular character legal in the username that was throwing it off.

Because it doesn't always fail, does it? Have we had that big a bug this whole time?