Skivey
08-07-2013, 07:19 PM
I seem to have a problem since an upgrade, and ive only just noticed... im pretty sure it was the 4.2.1 upgrade
I have rules in my php that tells my blocks to show something to 1 usergroup and something else to another group... but now it seems that it shows everything the same thing.
Please can someone check I havent done something?
Regards
if(is_member_of(vB::$vbulletin->userinfo,24)){
$my_output='<center><b>Welcome to the Forum</b></center>';
}else{
$my_output='<script type="text/javascript"><!--
google_ad_client = "ca-pub-2764312150803413";
/* sideblock */
google_ad_slot = "1598615235";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>';
}
Matt
I have rules in my php that tells my blocks to show something to 1 usergroup and something else to another group... but now it seems that it shows everything the same thing.
Please can someone check I havent done something?
Regards
if(is_member_of(vB::$vbulletin->userinfo,24)){
$my_output='<center><b>Welcome to the Forum</b></center>';
}else{
$my_output='<script type="text/javascript"><!--
google_ad_client = "ca-pub-2764312150803413";
/* sideblock */
google_ad_slot = "1598615235";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>';
}
Matt