Quote:
Originally Posted by soulface
Don't know why.. but its not working on my forum (vb3.5.3 with photopost vbgallery 1.0.1). there is old hack for vBa Gallery which is still working even i updated to photopost vbgallery, but this hack not working :/
|
For now
Try:
Hook Location : forumhome_complete
- Edit: Forumhome: Gallery Main
- Remove.
Code:
if ($privatecatids = fetch_private_categories())
{
$privatecatids = explode(',', $privatecatids);
}
if ($vba_options['gallery_homeexcats'])
{
$vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']);
if(empty($privatecatids))
{
$privatecatids = $vba_options['gallery_homeexcats'];
}
else
{
$privatecatids = array_merge($privatecatids, $vba_options['gallery_homeexcats']);
}
}
if (!empty($privatecatids))
{
$privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND ';
}