You spent a lot of time coding this hack, so I wanted to take the time to thank you for all your hard work. This block works great, and I finf it the single most important block on my site. It pulls visitors into the gallery and is very important.
I do have one quesiton though. I followed this as I understood it:
PHP Code:
// If you HASH out "$catlimit" images will pull from all categories.
// Useage: $catlimit = 3,5,10,30,70;
// $catlimit = 3;
But when I tried to add another "gallery ID" to "
$catlimit = 3,7;" (for example) , I got the following error code dipsplayed on the browser:
PHP Code:
Parse error: parse error, unexpected ',' in /hsphere/local/home/mysite.net/vb3/modules/gallery_random.php on line 6
Thanks again for the wonderful code.