Log in

View Full Version : can i handle a specific attachment differently?


sde
01-11-2007, 05:20 AM
to keep it simple, let's say i add a "log" extension to my attachments list.

when a user attache a .log file, i want to use PHP to parse the log and present it neatly inline.

i have all the PHP code written to handle the logs.. i just need to hook into the attachment like vbulletin does for images.

any insight or pointing me in the right direction would be much appreciated.

Ntfu2
01-11-2007, 07:03 AM
someone just released a mod that parses the contents of .nzb files, maybe that will be of some help to you

sde
01-11-2007, 08:33 PM
Thanks Ntfu2, .. I was able to write what I wanted by seeing how he did it. I really appreciate the response.