The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
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 ? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|