Ok Twig.
Instead of
PHP Code:
$timeoutsecondswhois = 260000;
$timestampwhois = time();
$timeoutwhois = $timestampwhois-$timeoutsecondswhois;
$DB_site->query("INSERT INTO threadwhois SET timestamp='$timestampwhois',threadid='$thread[threadid]',threadname='".addslashes($thread[title])."',username='".addslashes($bbuserinfo[username])."', ip='$REMOTE_ADDR'");
$DB_site->query("DELETE FROM threadwhois WHERE timestamp<$timeoutwhois");
use
PHP Code:
if ($bbuserinfo[usergroupid]==XX) {
$timeoutsecondswhois = 260000;
$timestampwhois = time();
$timeoutwhois = $timestampwhois-$timeoutsecondswhois;
$DB_site->query("INSERT INTO threadwhois SET timestamp='$timestampwhois',threadid='$thread[threadid]',threadname='".addslashes($thread[title])."',username='".addslashes($bbuserinfo[username])."', ip='$REMOTE_ADDR'");
$DB_site->query("DELETE FROM threadwhois WHERE timestamp<$timeoutwhois");
}
Make the XX the number of the group id you want to have use this.