Quote:
Originally Posted by Zachariah
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 ';
}
|
In Hook Location : forumhome_complete
- Edit: Forumhome: Gallery Main, i've found bellow code, not those above. but i removed bellow codes, still same. not working :S
Code:
if ($privatecatids = fetch_private_categories())
{
$privatecatids = explode(',', $privatecatids);
}
if ($vba_options['gallery_homeexcats'])
{
$vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']);
$privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge($privatecatids, $vba_options['gallery_homeexcats']));
}
if (!empty($privatecatids))
{
$privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND ';
}