PDA

View Full Version: Réiteach luchtú jquery d'úsáideoirí gan ghá



tavenger5
16-10-12, 22:04
An lámhleabhar nua aistriúcháin gné ualaí jquery do gach úsáideoir is cúis le mo chuid sonraí leithdháileadh chun dul suas thart ar 1.75GB an lae!

Le do thoil chur le feidhm a luchtú ach amháin jquery d'úsáideoirí a bhfuil cead dul isteach aistriúcháin láimhe.

Tháinig mé seo mar a bug toisc nach bhfuil sé i ndáiríre ar iarraidh gné, ach ar an mbealach ba chóir rudaí a bheith.

Marcin Kalak
17-10-12, 19:15
Tá an ceart agat. Gabhaim buíochas leat as do aire.

tavenger5
18-10-12, 14:22
Cuir in iúl dom má tá a shocrú lámhleabhar seo idir an dá linn.

Marcin Kalak
18-10-12, 22:00
Beidh Thapa shocrú le haghaidh an cheist:

Áirítear comhad Oscailte / vbenterprisetranslator_functions_hooks.php
Aimsigh cód:


$vbet_scriptInclude ='<script type="text/javascript" src="clientscript/vbet/vbet.script.js"></script><script type="text/javascript" src="clientscript/vbet/jquery.min.js"></script>';
if(isset($template_hook['headinclude_javascript']) ){
$template_hook['headinclude_javascript'] .= $vbet_scriptInclude;
}else{
$template_hook['headinclude_javascript'] = $vbet_scriptInclude;
}

Sí a hionad le cód:


require_once(DIR. '/includes/vbenterprisetranslator_functions_utils.php');
global $vbulletin;
if(vbet_canEditCache($vbulletin->userinfo))
{
$vbet_scriptInclude ='<script type="text/javascript" src="clientscript/vbet/vbet.script.js"></script><script type="text/javascript" src="clientscript/vbet/jquery.min.js"></script>';
if(isset($template_hook['headinclude_javascript']) ){
$template_hook['headinclude_javascript'] .= $vbet_scriptInclude;
}else{
$template_hook['headinclude_javascript'] = $vbet_scriptInclude;
}
}


Ba chóir a shocrú ar an tsaincheist. Beidh muid ag cuir seo a shocrú i scaoileadh amach romhainn.

tavenger5
18-10-12, 22:55
Go raibh maith agat! Is mór agam é!

Marcin Kalak
19-10-12, 09:33
Tá áthas orm raibh mé in ann cabhrú leat.

tavenger5
25-10-12, 14:35
i ndáiríre, tá sé seo a tháirgeadh earráid:
PHP Earráid mharfach: Call chun vbet_canEditCache fheidhm neamhshainithe () i / sa bhaile / suíomh / public_html / n-áirítear / vbenterprisetranslator_functions_hooks.php ar líne 685

Marcin Kalak
25-10-12, 15:51
Cuir díreach roimh an cód in eagar:

require_once(DIR. '/includes/vbenterprisetranslator_functions_utils.php');
Mé an cód a chur leis an shocrú mear.

tavenger5
25-10-12, 16:42
Raibh maith agat as an freagra tapa!

Marcin Kalak
25-10-12, 22:29
Tá áthas orm raibh mé in ann cabhrú leat.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages supported by vB Enterprise Translator 4.10.1