Change:
HTML Code:
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span> </div>
</if>
To:
HTML Code:
<if condition="$show['lastactivity'] AND ($bbuserinfo[usergroup]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7)">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span> </div>
</if>