cuteseal wrote:

Hi all,

If you're using this script, I found a beautiful little script which you can drop into the image directory, and it'll let you browse the images.  Just change the title in the script.

I've modified it slightly so that (1) it has paging (2) displays images in descending date order.

http://www.shuttertalk.com/fotopholder.zip

Demo here: http://www.shuttertalk.com/forums/image … /index.php

I rather like that script so I've modified your script some smile If I can figure out how, I'm hoping to eventually build a more complete mod of it (that is, after i've studied some more PHP tongue).

What I've done with it so far (only worked on it for a day):
- XHTML 1.0 Strict valid code.
- Uses your currently selected PunBB CSS Stylesheet.
- PunBB header + nav bar.

Yeah I know it's not much, but I'm hoping to add more things as I've learnt a little more about PHP wink

[Download] [Demo]

*Note: For everything to work, there are 2 things that's important:
1. The folder you're using needs to be a subdirectory of your forum folder (e.g: <forum_directory>/gallery/)
2. The nav bar needs to use relative paths, else some of the links won't work while browsing the gallery.

Just registered here after testing PunBB for the first time...and I love it! smile

I ran into a slight problem installing this mod, but after a little troubleshooting I figured it out. Just thought I'd post in this topic in case someone ran into the same problem. It seems as if there are a little error in the documentation (or perhaps it only occurs on my server?). In any case, here it is.

When editing the "search.php" file, when you reach this point....

#
#---------[ 47. FIND ]-----------------------------------------------
#

// If a valid search_id was supplied we attempt to fetch the search results from the db


#
#---------[ 48. BEFORE, ADD ]-------------------------------------------------
#

if ($forum_list[$i][3] != '0') {
            $group_forums[$i] = $forum_list[$i][0];    // $group_forums contains the ID's of group only forums
                $groups[$i] = $forum_list[$i][3];
                 }

 }


#

It seems like there's one } to many. I just removed the last one, and now everything's working just fine smile