Hi StarBuG,
thank you for answering that fast. It somehow does not work , yet.

I would like adsense not to show up for moderators (usergroup: 7) & admins (6). You could also say that I only want registered users who belong to
usergroup 2 should see adsense.
I have tried to add
"AND $bbuserinfo['usergroupid'] == 'X'' at he begining of the code. But the beginning of your code is for guests, right? The problem is that I want logged in moderators & admins not to see adsense.
I also tried to use:
Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND (!$show[member]) AND $bbuserinfo['usergroupid'] == '1'">
...within the second part, but either all logged in users see adsense or all logged in users don't see adsense!?