This hack is an add-on to a gallery made by PhotoPost.com called vBGallery.
- This is not a gallery, but a way to display the images from the gallery to your forums.
1.7
- Install w/ product in 1 file.
- AdminCP options to change the hack settings
- Added: Parts of the gallery's Nav bar w/ dropdowns
(My Stuff*, What's New, What's Popular,Search) to the hack with on/off option.
* My Stuff will not be seen if you are a guest.
1.6
- Added: If the gallery is off or disabled the hack not show up.
- Added: templates to support the hack vs. gallery templates
(allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
For unregistered users, the Image Gallery shows up empty, but once I log in it works fine.
I checked my gallery and unregistered users can view thumbnails and previews just fine. I checked my module/gallery permissions and all of them are set correctly.
Any help on this would be appreciated.
Edit:
I did more digging and logged on as another user. Apparently, the thumbnails show up only when I have a user assigned to a user group:
For those who are not assigned to any groups or for unregistered users, no thumbnails show.
I know this works w/ guests and usergroups. I do not know about access w/ sub-groups. I have not tested.
Apparently the $getrand query in gallery_random.php is returning an empty result set because the category exclusion clause ($privatids) has all my categories listed. I set $privcatids to empty for now so that the thumbnails show for everyone.
I wasn't seeing a thing. A bit of grubbing around and I comented out this:
Code:
// Get a list of categories to be EXCLUDED from our query
//if ($privatecatids = fetch_private_categories())
//{
// $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}
I wasn't seeing a thing. A bit of grubbing around and I comented out this:
Code:
// Get a list of categories to be EXCLUDED from our query
//if ($privatecatids = fetch_private_categories())
//{
// $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}
Bingo, all working. Any ideas why?
Same exact problem I'm having. $privcatids returns every category and I have which means nothing shows up. I'm still hoping for a fix.
Warning: main(./includes/class_bbcode.php): failed to open stream: No such file or directory in /modules/gallery_random.php on line 121
Fatal error: main(): Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/local/lib/php') in /home/shinraon/domains/shinraonline.com/public_html/board/modules/gallery_random.php on line 121