Quote:
Originally Posted by MarcoH64
Try:
PHP Code:
$userselect = false;
// is style in the forum/thread set?
if ($codestyleid)
{
// style specified by forum
$styleid = $codestyleid;
$userselect = true;
}
else
{
if ($bbuserinfo['styleid'] > 0 AND ($vboptions['allowchangestyles'] == 1 OR ($bbuserinfo['permissions']['adminpermissions'] & CANCONTROLPANEL)))
{
if ($bbuserinfo['styleid'] == 29 AND $bbuserinfo['usergroupid'] != 7)
{
$styleid = $vboptions['styleid'];
}
else
{
// style specified in user profile
$styleid = $bbuserinfo['styleid'];
}
}
else
{
// no style specified - use default
$styleid = $vboptions['styleid'];
}
}
|
I no longer getting parse error but it doesn't change style ID 29. Moderators (ID number 7) only sees default style. After this even administrators can't see style ID 29.
Many thanks anyway MarcoH64. Any ideas?