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.
Matokeo 1 kwa 10 ya 10

Thread: jQuery upakiaji kwa watumiaji unnecessarily

  1. #1
    Senior Member
    Join Date
    Desemba 2009
    Posts
    276

    Default jQuery upakiaji kwa watumiaji unnecessarily

    mpya mwongozo tafsiri Kipengele mizigo jQuery kwa mtumiaji kila kusababisha data zangu mgao kwenda juu kuhusu 1.75GB siku!

    Tafadhali kuongeza kazi kwa tu mzigo jQuery kwa watumiaji kwamba ruhusa ya kuingia tafsiri mwongozo.

    Mimi aliingia hii kama mdudu kwa sababu si kweli ombi kipengele, lakini njia ya mambo lazima.

  2. #2
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Wewe ni haki. Mimi asante kwa mawazo yako.

  3. #3
    Senior Member
    Join Date
    Desemba 2009
    Posts
    276

    Default

    Tafadhali napenda kujua kama kuna fix mwongozo kwa ajili ya hii katika huo huo.

  4. #4
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Quick fix kwa suala hilo ni:
    1. Open faili ni pamoja na / vbenterprisetranslator_functions_hooks.php
    2. Kupata code:
      PHP Code:
      $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;

    3. Badala yake kwa code:
      PHP Code:
      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;
      }


    Hii lazima kutatua suala hilo. Tutakuwa kuongeza hii fix katika kutolewa ijayo.
    Ilihaririwa mwisho na Marcin Kalak; 25-10-12 katika 15:52.

  5. #5
    Senior Member
    Join Date
    Desemba 2009
    Posts
    276

    Default

    Shukrani! Nashukuru hivyo!

  6. #6
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Mimi nina furaha inaweza kukusaidia.

  7. #7
    Senior Member
    Join Date
    Desemba 2009
    Posts
    276

    Default

    kweli, hii ni kuzalisha hitilafu:
    PHP Fatal hitilafu: Wito vbet_canEditCache undefined kazi () katika / nyumbani / tovuti / public_html / inajumuisha / vbenterprisetranslator_functions_hooks.php kwenye mstari 685

  8. #8
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Kuongeza tu kabla code hariri:
    PHP Code:
    require_once(DIR'/includes/vbenterprisetranslator_functions_utils.php'); 
    Mimi kuongeza msimbo huu kurekebisha haraka.
    Ilihaririwa mwisho na Marcin Kalak; 25-10-12 katika 15:57.

  9. #9
    Senior Member
    Join Date
    Desemba 2009
    Posts
    276

    Default

    Shukrani kwa majibu ya haraka!

  10. #10
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Mimi nina furaha inaweza kukusaidia.

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
  •