strange problem after upgrade to 3.6.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • waelaase
    New Member
    • Jan 2006
    • 19

    strange problem after upgrade to 3.6.3

    i have upgraded yesterday to version 3.6.3
    the main language for the forum is arabic
    it was working ok with 3.6.2
    but since upgrade it usually to find letters not right
    it replace letters like replace "م" with "و"
    and others
    is there any solution and if not how to downgrade to 3.6.2
    thx
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    An upgrade does not normally affect the language, so I don't know why thing changed for you.

    There is no "downgrade" option. If you want to revert to 3.6.2 you will need to restore a backup from before the upgrade.

    Comment

    • fras
      New Member
      • Jan 2002
      • 23

      #3
      i have the same problem

      Comment

      • feldon23
        Senior Member
        • Nov 2001
        • 11291
        • 3.7.x

        #4
        When one or two people say there's a language problem in vB3.6.3, it's probably them. But when it's 10 people...?

        Comment

        • SolidSnake@GTI
          Member
          • Jan 2005
          • 32
          • 3.8.x

          #5
          we have solved the problem ourselves.
          this issue becouse of the new fetch_no_shouting_text function in the functions_newpost.php file.

          when changing the option "prevent shouting" to '0' in admincp we can solve this issue, or when replacing the new function's code with the old code for 3.6.2.

          hope you get it

          Comment

          • SolidSnake@GTI
            Member
            • Jan 2005
            • 32
            • 3.8.x

            #6
            Here it is the code which must be replaced if you need to leave your admincp options as it is & the the function "prevent shouting" still work.

            in the file includes/functions_newpost.php find:
            PHP Code:
            function fetch_no_shouting_text($text)
            {
             
            // stops $text being all UPPER CASE
             
            global $vbulletin;
             
            // we only actually touch a-z with vbstrtolower()
             
            $effective_string preg_replace('#[^a-z0-9\s]#i'''$text);
             if (
            $vbulletin->options['stopshouting'] AND vbstrlen($effective_string) >= $vbulletin->options['stopshouting'] AND $effective_string == strtoupper($effective_string))
             {
              return 
            ucwords(vbstrtolower($text));
             }
             else
             {
              return 
            $text;
             }


            & replace it by:
            PHP Code:
            function fetch_no_shouting_text($text)
            {
             
            // stops $text being all UPPER CASE
             
            global $vbulletin;
             return 
            iif($vbulletin->options['stopshouting'] AND vbstrlen($text) >= $vbulletin->options['stopshouting'] AND $text == strtoupper($text), ucwords(vbstrtolower($text)), $text);

            Comment

            Related Topics

            Collapse

            Working...