News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

smf 2.1 beta 3 sorun

Started by Seyit replikacep.com, May 09, 2017, 03:35:44 AM

Previous topic - Next topic

Seyit replikacep.com

 hok cevri de sorun

almancada s harfi tek basina okunur ama yazimi 3 harftir sch türkce karekter barindirmiyor ama sadece h harfini aliyor firansizcada x dabulyu harfi ir yazilimiyla okunur sadece i gorunuyor bunu yapan kaynak 2.1 icine koyduklari hok cevri sistemi bunu yapan


bu konuyu incelerseniz anlarsınız tam olarak
http://webtiryaki.com/mod/seo4smf-2-1-x-v3-2-bu-modu-guncelliye-bilirmisiniz/msg1746/#msg1746

Antes

Hook sisteminde bi sorun yok eğer varsa da, arkadaşın bunu dile getirmesi lazım, şu noktada söylebileceğim tek şey o arkadaş sistemi kullanmayı bilmiyor olur.

https://github.com/MissAllSunday/SimpleSEF - şu eklentiyi bi deneyin veya kodlarına göz atın nasıl yapmış diye.

gecitli

Quote from: Antes on May 09, 2017, 06:30:42 AM
Hook sisteminde bi sorun yok eğer varsa da, arkadaşın bunu dile getirmesi lazım, şu noktada söylebileceğim tek şey o arkadaş sistemi kullanmayı bilmiyor olur.

https://github.com/MissAllSunday/SimpleSEF - şu eklentiyi bi deneyin veya kodlarına göz atın nasıl yapmış diye.
Merhaba
SimpleSEF üzerinden bir cok değişimi yapmiştim saten antes ayni soru saten onda.da var icinden cikamadiğim sorun da bu diğer seo da bazi harfleri bir şekilde okutuyorum SimpleSEF de oda cikmiyor ekteki resimlere bakin görürsünüz ha 2.1.2 de bu sorun yok. Hook sistemi hakinda cok şey bilmediğimde doğrudur coğumuz gib hayatimiza gireli fazla olmadi zira.
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

Seyit replikacep.com

#3
benim anladıgım kadarıyla  burada orhan bey  dogru söylüyor  antes sen bu durumu bir ilet istersen geliştiricilere ?

sen bize sorun bul dedin bulduk  bizde iyi bir tasarım cıksın diye ugraşıyoruz   hata buldugumuz yerleri tek tek buraya bildiriyorum

ama link yapısı  önemli bence smf için  türkçe karakter olan başlıkları   link yapısına eklemesi lazım   örnegin ş yerine  s gibi

smf  2.1  kullanacaksak  kusura bakma  seo yuda güncellememiz lazım  yüzlerce site vardır bilemiyorum seo modu kullanan bukadar adam magdurmu olsun yani yapımcısı  desteklemeyi kesti diye ?

seo olmadan smf 2.1 e geçmemin bir mantıgı yok bana göre  çünki sitemde okadar konuda site içi link varki  siteenin link yapısının çogu kırılacak bu mod olmassa
bu modada isteyerek bulaşmadık  zamanında herkes bunu öneriyodu







cee山

şu func burda kalabilir.
function slug($text, $replace=array(), $delimiter='-') {
    $str = $text;
    if( !empty($replace) ) {
      $str = str_replace((array)$replace, ' ', $str);
    }

    $text = $str;
    static $translit = array(
      'a' => '/[ÀÁÂẦẤẪẨÃĀĂẰẮẴȦẲǠẢÅÅǺǍȀȂẠẬẶḀĄẚàáâầấẫẩãāăằắẵẳȧǡảåǻǎȁȃạậặḁą]/u',
      'b' => '/[ḂḄḆḃḅḇ]/u',     'c' => '/[ÇĆĈĊČḈçćĉċčḉ]/u',
      'd' => '/[ÐĎḊḌḎḐḒďḋḍḏḑḓð]/u',
      'e' => '/[ÈËÉĒĔĖĘĚȄȆȨḔḖḘḚḜẸẺẼẾỀỂỄỆèéëēĕėęěȅȇȩḕḗḙḛḝẹẻẽếềểễệ]/u',
      'f' => '/[Ḟḟ]/u',       'g' => '/[ĜĞĠĢǦǴḠĝğġģǧǵḡ]/u',
      'h' => '/[ĤȞḢḤḦḨḪĥȟḣḥḧḩḫẖ]/u',    'i' => '/[ÌÏĨĪĬĮİǏȈȊḬḮỈỊiìïĩīĭįǐȉȋḭḯỉị]/u',
      'j' => '/[Ĵĵǰ]/u',        'k' => '/[ĶǨḰḲḴKķǩḱḳḵ]/u',
      'l' => '/[ĹĻĽĿḶḸḺḼĺļľŀḷḹḻḽ]/u',   'm' => '/[ḾṀṂḿṁṃ]/u',
      'n' => '/[ÑŃŅŇǸṄṆṈṊñńņňǹṅṇṉṋ]/u',
      'o' => '/[ÒÖŌŎŐƠǑǪǬȌȎȪȬȮȰṌṎṐṒỌỎỐỒỔỖỘỚỜỞỠỢØǾòöōŏőơǒǫǭȍȏȫȭȯȱṍṏṑṓọỏốồổỗộớờởỡợøǿ]/u',
      'p' => '/[ṔṖṕṗ]/u',       'r' => '/[ŔŖŘȐȒṘṚṜṞŕŗřȑȓṙṛṝṟ]/u',
      's' => '/[ŚŜŞŠȘṠṢṤṦṨſśŝşšșṡṣṥṧṩ]/u',  'ss'  => '/[ß]/u',
      't' => '/[ŢŤȚṪṬṮṰţťțṫṭṯṱẗ]/u',    'th'  => '/[Þþ]/u',
      'u' => '/[ÙŨŪŬŮŰŲƯǓȔȖṲṴṶṸṺỤỦỨỪỬỮỰùũūŭůűųưǔȕȗṳṵṷṹṻụủứừửữựµ]/u',
      'v' => '/[ṼṾṽṿ]/u',       'w' => '/[ŴẀẂẄẆẈŵẁẃẅẇẉẘ]/u',
      'x' => '/[ẊẌẋẍ×]/u',      'y' => '/[ÝŶŸȲẎỲỴỶỸýÿŷȳẏẙỳỵỷỹ]/u',
      'z' => '/[ŹŻŽẐẒẔźżžẑẓẕ]/u',       
      //combined letters and ligatures:
      'ae'  => '/[ÄǞÆǼǢäǟæǽǣ]/u',     'oe'  => '/[Œœ]/u',
      'dz'  => '/[DŽDžDZDzdždz]/u',
      'ff'  => '/[ff]/u',  'fi'  => '/[ffifi]/u', 'ffl' => '/[fflfl]/u',
      'ij'  => '/[IJij]/u', 'lj'  => '/[LJLjlj]/u',  'nj'  => '/[NJNjnj]/u',
      'st'  => '/[ſtst]/u', 'ue'  => '/[ÜǕǗǙǛüǖǘǚǜ]/u',
      //currencies:
      'eur'   => '/[€]/u',  'cents' => '/[¢]/u',  'lira'  => '/[₤]/u',  'dollars' => '/[$]/u',
      'won' => '/[₩]/u',  'rs'  => '/[₨]/u',  'yen' => '/[¥]/u',  'pounds'  => '/[£]/u',
      'pts' => '/[₧]/u',
      //misc:
      'degc'  => '/[℃]/u',  'degf'  => '/[℉]/u',
      'no'  => '/[№]/u',  'tm'  => '/[™]/u'
    );
    //do the manual transliteration first
    $str = preg_replace (array_values ($translit), array_keys ($translit), $str);
   
    //flatten the text down to just a-z0-9 and dash, with underscores instead of spaces
    $str = preg_replace (
      //remove punctuation  //replace non a-z //deduplicate //trim underscores from start & end
      array('/\p{P}/u',  '/[^A-Za-z0-9]/', '/-{2,}/', '/^-|-$/'),
      array('-',           '-',              '-',       '-'),
     
      //attempt transliteration with PHP5.4's transliteration engine (best):
      //(this method can handle near anything, including converting chinese and arabic letters to ASCII.
      // requires the 'intl' extension to be enabled)
      function_exists ('transliterator_transliterate') ? transliterator_transliterate (
        //split unicode accents and symbols, e.g. "Å" > "A°":
        'NFKD; '.
        //convert everything to the Latin charset e.g. "ま" > "ma":
        //(splitting the unicode before transliterating catches some complex cases,
        // such as: "㏳" >NFKD> "20日" >Latin> "20ri")
        'Latin; '.
        //because the Latin unicode table still contains a large number of non-pure-A-Z glyphs (e.g. "œ"),
        //convert what remains to an even stricter set of characters, the US-ASCII set:
        //(we must do this because "Latin/US-ASCII" alone is not able to transliterate non-Latin characters
        // such as "ま". this two-stage method also means we catch awkward characters such as:
        // "㏀" >Latin> "kΩ" >Latin/US-ASCII> "kO")
        'Latin/US-ASCII; '.
        //remove the now stand-alone diacritics from the string
        '[:Nonspacing Mark:] Remove; '.
        //change everything to lowercase; anything non A-Z 0-9 that remains will be removed by
        //the letter stripping above
        'Lower',
      $str)
     
      //attempt transliteration with iconv: <php.net/manual/en/function.iconv.php>
      : strtolower (function_exists ('iconv') ? str_replace (array ("'", '"', '`', '^', '~'), '', strtolower (
        //note: results of this are different depending on iconv version,
        //      sometimes the diacritics are written to the side e.g. "ñ" = "~n", which are removed
        iconv ('UTF-8', 'US-ASCII//IGNORE//TRANSLIT', $str)
      )) : $str)
    );
   
    //old iconv versions and certain inputs may cause a nullstring. don't allow a blank response
    if(!$str || $str =="_" || $str == "-"){
      $str = preg_replace("/[^A-Za-z0-9 -]/", '', $text); 
      $str = preg_replace("/[\/_|+ -]+/", $delimiter, $str);
      $str = str_replace("'","",$str);
      $str = str_replace('"','',$str);
      $str = strtolower(rtrim(trim($str,'-'), '-'));
      if(empty($str) || $str =="_" || $str == "-"){
        return Main::strrand(5);
      }else{
        return $str;
      }               
    }else{
      return $str;
    }           
  }

Seyit replikacep.com

Kullanilabilir ile olmuyor yardim edecekseniz edin  bir cozume bagliyalim bu konuyu

Advertisement: