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
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- RISCOSbits releases a new laptop solution (News:4)
- Announcing the TIB 2024 Advent Calendar (News:2)
- RISC OS London Show Report 2024 (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
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 (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
Rich
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).
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #77945, posted by Phlamethrower at 13: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 13: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 13:08, 21/7/2006, in reply to message #77945
Rich
Dictator for life
Posts: 6828
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 12:18, 25/7/2006, in reply to message #77944
Rich
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Ian Cook Message #78129, posted by ilcook at 17:17, 25/7/2006, in reply to message #78121
trainResident 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? :naughty:
  ^[ Log in to reply ]
 
Richard Goodwin Message #78167, posted by rich at 08:58, 26/7/2006, in reply to message #78121
Rich
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 
Richard Goodwin Message #78175, posted by rich at 15:06, 26/7/2006, in reply to message #78167
Rich
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.
________
RichGCheers,
Rich.
  ^[ Log in to reply ]
 

The Icon Bar: Site Comments: Forum hack for today