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?
Buffy ,'Help'
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
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?
I'd like to help out, but I never got the confirmation email.
Daniel, I just sent it again, and activated the account. Let me know if you don't get it.
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()?
You can check out the table structures using the MySQL command line utility, tommyrot -- there are definitely defaults and restrictions therein.
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.
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.
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.
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?
Have we had that big a bug this whole time?
I think so, yes. At least, I couldn't get it to work.