Tábhachtach: Tá an leathanach seo ag baint úsáide as fianáin (cookies). Ag baint úsáide as an suíomh gréasáin seo gan casadh as fianáin i bhrabhsálaí, ciallaíonn sé go n-aontaíonn tú le haghaidh úsáid a bhaint as é.
Ceannaigh Anois! Gnéithe Íosluchtuithe

Thuilleamh le linn!

Más mian leat chun tús a chur tuilleamh airgid leis an Taisteal páirt a ghlacadh chun Clár Affiliate.
Leathanach 3 de 3 FirstAn Chéad 123
Torthaí 21 go 24 de 24

Snáithe: Ní vBET 4.2.1 aistriú vBSEO teachtaireachtaí Javascript

  1. #21
    foinse cumhachta Fiontar Translator (vBET) Foirne
    Dáta Ballraíochta
    Bealtaine 2010
    Poist
    1,000

    Default

    Déanfaidh mé é a sheiceáil

  2. #22

    Default

    aon nuacht?

  3. #23
    foinse cumhachta Fiontar Translator (vBET) Foirne
    Dáta Ballraíochta
    Bealtaine 2010
    Poist
    1,000

    Default

    Tá ceart agat - nach bhfuil sé seo san áireamh sa leagan seo - is gá dom a fháil cén fáth.

  4. #24
    Michał Podbielski (vBET Foirne) vBET's Avatar
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    Go deimhin, tháinig an fabht ar ais, ach fuair muid réiteach - beidh sé san áireamh i scaoileadh chugainn.

    Chun a shocrú quicke le do thoil:
    1. Oscail comhad áirítear / / vbenterprisetranslator_functions
    2. Faigh fheidhm 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. In ionad dó le:
    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).'/>';
    }
    Last edited by vBET; 24-05-11 ag 16:35.

Leathanach 3 de 3 FirstAn Chéad 123

Clibeanna le haghaidh an Thread

Ríomhphostaithe

  • Leat Is féidir nach snáitheanna post nua
  • Leat Is féidir nach post freagraí
  • Leat Is féidir nach ceangaltán post
  • Leat Is féidir nach in eagar do phoist
  •