Muhimu: Ukurasa Hii ni kwa kutumia cookies (cookies). Kutumia tovuti hii bila kugeuka mbali kuki kwenye kivinjari, ina maana kwamba unakubali kwa kutumia hiyo.
Buy Now! Features Downloads

Kupata na sisi!

Kama ungependa kuanza kupata fedha kwa vBET kujiunga na Affiliate Program.
Ukurasa 3 ya 3 FirstKwanza 123
Matokeo 21 kwa 24 ya 24

Thread: vBET 4.2.1 haina kutafsiri vBSEO ujumbe Javascript

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

    Default

    Nami kuangalia ni

  2. #22
    Wanachama
    Join Date
    Machi 2010
    Posts
    55

    Default

    habari yoyote?

  3. #23
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    Mei 2010
    Posts
    1,000

    Default

    wewe ni haki - hii ni pamoja na katika toleo hili - I haja ya kutafuta kwa nini.

  4. #24
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oktoba 2009
    Posts
    3,037

    Default

    Hakika bug akaja nyuma, lakini sisi kupatikana ufumbuzi - itakuwa ni pamoja na katika taarifa ijayo.

    Kwa ajili ya kurekebisha Quicke tafadhali:
    1. Open file / inajumuisha vbenterprisetranslator_functions /
    2. Kupata kazi vbet_addScriptToTable:
    Code:
    function vbet_addScriptToTable($what) {
    global $vbulletin;
    if ($vbulletin->options['vbenterprisetranslator_vbseo_message'] && strpos($what[1], 'vbseo_jshtml[0]')) {
    $scriptIndex = 0;
    $position = 0;
    $prevPosition = 0;
    $scriptBuffer = '';
    $script = $what[1];
    $forumLanguage = $vbulletin->options['vbenterprisetranslator_forumlanguage'];
    global $vbet_serie;
    while (true) {
    $position = strpos($script, 'vbseo_jshtml['.$scriptIndex.']', $prevPosition);
    if (!$position) {
    break;
    }
    $position = strpos($script, '<table', $position);
    $end = strpos($script, '</table>', $position);
    $toTranslate = substr($script, $position, $end + strlen('</table>') - $position);
    $scriptBuffer .= substr($script, $prevPosition, $position).vbet_translateHTMLFromTo($toTranslate, $forumLanguage, $_REQUEST['language'], $vbet_serie);	
    ++$scriptIndex;
    $prevPosition = $end + strlen('</table>');
    }	
    $what[1] = $scriptBuffer.substr($script, $prevPosition);
    } else {
    $what[1] = vbet_getReEncoded($what[1]);
    }			
    return vbet_addToReplacementsBuffer($what);
    }
    3. Badala yake kwa:
    Code:
    function vbet_addScriptToTable($what) {
    global $vbulletin;
    if ($vbulletin->options['vbenterprisetranslator_vbseo_message'] && strpos($what[1], 'vbseo_jshtml[0]')) {
    $scriptIndex = 0;
    $position = 0;
    $prevPosition = 0;
    $scriptBuffer = '';
    $script = $what[1];
    $forumLanguage = $vbulletin->options['vbenterprisetranslator_forumlanguage'];
    global $vbet_serie;
    while (true) {
    $position = strpos($script, 'vbseo_jshtml['.$scriptIndex.']', $prevPosition);
    if (!$position) {
    break;
    }
    $position = strpos($script, '<ol>', $position);
    $end = strpos($script, '</ol>', $position);
    $toTranslate = substr($script, $position, $end + strlen('</ol>') - $position);
    $scriptBuffer .= substr($script, $prevPosition, $position).vbet_translateHTMLFromTo($toTranslate, $forumLanguage, $_REQUEST['language'], $vbet_serie);
    ++$scriptIndex;
    $prevPosition = $end + strlen('</ol>');
    }
    $what[1] = $scriptBuffer.substr($script, $prevPosition);
    } else {
    $what[1] = vbet_getReEncoded($what[1]);
    }
    return vbet_addToReplacementsBufferNoReencode($what);
    }
    function vbet_addToReplacementsBufferNoReencode($what) {
    global $vbet_replacementsBuffer;
    $vbet_replacementsBuffer[] = $what[1];
    return '<vbet'.(count($vbet_replacementsBuffer)-1).'/>';
    }
    Ilihaririwa mwisho na vBET; 24-05-11 katika 16:35.

Ukurasa 3 ya 3 FirstKwanza 123

Tags kwa Thread hii

Posting ruhusa

  • Wewe inaweza baada ya nyuzi mpya
  • Wewe inaweza post replies
  • Wewe inaweza post attachments
  • Wewe inaweza hariri posts yako
  •