hmm, i've done that already for me
go to admin/setting.php and create a new setting varname adminstyleid
so you can change that value in vboptions (set default to 0)
then open your normal global.php
and add this:
PHP Code:
if ($adminstyleid!=0 and $bbuserinfo[usergroupid]==6) {
$styleid=$adminstyleid;
unset($style);
}
just before that:
PHP Code:
if (!isset($style)) {
$style=$DB_site->query_first("SELECT templatesetid,replacementsetid,userselect FROM style WHERE styleid='".addslashes($styleid)."' or styleid=1 ORDER BY styleid DESC");
}
//get template set and replacement set details
$templatesetid=$style['templatesetid'];
$replacementsetid=$style['replacementsetid'];