Modification Kontrol Panelinden Çıkış Yap Butonunu Kaldır

Join the community

Create an account or log in to unlock the full forum experience.
Konu değerlendirmesi: Kontrol Panelinden Çıkış Yap Butonunu Kaldır 0.00 / 5 | Toplam oy: 0 | Görüntülenme: 4
Bu konu bir şablon düzenlemesi veya özelleştirmesi içermektedir.
🟢 Konu yazarı şu anda aktif

IFGT

Üye
Kodcu Geliştirici
Katılım
2 Nisan 2026
Mesajlar
37
Çözümler
1
Reaksiyon puanı
32
Puanları
18
  • 1. XenForo yönetim panelindeki arama (search) alanına “account_wrapper” yazarak ilgili şablonu (template) bulun.
    2. Düzenleme yaptığınız şablonun doğru temaya ait olduğunu kontrol edin.
    3. Şablonun en alt kısmında yer alan ilgili kod bloğunu tespit edin ve silin. Artık kontrol panelinde tekrar eden bir çıkış yap butonu olmayacaktır.

    Çıkış Yap Butonunu Kaldırmak İçin İlgili Şablondan Silinecek Kod:

    CSS:
    <div class="block">
        <div class="block-container">
            <div class="block-body">
                <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="blockLink">{{ phrase('log_out') }}</a>
            </div>
        </div>
    </div>
  • 1. In the XenForo admin control panel, locate the template named “account_wrapper”.
    2. Ensure that the template you are editing belongs to the correct theme.
    3. Find the relevant code located at the very bottom of the template and delete it. There will no longer be a redundant "Log Out" button in the control panel.

    Code to be removed from the template to delete the "Log Out" button:

    CSS:
    <div class="block">
        <div class="block-container">
            <div class="block-body">
                <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="blockLink">{{ phrase('log_out') }}</a>
            </div>
        </div>
    </div>
 
Next thread →

Modification  Beğeni Geri Almayı Engellemek

  • IFGT
  • Cevaplar: 1
Geri
Üst