bump,
noone that can help me here?
I think I should be able to rewrite the code in the global.php file but if have no idea how
// ################################################## ###########################
// ######################## START TEMPLATES & STYLES ###########################
// ################################################## ###########################
$userselect = false;
// is style in the forum/thread set?
if ($codestyleid)
{
// style specified by forum
$styleid = $codestyleid;
$vbulletin->userinfo['styleid'] = $styleid;
$userselect = true;
}
else if ($vbulletin->userinfo['styleid'] > 0 AND ($vbulletin->options['allowchangestyles'] == 1 OR ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])))
{
// style specified in user profile
$styleid = $vbulletin->userinfo['styleid'];
}
else
{
// no style specified - use default
$styleid = $vbulletin->options['styleid'];
$vbulletin->userinfo['styleid'] = $styleid;
what i want to obtain is that if a user had selected a certain language his default styleid = 6
any one able to help me ?
|