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.
Ukurasa 1 ya 2 12 MwishoLast
Matokeo 1 kwa 10 ya 11

Thread: VBET Je, si kuandika upya Open graph maelezo

  1. #1
    Wanachama
    Join Date
    Agosti 2012
    Location
    Atlanta
    Posts
    39

    Default VBET Je, si kuandika upya Open graph maelezo

    Hey Martin,

    Kupatikana mdudu mwingine kwa ajili yenu. Ni ina nini na kugawana kijamii kwa kutumia toleo hili. Wakati mimi kushiriki katika url kutafsiriwa data opengraph anatumia maudhui ya awali kutoka swahili toleo.

    Kwa mfano url hii ni katika italian lakini wazi vitambulisho graph kuvuta descriptyion na kubadilishana url kutoka swahili toleo: Truffa Fittizio, Agente modellante Julia Rodi
    Una mtazamo chanzo kuona nini namaanisha. Chini ni dondoo:

    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" />
    Kila kitu isipokuwa "og: maudhui picha" inapaswa kuwa katika italian. Hadi sasa hii inashindwa kutafsiri au kuonyesha maelezo sahihi, url eneo, na jina.

    Je, una kificho yoyote mimi naweza kutumia ili kurekebisha hili? Kama baadhi anasoma uzi katika lugha yao ya kwanza mimi nina uhakika wanataka kushiriki kwenye vyombo vya habari kijamii katika lugha yao ya kwanza.

    Nimeona makosa hili kwa njia ya google zana webmaster. ni taarifa na maelezo duplicate na vyeo.

  2. #2
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default Ushirikiano vBET na Open Graph Maelezo & Title

    Hi,
    Mimi naona ya kuwa wewe ni kuongeza vitambulisho wazi graph kwa kutumia Open Graph Maelezo & Title Fix juu Threads / Blog. Lazima kuunganisha bidhaa hii na vBET.
    Kuunganisha bidhaa hii na toleo kamili ya vBET:
    • Edit your AdminCP-> Plugins & bidhaa-> Plugin Meneja> Open Graph Maelezo / tile override
    • Kuweka kanuni hii mwanzoni:
      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
    • Find:
      PHP Code:
      $og_array['og:description'] = $thread['meta_description']; 
      $og_array['og:title'] = $thread['title']; 
    • Badala yake pamoja na kanuni hii (Kwa UTF-8 wahusika):
      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); 
    • Badala yake pamoja na kanuni hii (Kwa si UTF-8 wahusika):
      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); 
    • Find:
      PHP Code:
      $og_array['og:description'] = $ogdesc
      $og_array['og:title'] = $bloginfo['title'] . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username']; 
    • Badala yake pamoja na kanuni hii (Kwa UTF-8 wahusika):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($ogdesc$forumLanguage$language$serie); 
      $og_array['og:title'] = vbet_translateText($bloginfo['title'], $forumLanguage$language$serie); 
    • Badala yake pamoja na kanuni hii (Kwa si UTF-8 wahusika):
      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'];; 
    • Ila mabadiliko.


    Kuunganisha bidhaa hii na toleo bure ya vBET:
    • Edit your AdminCP-> Plugins & bidhaa-> Plugin Meneja> Open Graph Maelezo / tile override
    • Kuweka kanuni hii mwanzoni:
      PHP Code:
      require_once(DIR'/includes/vbenterprisetranslator_functions.php');
      $language $_REQUEST['language'];
      $serie microtime(true) * 10000
    • Find:
      PHP Code:
      $og_array['og:description'] = $thread['meta_description']; 
      $og_array['og:title'] = $thread['title']; 
    • Badala yake pamoja na kanuni hii (Kwa UTF-8 wahusika):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($thread['meta_description'], $language$serie); 
      $og_array['og:title'] = vbet_translateText($thread['title'], $language$serie); 
    • Badala yake pamoja na kanuni hii (Kwa si UTF-8 wahusika):
      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); 
    • Find:
      PHP Code:
      $og_array['og:description'] = $ogdesc
      $og_array['og:title'] = $bloginfo['title'] . ' ' $vbphrase['posted_by'] . ' ' $bloginfo['username']; 
    • Badala yake pamoja na kanuni hii (Kwa UTF-8 wahusika):
      PHP Code:
      $og_array['og:description'] = vbet_translateText($ogdesc$language$serie); 
      $og_array['og:title'] = vbet_translateText($bloginfo['title'], $language$serie); 
    • Badala yake pamoja na kanuni hii (Kwa si UTF-8 wahusika):
      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'];; 
    • Ila mabadiliko.

  3. #3
    Wanachama
    Join Date
    Agosti 2012
    Location
    Atlanta
    Posts
    39

    Default

    Mtu wewe ni kutisha ... shukrani rundo.

  4. #4
    Wanachama
    Join Date
    Desemba 2012
    Posts
    42

    Default

    Text automatically translated from: Portuguese to: Swahili
    Translated text
    Marcin,

    Je, readjustment hii katika kutolewa ijayo ya vBET PRO?
    Original text

  5. #5
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Ushirikiano huu hauhitaji kificho mabadiliko katika vBET. Kanuni hii mabadiliko kazi za Plugin kwa vBET kutafsiri vitambulisho aliongeza kwa njia yake.

  6. #6
    Wanachama
    Join Date
    Agosti 2010
    Posts
    83

    Default

    Text automatically translated from: Russian to: Swahili
    Translated text
    Siku njema!
    Original text


    vBET Translator 4.7.2
    vBulletin 4.2.3

    Open Maelezo Graph & Title Kurekebisha juu ya Threads / Blog 1.2.0


    Open Graph Maelezo / Tile override 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: Swahili
    Translated text
    Baada ya ushirikiano wa mabadiliko:
    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: Swahili
    Translated text
    - Mimi kupata kosa:
    Original text


    Database kosa katika vBulletin 4.2.3:

    Batili SQL:
    SELECT cache.originaltext kama originaltext, cache.translated kama kutafsiriwa KUTOKA msaada vbenterprisetranslator_cache_, vbenterprisetranslator_cache_ cache WAPI help.originaltext = '************************** **************** 'NA cache.serie = help.serie;

    MySQL Kosa: Table 'vbenterprisetranslator_cache_' haipo
    Idadi Error: 1146
    Ilihaririwa mwisho na Marcin Kalak; 03-02-17 katika 20:34.

  7. #7
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Tafadhali jaribu kuongeza baada ya:
    PHP Code:
    $language $_REQUEST['language']; 
    kufuatia code:
    PHP Code:
    if(!$language) { 
    $language $forumLanguage;


  8. #8
    Wanachama
    Join Date
    Agosti 2010
    Posts
    83

    Default

    Text automatically translated from: Russian to: Swahili
    Translated text
    Shukrani kwa ajili ya kujibu.


    moduli kificho
    Original text
    Open "Graph Maelezo / Tile override":


    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: Swahili
    Translated text
    - MySQL kosa hakuna!
    - Lakini uhamisho Analog: maelezo siyo -
    Original text
    Code:
    <meta property="og:description" content="*******
    Ilihaririwa mwisho na Marcin Kalak; 06-02-17 katika 21:39. Sababu: REPAIR BBCode

  9. #9
    Marufuku
    Join Date
    Agosti 2012
    Posts
    481

    Default

    Tafadhali tuma mimi maelezo upatikanaji PM kwa Admin CP na FTP. Nami kuangalia nini kinaendelea huko

  10. #10
    Wanachama
    Join Date
    Agosti 2010
    Posts
    83

    Default

    Text automatically translated from: Russian to: Swahili
    Translated text
    Marcin Kalak, sorry, kila kitu kazi nzuri ******
    Original text

Ukurasa 1 ya 2 12 MwishoLast

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
  •