[plugin] صورة أمام كل قسم

mr. vb

New Member
السلام عليكم ورحمة الله وبركاته

حبيت أقدم لكم هاك أو بالأصح plugin صورة أمام كل قسم
وجدته أمس وانا أتصفح منتدى vBulletin.org
وجربته على نسخة RC1 & RC2 ولله الحمد شغال 100%

الحين طريقة تركيب الـ plugin :)
1.) اذهب إلى Plugin System
2.)من القائمة نختار Manage Products
3.)اضغط على Add/Import Product
4.)اسفل كلمة Import Product
5.) اضغط على browse ثم نختار ملف 'product-caticons.xml' من المرفق الي تم تنزيله
6.) تأكد من وضع of بجانب Allow Overwrite
7.) اضغط على رفع الملف (Import)

التعديل على التمبلتس Templates :
افتح 'forumhome_forumbit_level1_post'
ضع $forum[forumhomeicon] في المكان الذي تريد ان تظهر الصوره فيه
افتح 'forumhome_forumbit_level2_post'
ضع $forum[forumhomeicon] في المكان الذي تريد ان تظهر الصوره فيه

وهذي التمبلتات جاهزه للي يبي مكان الصوره كما وضعتها:
1.) forumhome_forumbit_level1_post

HTML:
<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
                        <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
                        <td>

                                <table cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                        <td>$forum[forumhomeicon]</td>
                                        <td>
                                                <div>
                                                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                                        <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                                                </div>

                                                <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                                                <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                                                <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                                        </td>
                                </tr>
                                </table>
                        </td>
                </tr>
                </table>

                </td>
                <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
                <td class="alt1">$forum[threadcount]</td>
                <td class="alt2">$forum[replycount]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
                </if>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

2.) forumhome_forumbit_level2_post

HTML:
<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td>$forum[forumhomeicon]</td>
                        <td>
                                <div>
                                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                        <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                                </div>

                                <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                                <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                                <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                        </td>
                </tr>
                </table>
        </td>
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <td class="alt1">$forum[threadcount]</td>
        <td class="alt2">$forum[replycount]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
</tr>
$childforumbits
 

المرفقات

  • vB Category Icons 1[1].0.1.zip
    1.6 KB · المشاهدات: 23
السلام عليكم ورحمة الله وبركاته
بارك الله بكم اخي الفاضل mr. vb وجزاكم الله الف خير
 
شكراً كثيراً
هذا الهاك
جميل كنت
أدور عليه
كثيراً
 
عودة
أعلى