O, IC. If we took that quote out completely, would some other quote show up as much? Maybe the randomizer is broken or something.
So there's only the one quote database, then? I guess it wasn't feasible to make separate db's for Angel and Buffy quotes, plus the code would have to be different for the B/A thread pages.
If we took that quote out completely, would some other quote show up as much? Maybe the randomizer is broken or something.
Yes -- it's whichever quote is first in the list. (It used to be "It's all about the coat.")
We could hack it to look for a different quote if it came up with that one.
Slllllllllllllllllllllllllllllllumbernut.
...Ok, maybe a bit tacky for this thread. 0s tend to impair my judgment.
I guess it wasn't feasible to make separate db's for Angel and Buffy quotes, plus the code would have to be different for the B/A thread pages.
There's no need to make separate db's, since there's a column that tells which show the quote is from.
Why did you want them to be separate, again?
Why did you want them to be separate, again?
'Cause there are people who watch Buffy but not Angel, and the Angel quotes just confuse and spoil them (in case they ever did want to watch in the future). I dunno, maybe it's stupid.
How does the quotes thing work anyway? Does it generate a random number and look up for that quote in the "quotes" table? In that case, I'm very surprised that it returns "1" so frequently.
Signed, codes PHP for a living, hasn't done a damn thing in the whole day.
The quotes are from previous seasons. I don't think there's anything later than Season Five and Season Two.
'Cause there are people who watch Buffy but not Angel, and the Angel quotes just confuse and spoil them (in case they ever did want to watch in the future). I dunno, maybe it's stupid.
The quotes aren't spoilery, though -- they stop at S3 Angel and S6 Buffy, if that. For the UnAmericans among us.
Paul, it's randomised by MYSQL -- ORDER RANDOM LIMIT 1
. I campaigned against moving the randomising into PHP, because I thought it would be too much of a performance hit for just a frill.