|
Forum hack for today |
|
rich (12:26 21/7/2006) Phlamethrower (13:07 21/7/2006) Phlamethrower (13:08 21/7/2006) rich (13:08 21/7/2006) rich (12:18 25/7/2006) ilcook (17:17 25/7/2006) rich (08:58 26/7/2006) rich (15:06 26/7/2006)
|
|
Richard Goodwin |
Message #77944, posted by rich at 12:26, 21/7/2006 |
Dictator for life
Posts: 6828
|
* Fixed IE's inability to show PNGs with transparency - e.g. my avatar
The JS involved buggered up the template editor, so it's included as a separate file if you're using IE 5 or 6 (but not 7). ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #77945, posted by Phlamethrower at 13:07, 21/7/2006, in reply to message #77944 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Is this why all the text is now center aligned |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #77946, posted by Phlamethrower at 13:08, 21/7/2006, in reply to message #77945 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
And as if by magic, it's fixed now |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #77947, posted by rich at 13:08, 21/7/2006, in reply to message #77945 |
Dictator for life
Posts: 6828
|
Is this why all the text is now center aligned I was checking the code for HTML errors with the Firefox HTMLTidy extension and decided to add a Doctype tag. Which for some strange reason made all the text small and centred! Removing it again "fixed" that. Quirks mode will have to do.
Actually, there are a number of warnings, but no real errors. So you could say I was trying to make the forum work properly, or you could say I was fiddling for the sake of it. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #78121, posted by rich at 12:18, 25/7/2006, in reply to message #77944 |
Dictator for life
Posts: 6828
|
Fix for today: if a user's message was blocked due to the blacklist, and it had an attachment, the attachment didn't get blocked. Now it does.
I've also added a new field to the attachment database to let it be used for other things. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Ian Cook |
Message #78129, posted by ilcook at 17:17, 25/7/2006, in reply to message #78121 |
Resident idiot
Posts: 1077
|
I've also added a new field to the attachment database to let it be used for other things. I wonder what? |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #78167, posted by rich at 08:58, 26/7/2006, in reply to message #78121 |
Dictator for life
Posts: 6828
|
Moved attachment form (for both attachments and avatar upload) to Smarty template, rather than a nasty function to print it.
Most of the rest of the Avatar stuff is still hard-coded, mind you. But it's only used once. And I'm still learning Smarty.
Edit: also fixed time on some news feeds (RSS2 IIRC). Apparently Google Reader remembers old articles that aren't in the current feed, and the server announcement from this weekend past had a standard 1970 screwed up date. This is 'cos I changed all the feeds to use a single chunk of database lookup code, and introduced two dates (created and modified) so that Atom etc. had better date handling, but didn't add the mod date to the (text file generated) announcement. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #78175, posted by rich at 15:06, 26/7/2006, in reply to message #78167 |
Dictator for life
Posts: 6828
|
Another hack today (must be bored!)...
Security upgrade to forum post page. Not specified here because that would be giving the game away, but should reduce the number of people trying to spam the forums, over time. Regular folks shouldn't see any difference, but I'm posting so any errors that pop up can be... well, not posted here obviously, you'll have to email me. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
|