Im using forum blocks and the Sidebar Anywhere from Pops hack. Im trying to display the sidebar on just the album with number 24. And to all usergroups except 17.
VBninja has been helping out but its still not showing. I checked permissions and cant find the reason.
Here's the code so far. I know the output works and if I change the IF to This Script (albums) but then it shows everywhere in the albums.
PHP Code:
$subscriber_usergroupids = array(17);
if(vB::$vbulletin->GPC['albumid'] == 24 AND !is_member_of(vB::$vbulletin->userinfo, $subscriber_usergroupids)){
ob_start();
require_once($_SERVER['DOCUMENT_ROOT'] . "/phpbay/ebay.php");
phpBayAPI("(vallejo,paint)", "18", "2594", "stand,powder", "", true);
$my_output = ob_get_contents();
ob_end_clean();
}
return $my_output;