Does this work on vb2 as well? I just tried it on a 2.3.0 but a test user not in a usergroup in the array could change styles. I would love to have this on vb2. If its a slight difference with the above, please let me know. thanks!
would this work?
in member.php:
PHP Code:
if ($allowchangestyles==1 AND (in_array($bbuserinfo['usergroupid'], array(5, 6, 7))) ) {
$stylesets=$DB_site->query("SELECT * FROM style WHERE userselect=1 ORDER BY title");
if ( !isset($bbuserinfo['realstyleid']) ) {
$bbuserinfo['realstyleid'] = $bbuserinfo['styleid'];
}