Hi
What I need to do to change text directions from rtl to ltr in plugin?...
Wathever I doo I stil have forumheaded in wrong direction and some other parts too...
Actually I mad changes in global_bootstrap_init_start adding this code:
And according to my logs after this change vBulletin sets values:
LANGUAGE_DIRECTION=ltr
styles values:
direction=ltr
right=right
left=left
But still forum heder is in rtl direction... I mean logo and options are on right side not on left side.
What to do to change direction from rtl to ltr????!!!!....
What I need to do to change text directions from rtl to ltr in plugin?...
Wathever I doo I stil have forumheaded in wrong direction and some other parts too...
Actually I mad changes in global_bootstrap_init_start adding this code:
Code:
$ltr = $vbulletin->userinfo['lang_options'] & $vbulletin->bf_misc_languageoptions['direction']; if ($ltr && $reversed) { // reversed right-to-left layout $vbulletin->bf_misc_languageoptions['direction'] = 0; } else if (!$ltr && !$reversed) { // standard left-to-right layout $vbulletin->userinfo['lang_options'] = 1; $vbulletin->bf_misc_languageoptions['direction'] = 1; }
LANGUAGE_DIRECTION=ltr
styles values:
direction=ltr
right=right
left=left
But still forum heder is in rtl direction... I mean logo and options are on right side not on left side.
What to do to change direction from rtl to ltr????!!!!....
Comment