hello i have in my bbcode some java script code (it's adsense)
and i woud like to hide this one agains specified user groups
accually i have this code in my costum bbcode: [test.] [./test]
PHP Code:
<table><tr>
<td>{param}<br></td>
<td>
Google adsense ;)
</td>
</tr>
</table>
<br>
when i try to hide the Google adsense by this...
Quote:
<if condition="in_array($bbuserinfo['usergroupid'], array(6))">
Google Adsense 
<else />
other stuff here 
</if>
|
or
Quote:
<if condition="is_member_of($bbuserinfo, 2, 6, 7)">
|
it does't work
of course it works fine when i add up it in my templates
but i need to hide the javascript in bbcode
any ideas how to solve this issue ?
--------------- Added [DATE]1217439502[/DATE] at [TIME]1217439502[/TIME] ---------------
bump