Hide Tag Special Türkçe Destek

Started by 4LP3RUZ1, November 13, 2006, 01:38:45 PM

Previous topic - Next topic

4LP3RUZ1

Mesajın tamamını tekrar okursan nedenini anlarsın ;)
Frozen frogs are back :(

WeThAsOuR

Quote from: alperuzi on April 04, 2007, 12:26:29 PM
Mesajın tamamını tekrar okursan nedenini anlarsın ;)

ben şunu anlamıyorum türkçe yamayı nereden indireceğim biri bana anlatabilirmi çok acil...

4LP3RUZ1

Ben de cevabını veriyorum, ilk mesajın tamamını tekrar oku.
Frozen frogs are back :(

WeThAsOuR

abi tekrar okudum ama türkçe yama için ne link ne de ek göremiom acaba sorun bilgisayarda mı yoqsa düzenlerken kaldırdın mı???

Ebirim.Com

Gösterilecek kodu nereye yazacağız.
<img src="Themes/default/images/turkish/*resminizin-ismi*.gif" >
Bunu?

4LP3RUZ1

Quote from: T-MAC on April 05, 2007, 02:39:20 PM
Gösterilecek kodu nereye yazacağız.
<img src="Themes/default/images/turkish/*resminizin-ismi*.gif" >
Bunu?

Modu kurduktan sonra yönetici panelinde ayarları çıkar. Normalde gösterilecek olan bir metin satırıdır. O metin satırını ayarlardan atayabilirsin. Metin yerine resim çıkmasını istiyorsan, o kodu yazacaksın.
Frozen frogs are back :(

sazan

alperuzi dedigin gibi yaptim <img src="Themes/default/images/turkish/*resminizin-ismi*.gif" >

ancak olmadı ziyaretçiler gizli yeri göremiyor ama resimde görünmüyor

BuyCu

1. Seo 4 SMF 0.2.9.6   
2. Ad Managment 2.3   
3. vReportBoard Mod 0.95 
4. SMF Ajax Kayıt Modu 1.0.0 TR     
5. TesheTurk 1.00 

Kullandığım modlar bunlar  HideTagSpecial125 modunu yükledim fakat bir sorunla karşılaştım.sayfamdaki konu başlıklarına tıkladığım zaman
Sayfa bulunamıyor
Aradığınız sayfa kaldırılmış, adı değiştirilmiş veya geçici bir süre için kullanım dışı olabilir. Hatası alıyorum ne yapmam gerek.Modu kaldırdım yine bir işe yaramadı :( Lütfen acil yardım

Evo™

Sorunun smfseo ile ilgili seonun tam ayarlarını yaptığından eminmisin ayrıca hidetag modunu yükledikten sonramı bu hatayı aldın ???

BuyCu

smf seo çalışıyordu bu modu demin yükledim ve yükledikten sonra oldu arıza :(

Atagun

arkadaslar bende bu mod tam anlamıyla calismiyor saklıyor fakat mesaj yazıldıgında kodlar kaybolmuyor. tekrar linkin yanında kodlarda cıkıyor
örnek : [sakla]www.google.com[/sakla]  cevap yazıldıktan sonra bu sekilde oluyor.

Ils

arkadaşlar ben hide tag modunu kurdum ancak bir sorun war....



bu şekilde kategoriye mesaj sınırı nası yapacaz hatta nasıl ayarlayacaz....

örneğin bu bölümdeki mesajları görebilmeniz için mesaj sayınızın 50 olması gerekir.... gibi..

Mavisim

bende tek sorun su ,, [sakla]....[/sakla] çikiyor ve butonda var ama saklamiyor gizli mesaj resimi diyim çikmiyor hala yazdigim mesaj [sakla]mesaj[/sakla] misal oyle kaliyor yani o sakla yaziyi goruyorsun ne yapmaliyim ?

Atagun

aynı sorn bende de var arkadasim nedeni biLmiyorum ilgilenende yok.

RapChoLicK

Arkadaşlar Admin Panelinden Modu Yükledim.. Ama Buton Fln ? Anlamadim Yani Bi Yardimci Olacak Olan Varmı


  • Hileden uzak bu adama sille vurma yazıktır.
    İlle çile mi çekmem lazım? Nurum yüzüme dargındır
    Bil de gerisi mühim değil, sevgim sana özel ve saftır
    Bugüne dek işlediğim günaha. İstırhamım tekbir aftır.
    Dökmek ister içini içim, anlatmalı mı biçim biçim?...
    Her neşe, bir içim ve içlenişime direnişim.
    Ben, yürüdükçe kalır izim, bitmek bilmez pembe dizim.
    Yüzüm her resimde karanlık, karamsar bir çizim

Ve Birgün memleketten 1084 Km ileri gittim...

bayrampasa

sagol kardes ben koydum ama gizliyo sadece ekran bos yazmiyo mesaj yazin  felan filan  konuyu gorun diye neden acaba ?

Atagun

Daha büyük bir sorun var anlamıyorum kimse mesaji gormuyormu acaba beyler bunu kurdugumuzda cevap verildiginde mesaja [SAKLA] LINK [/SAKLA] Kodları üyeler goruyor cok cirkin bir goruntu oluyor + komut linkle bitişikse adam tıklayamiyorum explorer'de kopyalamak aklına gelmiyor gelse bile ugrastırıcı olur cok kotu yani bunu nasil cozeriz ?

kelkun

[hide]link[/hide] olarak dene+ilk msji okusan diorum >:D

buraxi

ya diğer temalar için manual kurulup nasıl yapılacak nerden ne değiştireceğiz ???

o verdiğiniz linkden hiç bişi anlamadım. :( okudum okudum ama anlamadım :(

Yokmudur ManuaL kurulum :(
Yerli & Yabancı Filim ve Dizi Arşiviniz...


kelkun

Bunu Kurdugunuz Zaman [sakla][/sakla] Olarak Degil [hide][/hide] Olarak Yazmaniz Gerekmektedir.

Sources/ModSettings.php
Arayin:
            array('check', 'approveAccountDeletion'),
Sonrasina Ekleyin:
        '',
            array('check', 'hide_MUIswitch'),
            array('text', 'hide_hiddentext'),
            array('text', 'hide_hidecontentimages'),
            array('text', 'hide_unhidecontnetimage'),
            array('check', 'hide_onlyonetimeinfo'),
            array('check', 'hide_adminshouldsee'),
            array('check', 'hide_noinfoforguests'),
            array('text', 'hide_autounhidegroups'),
            array('int', 'hide_minpostunhide'),
            array('int', 'hide_minpostautounhide'),

Sources/Display.php
Arayin:
    // Find the previous or next topic.  Make a fuss if there are no more.
Oncesine Ekleyin:
    //Okay let's Check an prepare ;)
    $context['user_post_avaible'] = 0; //Standard Show no hidden content ;)
   
    //Only a Member Thing ;)
    if (!$user_info['is_guest']) {
        $check_for_hide = true;
       
        //First Let's look through the groups and if the Admin see everything
        if($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee'])) {
            $check_for_hide = false;
            $context['user_post_avaible'] = 1;
        }
       
        if($check_for_hide && !empty($modSettings['hide_autounhidegroups'])) {
            //Okay Serach for it ;)
            if(strpos($modSettings['hide_autounhidegroups'], ",") !== false)
                $modSettings['hide_autounhidegroups'] = array_unique(explode(',', str_replace(' ', '', $modSettings['hide_autounhidegroups'])));
            else
                $modSettings['hide_autounhidegroups'] = array(str_replace(' ', '', $modSettings['hide_autounhidegroups']));
           
            if(!empty($modSettings['hide_autounhidegroups']))
                foreach($user_info['groups'] as $group_id)
                    if(in_array($group_id, $modSettings['hide_autounhidegroups'])) {
                        $check_for_hide = false;
                        $context['user_post_avaible'] = 1;
                        break; //One is enouph ;D
                    }
        }

        //Okay know let's look for the post minimum ;D
        if($check_for_hide && (!empty($modSettings['hide_minpostunhide']) || !empty($modSettings['hide_minpostautounhide']))) {
            //Load the posts data ;D
            global $user_settings;
           
            //Need a minimum post to unhide?
            if(!empty($modSettings['hide_minpostunhide']) && $modSettings['hide_minpostunhide'] > 0 && $user_settings['posts'] < $modSettings['hide_minpostunhide'])
                $check_for_hide = false;
           
            //Auto Unhide????
            if(!empty($modSettings['hide_minpostautounhide']) && $modSettings['hide_minpostautounhide'] > 0 && $user_settings['posts'] > $modSettings['hide_minpostautounhide']) {
                    $check_for_hide = false;
                    $context['user_post_avaible'] = 1;
            }
        }
       
        // Find if there a post from you in this thread :) (For the hide tag)
        if(empty($context['user_post_avaible']) && $check_for_hide) {
            $request = db_query("
                SELECT ID_MSG, ID_MEMBER
                FROM {$db_prefix}messages
                WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
                LIMIT 1", __FILE__, __LINE__);

            if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
            else $context['user_post_avaible'] = 0;
            mysql_free_result($request);
        }
    }

Arayin:
    $memberContext[$message['ID_MEMBER']]['ip'] = $message['posterIP'];
Sonrasina Ekleyin:
    //Find Hidden Content
    $message['hidden_content'] = preg_match("~\[hide\](.+?)\[\/hide\]~i", $message['body']);

Arayin:
        'body' => $message['body'],
        'new' => empty($message['isRead']),
        'first_new' => isset($context['start_from']) && $context['start_from'] == $counter,

Sonrasina Ekleyin:
        'hidden_content' => $message['hidden_content'],
Sources/Post.php
Arayin:
            $form_message = preg_replace('~<br(?: /)?' . '>~i', "\n", $form_message);
Oncesine Ekleyin:
            //Lets change the HideTag ;) this is a secret and should be a secret :)
            if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
            // The MUI Switch ;D
            if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
            $form_message = preg_replace("~\[hide\](.+?)\[\/hide\]~i", $modSettings['hide_hiddentext'], $form_message);
            $form_message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $form_message);

Arayin:
        $row['body'] = preg_replace('~<br(?: /)?' . '>~i', "\n", $row['body']);
Sonrasina Ekleyin:
        //Lets change the HideTag ;) this is a secret and should be a secret :)
        if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
        // The MUI Switch ;D
        if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
        $row['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $modSettings['hide_hiddentext'], $row['body']);
        $row['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $row['body']);

Sources/Search.php
Arayin:
    // Do the censor thang...
    censorText($message['body']);

Sonrasina Ekleyin:
    //Remove Hidden Text :x
    //Lets change the HideTag ;) this is a secret and should be a secret :)
    if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
    // The MUI Switch ;D
    if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
    // Okay Guest should at least see nothing ;)
    if($context['user']['is_guest'] && !empty($modSettings['hide_noinfoforguests']))
        $modSettings['hide_hiddentext'] = '&nbsp;';
    $message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $modSettings['hide_hiddentext'], $message['body']);
    $message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $message['body']);

Sources/Subs.php
Arayin:
    global $txt, $scripturl, $context, $modSettings, $user_info;
    static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
    static $disabled;

Sonrasina Ekleyin:
    //Hide Mod.. i remove the code before i do anything...
    if($message !== false && !empty($message)) {
        //Built the correct hidden content informations :), or add a the one time infomration :)
        if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible']))) {
            //Check you're a guest? Should i show this infomations?
            if(empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest']) {
                //Lets change the HideTag ;) this is a secret and should be a secret :)
                if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
                // The MUI Switch ;D
                if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
                // hmmmm should i use image insteat of text?
                if (!empty($modSettings['hide_hidecontentimages'])) $modSettings['hide_hiddentext'] = '[br][img]'.str_replace('$language', $user_info['language'], $modSettings['hide_hidecontentimages']).'[/img][br]';
   
                //One Time information?
                if(!empty($modSettings['hide_onlyonetimeinfo'])) {
                    //Okay some more things to do, i must check if there a hidden content... without i need do nothing ;)
                    if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
                        //Add the Hidden Text at the end of the post :)
                        $message .= '[br]'.$modSettings['hide_hiddentext'];
                    }
                }
            }
            else
                $modSettings['hide_hiddentext'] = '&nbsp;';
        }
        //Here i remove this content :) or show onetime unhide info :)
        if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible']))) {
            //Remove it ;D
            $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_hiddentext'] : "&nbsp"), $message);
            $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_hiddentext'] : "&nbsp"), $message);
        }
        elseif(!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_unhidecontnetimage'])) {
            //Okay i need to add the un hidden image at the end of the post :)
            if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $message) != 0) {
                $message .= '[br][img]'.str_replace('$language', $user_info['language'], $modSettings['hide_unhidecontnetimage']).'[/img][br]';       
            }
        }
    }

Ara:
            array(
                'tag' => 'white',
                'before' => '<span style="color: white;">',
                'after' => '</span>',
            ),

Sonrasina Ekle:
            array(
                'tag' => 'hide',
                'before' => '<strong>',
                'after' => '</strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_unhidecontnetimage'].'" /><br />' : ''),
            ),

Themes/Temaniz/Display.template.php
Bulun:
                            <div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
Degistirin:
                            <div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] && empty($message['hidden_content']) ? '
Themes/Temaniz/languages/ModSettings.turkish.php
?>
Oncesine Ekleyin:
$txt['hide_Titel'] = 'Hide Tag Special Ayarları';
$txt['hide_MUIswitch'] = 'MUI SWITCH - $txt[\'hide_hiddentext\'] Dil dosyasındaki otomatik yazıyı kullansın mı?<br /><span class="smalltext">Diğer ayarlar iptal edilir sadece bu yazı kullanılır. Bu kod index.turkish.php içindedir.</span>';
$txt['hide_hiddentext'] = 'Gizli içerik için sadece yazı kullan';
$txt['hide_adminshouldsee'] = 'Adminler mesajları görsün mü?';
$txt['hide_autounhidegroups'] = 'Bazı gruplara gizli mesajları otomatik göster.<br /><span class="smalltext">Herbirini virgül ile ayırın "," (Mesela ID 2, Global Moderatorler içindir ve şu şekilde yazmalsınız birden fazla grubu; 2,4,5 gibi)</span>';
$txt['hide_minpostunhide'] = 'Gizli içeriğin görülmesi için üyenin en az mesaj sayısı';
$txt['hide_minpostautounhide'] = 'Üyenin mesaj sayısı bu sayıdan fazla ise otomatik olarak gizli içerik açılsın.<br /><span class="smalltext">"0" bu seçeneği iptal eder</spam>';
$txt['hide_hidecontentimages'] = 'Gizli içerik için resim linki yaz<br /><span class="smalltext">Eğer boş bırakırsanız yukarıdaki gizleme yazısı kullanılır.<br />Eğer resim dosyası eklemek istiyorsanız şu şekilde dosyanızın ismini düzenleyin Örnek: http://www.smfturk.net/turkishhidden.gif olarak forumunuzun ana dizinine yükleyin.</span>';
$txt['hide_unhidecontnetimage'] = 'Gizli içerik açıldıktan sonra gösterilecek resim linkini yaz.';
$txt['hide_onlyonetimeinfo'] = 'Gizleme bilgilerini sadece mesajın sonunda göster.';
$txt['hide_noinfoforguests'] = 'Ziyaretçilerin gizli içeriği görmemesi için resim veya yazı ekleyin.';

Themes/Temaniz/languages/index.turkish.php
Arayin:
?>
Oncesine Ekleyin:
$txt['hide_hiddentext'] = 'Bu mesajda gizli içerik var. Lütfen cevap yazınız.';

Buton Yapimi Icin:

Themes/Temaniz/languages/Post.template.php
Arayin:
            'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
Sonrasina Ekleyin:
            'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),
Themes/Temaniz/langauges/Post.turkish.php
Arayin:
?>
Oncesine Ekleyin:
$txt['bbc_hide'] = 'Mesajda Gizli Birsey Var';
Ektekinide images/bbc'nin Icine Atin.
Mesajda Hizli Cevap Editorunuz Varsa Post.template.php'dekileri Display.template.php e Uygulayin

Advertisement: