Enpòtan: Paj sa a se lè l sèvi avèk bonbon (cookies). Sèvi ak sit entènèt sa a san yo pa vire sou bonbon nan navigatè, vle di ke ou dakò pou sèvi ak li.
Buy Now! Features Downloads

Gen ak nou!

Si ou ta renmen kòmanse lajan ak are vBET pou salè pou gwo travay Afilye pwogram.
Rezilta 1 10 nan 10

Thread: jquery loading pou itilizatè san nesesite

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

    Default jquery loading pou itilizatè san nesesite

    Nouvo mak manyèl tradiksyon charges jquery pou tout utilisateur qui m' alokasyon done pou al Sur an 1.75 GO yon jou!

    Ajoute yon fonksyon pou chaje ase jquery pou moun ki gen pèmisyon pou rantre nan tradiksyon manyèl.

    Mwen rantre sa a kòm yon n. pinèz paske se vrèman pa yon mak mande, men, jan sa ta dwe.

  2. #2
    Entèdi
    Join Date
    Aug 2012
    Posts
    481

    Default

    Ou gen rezon. Mwen remèsye ou pou koute nou.

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

    Default

    Tanpri, kite m' konnen si genyen yon pran manyèl sa le temps.

  4. #4
    Entèdi
    Join Date
    Aug 2012
    Posts
    481

    Default

    Rapide pral aranje pou kesyon an se:
    1. Open dosye gen ladan / vbenterprisetranslator_functions_hooks.php
    2. Jwenn kòd:
      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. Ranplase l' pou kòd:
      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;
      }


    Sa ta dwe résoudre la question. Nou pral être ajoute pran sa a nan pwochen version.
    Last edited by Marcin Kalak; 25-10-12 nan 15:52.

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

    Default

    Mèsi! Mwen apresye l!

  6. #6
    Entèdi
    Join Date
    Aug 2012
    Posts
    481

    Default

    Mwen kontan mwen te kapab ede ou.

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

    Default

    aktyèlman, sa pwodwi fè san yo pa:
    Erreur mòtèl PHP: rele pou fonksyon endefini vbet_canEditCache() nan /home/site/public_html/includes/vbenterprisetranslator_functions_hooks.php sou liy 685

  8. #8
    Entèdi
    Join Date
    Aug 2012
    Posts
    481

    Default

    Ajoute jis avan kòd edisyon a:
    PHP Code:
    require_once(DIR'/includes/vbenterprisetranslator_functions_utils.php'); 
    Mwen ajoute kòd sa a pou pran kouri a.
    Last edited by Marcin Kalak; 25-10-12 nan 15:57.

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

    Default

    Mèsi pou repons lan rapid!

  10. #10
    Entèdi
    Join Date
    Aug 2012
    Posts
    481

    Default

    Mwen kontan mwen te kapab ede ou.

Tags pou sa a Thread

Posting Permissions

  • Ou Pouvwa pa Post fil nouvo
  • Ou Pouvwa pa Post replies
  • Ou Pouvwa pa Post atachman
  • Ou Pouvwa pa modifye posts ou
  •