log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Will we see 5.30 released at Wakefield show? (News:)
- Prizes for Wakefield Show announced (News:)
- Heretic update from R-Comp (News:)
- Wakefield Show 2024 is next Saturday (News:)
- Git client updated to 0.07 (News:2)
- Archive Edition 27:1 reviewed (News:)
- Rougol April 2024 meeting on monday is Anniversary time (News:1)
- WROCC April 2024 meeting o...changes to our phone lines (News:1)
- April developer 'fireside' chat is on saturday night (News:)
- March 2024 News Summary (News:4)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Site Comments: Forum hack for today
 
  Forum hack for today
  rich (13:26 21/7/2006)
  Phlamethrower (14:07 21/7/2006)
    Phlamethrower (14:08 21/7/2006)
    rich (14:08 21/7/2006)
  rich (13:18 25/7/2006)
    ilcook (18:17 25/7/2006)
    rich (09:58 26/7/2006)
      rich (16:06 26/7/2006)
 
Richard Goodwin Message #77944, posted by rich at 13:26, 21/7/2006
Rich
Dictator for life
Posts: 6827
* 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).
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #77945, posted by Phlamethrower at 14:07, 21/7/2006, in reply to message #77944
PhlamethrowerHot 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 :o
  ^[ Log in to reply ]
 
Jeffrey Lee Message #77946, posted by Phlamethrower at 14:08, 21/7/2006, in reply to message #77945
PhlamethrowerHot 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 14:08, 21/7/2006, in reply to message #77945
Rich
Dictator for life
Posts: 6827
Is this why all the text is now center aligned :o
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Richard Goodwin Message #78121, posted by rich at 13:18, 25/7/2006, in reply to message #77944
Rich
Dictator for life
Posts: 6827
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Ian Cook Message #78129, posted by ilcook at 18:17, 25/7/2006, in reply to message #78121
trainResident idiot
Posts: 1075
I've also added a new field to the attachment database to let it be used for other things.
I wonder what? :naughty:
  ^[ Log in to reply ]
 
Richard Goodwin Message #78167, posted by rich at 09:58, 26/7/2006, in reply to message #78121
Rich
Dictator for life
Posts: 6827
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Richard Goodwin Message #78175, posted by rich at 16:06, 26/7/2006, in reply to message #78167
Rich
Dictator for life
Posts: 6827
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 

The Icon Bar: Site Comments: Forum hack for today