Mod Name / Version - Image Gallery v1.0
Description - Turns a selected forum into a picture gallery allowing permitted groups to post and comment on uploaded images. Uses existing attachment features and file size limits.
Example -
http://www.newoutriders.org/ubbtest/postlist.php?Cat=&Board=gallery Pre-requisites - none
Author - Aglavalin, aka Steve Stout
Files Altered - showflat.php, showflat.tmpl, showthreaded.php, showthreaded.tmpl
Database Altered - no
New Files - none
Note: Use group permissions on forum(s) to determine who can post.
Any other info - this is a simple hack
Here is my first real hack. It turns a forum into a basic image gallery which could be pulled into an IIP page very easily. It allows users to comment on the images as well. This took me a few days to figure out, and it seems to be working fine. The only thing I could not figure out was how to check if the attachment was an image before displaying it. Perhaps someone could clue me in on how to do this?