هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
چطوری این ایکون ها رو اضافه کنم
#1
سلام

ببخشید من میخوام کنار مطالبم ایکون باشه مثل فایل پیوست شده !



باید برای این کار چیکار کنم؟


فایل‌(های) پیوست شده بندانگشتی (ها)
   
پاسخ
#2
کنترل پنل > قالبها و پوسته ها > قالبها > قالب موردنظر > Forum Display Templates و > forumdisplay_thread
کد زیر رو پیدا کنید :
کد php:
<span>{$prefix} {$gotounread}{$thread['threadprefix']} 

و تصویر مورد نظرتون رو در جلوش قرار بدید، مثال :
کد php:
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<img src="آدرس عکس" alt="" /> 
پاسخ
 سپاس شده توسطfirstboy000 (۱۳۹۳/۴/۶، ۲۰:۲۳:۵۹ عصر) ، صالح غلامیان (۱۳۹۳/۴/۷، ۰۰:۲۳:۰۷ صبح)
#3
دوست عزیز من که نتونستم پیدا کنم


این کد همون مسیر لطفا خودتون درستش کنید

کد:
<tr>
    <td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
    <td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
    <td class="{$bgcolor}{$thread_type_class}">
        {$attachment_count}
        <div>
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
            <div class="author smalltext">{$avatarep_avatar['avatar']}{$thread['profilelink']}</div>
        </div>
    </td>
    <td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
    <td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
    {$rating}
    <td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
        <span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
        <a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avatarep_lastpost['avatar']}{$lastposterlink}</span>
    </td>
{$modbit}
</tr>
پاسخ
#4
کد php:
<tr>
    <
td align="center" class="{$bgcolor}{$thread_type_class}width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}title="{$folder_label}/></td>
    <
td align="center" class="{$bgcolor}{$thread_type_class}width="2%">{$icon}</td>
    <
td class="{$bgcolor}{$thread_type_class}">
        {
$attachment_count}
        <
div>
            <
span>{$prefix} {$gotounread}{$thread['threadprefix']}<img src="آدرس عکس" alt="" />  <a href="{$thread['threadlink']}class="{$inline_edit_class} {$new_class}id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
            <
div class="author smalltext">{$avatarep_avatar['avatar']}{$thread['profilelink']}</div>
        </
div>
    </
td>
    <
td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
    <
td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
    {
$rating}
    <
td class="{$bgcolor}{$thread_type_class}style="white-space: nowrap; text-align: right;">
        <
span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
        <
a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avatarep_lastpost['avatar']}{$lastposterlink}</span>
    </
td>
{
$modbit}
</
tr

فقط نوت پد یادتون نره...
پاسخ
 سپاس شده توسطصالح غلامیان (۱۳۹۳/۴/۷، ۰۰:۲۳:۰۶ صبح) ، firstboy000 (۱۳۹۳/۴/۷، ۱۰:۱۳:۳۶ صبح) ، شماره مجازی (۱۴۰۱/۸/۲۶، ۰۱:۴۶:۵۳ صبح) ، گراف مسنجر (۱۴۰۱/۱۰/۳، ۰۴:۰۹:۳۱ صبح) ، چارتر ۴۲۴ (۱۴۰۲/۹/۱۲، ۱۵:۰۸:۳۰ عصر)


موضوع‌های مشابه…
موضوع نویسنده پاسخ بازدید آخرین ارسال
  اضافه کردن ایکون مهم به موضع مهم movaffag 3 2,174 ۱۳۹۲/۵/۳، ۰۰:۳۷:۴۳ صبح
آخرین ارسال: rondweb

پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان