Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: content inside code php bbcodes should not be translated

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default content inside code php bbcodes should not be translated

    Guys,

    I have some problems with content inside bbcodes php and code

    same examples

    PHP Code:
    <?
    $diary_directory 
    = opendir(".");
      while(
    $filename = readdir($diary_directory))
    {
        
    $filesplit = explode(".", $filename);
        
    $check_filename = $filesplit[0];
           if(
    ereg("[0-9]{6}", $check_filename))
          {
             
    $check_filename .= ".$filesplit[1]";
             
    $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for(
    $index = 0; $index < count($valid_filename); $index++)
    {
      print(
    "$valid_filename[$index]<br>");
    }
    ?>


    Code:
    <?
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    $diary_directory  = opendir(".");
      while($filename = readdir($diary_directory))
     {
        $filesplit  = explode(".", $filename);
        $check_filename = $filesplit[0];
           if(ereg("[0-9]{6}", $check_filename))
          {
             $check_filename  .= ".$filesplit[1]";
             $valid_filename[] = $check_filename;
          }
      }
    closedir($diary_directory);
    for($index = 0; $index < count($valid_filename); $index++)
    {
      print("$valid_filename[$index]<br>");
    }
    ?>
    in native language is working perfectly but in other languages is crashing and translating this content that should not be translated.
    Last edited by magmf; 30-05-10 at 18:04.

  2. #2

    Default

    stange this bug should be only happening on vbulletin 4 because here is not happening. anyone can help me ?

  3. #3

    Default

    just confirmed

    native language teste do vbet

    spanish Prueba Vbeta


    so looks like this is happening only on vb4 versions

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    what about your settings in admincp?

    which option you have set id vBET-> google -> Google Language Detection?

  5. #5

    Default

    Always trust user

  6. #6

    Default

    but what google language detection has with content inside bbcode php and code ?

    Keep in mind here on vbet 3.3.3 and vbulletin 3.8.5 is working fine but not in my website as you saw in links above

  7. #7
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    so, try to set Trust "Google when result is trust worthy" and "Google Language Detection Confidence" level on 0.1.

    and see what happens. If it's not we will try to find a solution.

  8. #8

    Default

    nothing changed for me

  9. #9

    Default

    dont you a lab to test this problem ?

  10. #10
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Ok, We will try to reproduce the problem

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •