SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: jamz on May 31, 2009, 01:25:40 PM

Title: Lastest Inline Images
Post by: jamz on May 31, 2009, 01:25:40 PM
Hi,

I have seen a similar block code for atttachements, but
 I don't use attachments in my SMF  forum. Howerver I do allow BBCode IMG / URL tags.

I'm thinking of parsing the mySQL DB- smf_messages table (body) for [URL  xxx.JPG /URL] BBcode/Tag and displaying the image in a "Recent  Images " block.

Sound fesiable? or would this be an SMF Mod?


Jamz
Title: Re: Lastest Inline Images
Post by: Nathaniel on May 31, 2009, 05:27:34 PM
It sounds feasible, but parsing even a few posts could slow down your load time by a bit. It could be implemented as a mod or block for SMF/SP. You should be able to do it with a normal PHP block.

I'll have a look at it when I get some more free time. ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal