Announcement

Collapse
No announcement yet.

Changing text direction in plugin - PROBLEM...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Changing text direction in plugin - PROBLEM...

    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:
    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;
    }
    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????!!!!....
    vBulletin Enterprise Translator (vBET) - your forum in 52 languages!

  • #2
    have some progres here and I think I found solution.
    vBulletin Enterprise Translator (vBET) - your forum in 52 languages!

    Comment

    Related Topics

    Collapse

    Working...
    X