English EN Thread Descriptions
? Okuma Hesaplanıyor... Okuma: %0
Hasan Kurucu
tarih 03-19-2025, 05:52 PM
#1
This is a simple thing to do, and this example should give you a general idea of the basics of XThreads.

Alrighty, after installing and activating XThreads, follow these steps on how to add thread description functionality for your threads:
  1. Go to your AdminCP -> Configuration -> Custom Thread Fields section
  2. Choose to Add Thread Field
  3. On this page, enter in the following:
    Title: Thread Description
    Key: desc
    Description: Further describe your thread here
    Display Format: <div>{VALUE}</div>
    (leave other fields on their defaults)
  4. Now scroll down to the bottom of the page and Add Thread Field
  5. If you go to your forum and try to make a new thread, you should notice that there's a "Thread Description" text box below the "Thread Subject" text box, however this doesn't actually do anything right now. We'll need to add the description into MyBB's templates for it to be of any use.
  6. Go to your AdminCP -> Templates & Style -> Templates
  7. Select the template set you're using (if you have multiple template sets, you need to repeat the following steps with all template sets; alternatively, if you know how, you can also use the Global Templateset)
  8. Now, expand "Forum Display Templates"
  9. Click on the forumdisplay_thread template to edit it
  10. Find the following line of code:
    Kod:
    <div class="author smalltext">{$thread['profilelink']}</div>
    and add the following before it:
    Kod:
    {$threadfields['desc']}
  11. Save the template
  12. Back at the templates list page, expand "Search Templates", and select the search_results_threads_thread template to edit
  13. Perform the same edit as you did for the forumdisplay_thread template, and save this edited template
  14. Now, go make a new thread and confirm that thread descriptions appear properly on the forumdisplay and search pages.

If you got to the end without troubles, congratulations! you have managed to use XThreads to create a thread description.
This may seem like a bit of a convoluted method of doing such, but it does give you a lot of flexibility with various things.

As alluded to earlier, this is a very basic example and shows the basics of XThreads.
Hopefully this wasn't too difficult. Maybe you can go on and try one of the more complicated examples. Tongue

imza çizgisi
Çekirge 1 Sıçrar... 2 Sıçrar... 3 Sıçrar... 4 Sıçrar... 5 Sıçrar...
Sıçrar Yani Çekirge Sonuçta Bu aferin
Gidenler.Me · Forum





Konuyu Okuyanlar: 1 Ziyaretçi

 
Dikkat Edelim
Kurallar


Reklam
Reklam


Yasal Uyarı
Gidenler.Me, hukuka, yasalara, telif haklarına ve kişilik haklarına saygılı olmayı amaç edinmiştir. Gidenler.Me, 5651 Sayılı İnternet Ortamında Yapılan Yayınların Düzenlenmesi ve Bu Yayınlar Yoluyla İşlenen Suçlara Mücadele Edilmesi Hakkında Kanunda tanımlanan -Yer Sağlayıcı- olarak hizmet vermektedir. İlgili yasaya göre, Gidenler.Me yönetiminin hukuka aykırı içerikleri kontrol etme yükümlülüğü yoktur. Bu sebeple, Gidenler.Me -Uyar ve Kaldır- prensibini benimsemiştir. Telif hakkına konu olan eserlerin yasal olmayan bir biçimde paylaşıldığını ve yasal haklarının çiğnendiğini düşünen hak sahipleri veya meslek birlikleri, gidenlerme@gmail.com mail adresinden bize ulaşabilirler. Buraya ulaşan talep ve şikayetler incelenerek ihlal olduğu belirlenen içerikler Gidenler.Me 'den kaldırılacaktır. Ayrıca, mahkemelerden talep gelmesi halinde hukuka aykırı içerik üreten ve hukuka aykırı paylaşımda bulunan üyelerin tespiti için gerekli teknik veriler sağlanacaktır.



Türkçe Çeviri: MyBB, Yazılım: MyBB 1.6.x, © 2002-2026 MyBB Group.
Copyright ©2024 - 2026 Gidenler®. All rights reserved.
GM v3.0.0.8 Beta theme designed for MyBB
Basit Sürüm
Mobil Sürüme Geç!