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.
Paj 1 nan 2 12 DenyeLast
Rezilta 1 10 nan 11

Thread: VBET pa réécrire descriptions louvri graf

  1. #1
    Manm
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default VBET pa réécrire descriptions louvri graf

    Alo Martin,

    Jwenn yon lòt n. pinèz pou ou. Li gen pou li wè ak sosyal pataje itilize vèsyon sa a. Chak fwa mwen pataje nan yon adrès entènèt traduit opengraph data itilize orijinal kontan nan vèsyon Anglè a.

    Paegzanp adrès entènèt sa a se nan Italyen men baj louvri graf yo retire kò l descriptyion a epi pataje zegui adrès entènèt la Anglè vèsyon pipiti de youn. Truffa Fittizio, modellante Agente Julia Rodi
    Ou gen pou wè sous la pou wè sa mwen vle di. Anba se yon extrait.

    Code:
    <meta property="og:description" content="Hello my name is Julia Rhodes, and am a freelance modeling agent working for female first magazine in recruiting models.Female first Magazine" /><meta property="og:url" content="http://mymodeltalk.com/jobs/modeling-nigerian-419-industry-scams/330355-scam-ficticious-modeling-agent-julia-rhodes.html" /><meta property="og:type" content="article" /><meta property="og:image" content="http://mymodeltalk.com/file/style/mmt/newslettergraphic.jpg" /><meta property="og:title" content="Scam by Ficticious Modeling Agent  Julia Rhodes" />
    Eksepte a "Og t' ap gouvènen, estati kontni", tout bagay fèt pou yo nan Italyen. Jiskapwezan sa dabò tradwi, ni etale dekri teren kòrèk, kote adrès entènèt ak Tit.

    Èske ou gen nenpòt kòd ki te kapab itilize pou ka ranje sa a? Si gen kèk lit fil nan lang natif-natal yo mwen si yo vle pataje sou sosyal medya nan lang natif-natal yo.

    Mwen te jwenn erè sa nan google wèbmastè zouti. li te rapòte en descriptions ak tit liv.

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

    Default Entegrasyon vBET ak louvri graf dekri teren & Tit

    Hi,
    M wè sa ou ap ajoute louvri graf baj ki ap itilize louvri graf dekri teren & Tit ranje sou kanni/Blog. Ou dwe entegre pwodwi sa a ak vBET.
    Pou li entegre pwodwi sa a ak tout vèsyon pipiti de youn de vBET:
    • Edite plugin AdminCP-> Plugins & pwodwi-> Plugin direktè-> dekri teren graf louvri / mozayik Remplacer
    • Pat kòd sa a nan koumansman:
      PHP Code:
      require_once(DIR'/includes/vbenterprisetranslator_functions.php');
      require_once(
      DIR'/includes/vbenterprisetranslator_functions_utils.php');
      global 
      $vbulletin;
      $forumLanguage $vbulletin->options['vbenterprisetranslator_forumlanguage'];
      $language $_REQUEST['language'];
      $serie microtime(true) * 10000
    • Jwenn:
      PHP Code:
      $og_array['og:description'] = $thread['meta_description']; 
      $og_array['og:title'] = $thread['title']; 
    • RANPLASE l' ak kòd sa a (pou utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($thread['meta_description'], $forumLanguage$language$serie); 
      $og_array['og:title'] = vbet_translateText($thread['title'], $forumLanguage$language$serie); 
    • RANPLASE l' ak kòd sa a (pou pa utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText(vbet_encodeToSafeUTF8($thread['meta_description']), $forumLanguage$language$serie); 
      $og_array['og:title'] = vbet_translateText(vbet_encodeToSafeUTF8($thread['title']), $forumLanguage$language$serie); 
    • Jwenn:
      PHP Code:
      $og_array['og:description'] = $ogdesc
      $og_array['og:title'] = $bloginfo['title'] . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username']; 
    • RANPLASE l' ak kòd sa a (pou utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($ogdesc$forumLanguage$language$serie); 
      $og_array['og:title'] = vbet_translateText($bloginfo['title'], $forumLanguage$language$serie); 
    • RANPLASE l' ak kòd sa a (pou pa utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText(vbet_encodeToSafeUTF8($ogdesc), $forumLanguage$language$serie); 
      $og_array['og:title'] = vbet_translateText(vbet_encodeToSafeUTF8($bloginfo['title']), $forumLanguage$language$serie) . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username'];; 
    • Mete sou kote chanjman.


    Pou li entegre pwodwi sa a ak libète vèsyon pipiti de youn de vBET:
    • Edite plugin AdminCP-> Plugins & pwodwi-> Plugin direktè-> dekri teren graf louvri / mozayik Remplacer
    • Pat kòd sa a nan koumansman:
      PHP Code:
      require_once(DIR'/includes/vbenterprisetranslator_functions.php');
      $language $_REQUEST['language'];
      $serie microtime(true) * 10000
    • Jwenn:
      PHP Code:
      $og_array['og:description'] = $thread['meta_description']; 
      $og_array['og:title'] = $thread['title']; 
    • RANPLASE l' ak kòd sa a (pou utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($thread['meta_description'], $language$serie); 
      $og_array['og:title'] = vbet_translateText($thread['title'], $language$serie); 
    • RANPLASE l' ak kòd sa a (pou pa utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText(vbet_encodeToSafeUTF8($thread['meta_description']), $language$serie); 
      $og_array['og:title'] = vbet_translateText(vbet_encodeToSafeUTF8($thread['title']), $language$serie); 
    • Jwenn:
      PHP Code:
      $og_array['og:description'] = $ogdesc
      $og_array['og:title'] = $bloginfo['title'] . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username']; 
    • RANPLASE l' ak kòd sa a (pou utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($ogdesc$language$serie); 
      $og_array['og:title'] = vbet_translateText($bloginfo['title'], $language$serie); 
    • RANPLASE l' ak kòd sa a (pou pa utf-8 caractères):
      PHP Code:
      $og_array['og:description'] = vbet_translateText(vbet_encodeToSafeUTF8($ogdesc), $language$serie); 
      $og_array['og:title'] = vbet_translateText(vbet_encodeToSafeUTF8($bloginfo['title']), $language$serie) . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username'];; 
    • Mete sou kote chanjman.

  3. #3
    Manm
    Join Date
    Aug 2012
    Location
    Atlanta
    Posts
    39

    Default

    monchè, w'a fantastik... mèsi Ann.

  4. #4

    Default

    Text automatically translated from: Portuguese to: Haitian Creole
    Translated text
    Marcin,

    A eyajisteman sa a nan pwochen Liberasyon vBET pwogram?
    Original text

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

    Default

    Entegrasyon sa a pa bezwen chanje kòd nan vBET. Fonksyon chanjman kòd sa a ki plugin pou vBET tradwi baj ki te ajoute ke l '.

  6. #6

    Default

    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    Good day!
    Original text


    Tradiktè, 4.7.2 vBET
    4.2.3 vBulletin

    Graf louvri dekri teren & Tit ranje sou kanni/Blog 1.2.0


    Louvri graf dekri teren / mozayik Remplacer fb_opengraph_array:
    Code:
    if (THIS_SCRIPT == 'showthread') //For Threads
    {
      global $thread;
      $og_array['og:description'] = $thread['meta_description'];
      $og_array['og:title'] = $thread['title'];
    }
    
    if (THIS_SCRIPT == 'entry') //For Blog Entries
    {
      global $vbphrase, $bloginfo;
      $ogdesc = strip_bbcode($bloginfo['pagetext'], true, false, false, true);
      $ogdesc = htmlspecialchars ($ogdesc); 
      $ogdesc = preg_replace('!\s+!', ' ', $ogdesc);
      $ogdesc = (strlen($ogdesc) > 303) ? substr($ogdesc,0,300).'...' : $ogdesc;
      $og_array['og:description'] = $ogdesc;
      $og_array['og:title'] = $bloginfo['title'] . ' ' . $vbphrase['posted_by'] . ' ' . $bloginfo['username'];
    }

    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    ПОСЛЕ ИНТЕГРАЦИИ ИЗМЕНЕНИЙ:
    Original text


    Code:
    require_once(DIR. '/includes/vbenterprisetranslator_functions.php'); 
    require_once(DIR. '/includes/vbenterprisetranslator_functions_utils.php'); 
    global $vbulletin; 
    $forumLanguage = $vbulletin->options['vbenterprisetranslator_forumlanguage']; 
    $language = $_REQUEST['language']; 
    $serie = microtime(true) * 10000;  
    
    if (THIS_SCRIPT == 'showthread') //For Threads
    {
      global $thread;
      $og_array['og:description'] = vbet_translateText($thread['meta_description'], $forumLanguage, $language, $serie);
      $og_array['og:title'] = vbet_translateText($thread['title'], $forumLanguage, $language, $serie);
    }
    
    if (THIS_SCRIPT == 'entry') //For Blog Entries
    {
      global $vbphrase, $bloginfo;
      $ogdesc = strip_bbcode($bloginfo['pagetext'], true, false, false, true);
      $ogdesc = htmlspecialchars ($ogdesc); 
      $ogdesc = preg_replace('!\s+!', ' ', $ogdesc);
      $ogdesc = (strlen($ogdesc) > 303) ? substr($ogdesc,0,300).'...' : $ogdesc;
      $og_array['og:description'] = vbet_translateText($ogdesc, $forumLanguage, $language, $serie);
      $og_array['og:title'] = vbet_translateText($bloginfo['title'], $forumLanguage, $language, $serie);
    }
    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    * ПОЛУЧАЮ ОШИБКУ:
    Original text


    Bazdone erè nan vBulletin 4.2.3:

    Valid SQL:
    Pi bon cache.originaltext tankou originaltext, cache.translated kòm ke nan vbenterprisetranslator_cache_ sekou, vbenterprisetranslator_cache_ kache kote help.originaltext='***' ak cache.serie=help.serie,

    MySQL erè: 'Vbenterprisetranslator_cache_' tab pa egziste
    Nimewo Erè: 1146
    Last edited by Marcin Kalak; 03-02-17 nan 20:34.

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

    Default

    Souple eseye pou adisyone apwè:
    PHP Code:
    $language $_REQUEST['language']; 
    kòd sa:
    PHP Code:
    if(!$language) { 
    $language $forumLanguage;


  8. #8

    Default

    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    СПАСИБО ЗА ОТВЕТ.


    Kòd modile
    Original text
    Louvri "trase graf dekri teren / mozayik Remplacer":


    HTML Code:
    require_once(DIR. '/includes/vbenterprisetranslator_functions.php'); require_once(DIR. '/includes/vbenterprisetranslator_functions_utils.php'); global $vbulletin; $forumLanguage = $vbulletin->options['vbenterprisetranslator_forumlanguage']; $language = $_REQUEST['language']; if(!$language) {  $language = $forumLanguage; }  $serie = microtime(true) * 10000;  
    if (THIS_SCRIPT == 'showthread') //For Threads{  global $thread;  $og_array['og:description'] = vbet_translateText($thread['meta_description'], $forumLanguage, $language, $serie);  $og_array['og:title'] = vbet_translateText($thread['title'], $forumLanguage, $language, $serie);}
    if (THIS_SCRIPT == 'entry') //For Blog Entries{  global $vbphrase, $bloginfo;  $ogdesc = strip_bbcode($bloginfo['pagetext'], true, false, false, true);  $ogdesc = htmlspecialchars ($ogdesc);   $ogdesc = preg_replace('!\s+!', ' ', $ogdesc);  $ogdesc = (strlen($ogdesc) > 303) ? substr($ogdesc,0,300).'...' : $ogdesc;  $og_array['og:description'] = vbet_translateText($ogdesc, $forumLanguage, $language, $serie);  $og_array['og:title'] = vbet_translateText($bloginfo['title'], $forumLanguage, $language, $serie);

    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    * Ошибки MySQL нет!
    * Но перевода Og t' ap gouvènen, dekri teren нет-
    Original text
    Code:
    <meta property="og:description" content="*******
    Last edited by Marcin Kalak; 06-02-17 nan 21:39. Rezon ki fè: REPARASYON BBCODE

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

    Default

    Tanpri voye jwenn mwen yon detay aksè h pou Admin CP Et FTP. Mwen tcheke sa k ap fèt la

  10. #10

    Default

    Text automatically translated from: Russian to: Haitian Creole
    Translated text
    Marcin Kalak, padon, tout bagay ap travay pafètman ******
    Original text

Paj 1 nan 2 12 DenyeLast

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
  •