{طھط¹ط¯ظٹظ„ ط¬ط¯ظٹط¯} ط¹ظ€ ظ‚ط§ظ„ط¨ FORUMDISPLAY - forumrules / ط*ط§ظ„ط© ط§ظ„ظ…ظˆط§ط¶ظٹط¹ / طھط¹ظ„ظٹظ…ط§طھ ط§ظ„ظ…ط´ط§ط±ظƒط© ~



~
السلامـ عليكمـ ورحمهـ الله وبركاتهـ ..
كيفكمـ يالغاليين ان شاء الله بخير .؟ ..
بدايه اعتقد انكمـ شفتوا موضوعي ..
{{تعديل} عـ قالب templateـ forumrules - تعليمات المشاركة ~} ..
كان تعديل بسيط جدا لتعليمات المشاركهـ ..
و الحين راح اعطيكمـ تعديل افضل منه ان شاء الله ..



~
مثال للتعديل الجديد من داخل القسم ..

مثال من داخل المواضيع ..

~
ملاحظهـ:- التعديل كان لأخوي الغالي Ca2oom في هذا الموضوع ..
[Template] تطوير جديد لطريقه العرض لايقونات المواضيع والتعليمات
الأ ان التعديل ماكان متوافق مع النسخ الجديده فـ قمت بتعديله من جديد ليتناسب مع النسخ الجديده ..
خلونا في الشغل ماطول عليكمـ ..
~
افتح قالب template FORUMDISPLAY وانقل محتواه للفرونت بيج ..
ابحث عن ..
رمز Code:
<table cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; border=&quot;0&quot;> <tr> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread_new.gif&quot; alt=&quot;$vbphrase[new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[new_posts]</td> <if condition=&quot;$vboptions['usehotthreads']&quot;> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread_hot_new.gif&quot; alt=&quot;<phrase 1=&quot;$vboptions[hotnumberposts]&quot; 2=&quot;$vboptions[hotnumberviews]&quot;>$vbphrase[more_than_x_replies_or_y_views]</phrase>&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[hot_thread_with_new_posts]</td> <else /> <td colspan=&quot;2&quot;>&nbsp;</td> </if> </tr> <tr> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread.gif&quot; alt=&quot;$vbphrase[no_new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[no_new_posts]</td> <if condition=&quot;$vboptions['usehotthreads']&quot;> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread_hot.gif&quot; alt=&quot;<phrase 1=&quot;$vboptions[hotnumberposts]&quot; 2=&quot;$vboptions[hotnumberviews]&quot;>$vbphrase[more_than_x_replies_or_y_views]</phrase>&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[hot_thread_with_no_new_posts]</td> <else /> <td colspan=&quot;2&quot;>&nbsp;</td> </if> </tr> <tr> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread_lock.gif&quot; alt=&quot;$vbphrase[closed_thread]&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[thread_is_closed]</td> <if condition=&quot;$show['dotthreads']&quot;> <td><img src=&quot;$stylevar[imgdir_statusicon]/thread_dot.gif&quot; alt=&quot;$vbphrase[thread_contains_a_message_written_by_you]&quot; border=&quot;0&quot; /></td> <td class=&quot;smallfont&quot;>$vbphrase[you_have_posted_in_this_thread]</td> <else /> <td colspan=&quot;2&quot;>&nbsp;</td> </if> </tr> </table>
احذفه وضع مكانه هذا الكود code ..
رمز Code:
$forumrules
واحفظ القالب template ..
~
الحين افتح قالب template forumrules ..
واستبدل محتواه بهذا الكود code ..
رمز Code:
<if condition=&quot;$show['threadslist']&quot;> <!-- IconKey in Forumdisplay [Edit by ca2oom And T.D.D] --> <table width=&quot;100%&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;1&quot; cellspacing=&quot;$stylevar[cellspacing]&quot; class=&quot;tborder&quot;> <thead> <tr> <td class=&quot;thead&quot; colspan=&quot;7&quot;> <a style=&quot;float:$stylevar[right]&quot; href=&quot;#top&quot; onClick=&quot;return toggle_collapse('forumrules')&quot;><img id=&quot;collapseimg_forumrules&quot; src=&quot;$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif&quot; alt=&quot;إخفاء/عرض&quot; border=&quot;0&quot; /></a> حالة المواضيع / $vbphrase[posting_rules] </td> </tr> </thead> <tbody id=&quot;collapseobj_forumrules&quot; style=&quot;$vbcollapse[collapseobj_forumrules]&quot;> <tr> <td width=&quot;20&quot; class=&quot;alt2&quot; ><img src=&quot;$stylevar[imgdir_statusicon]/thread_new.gif&quot; alt=&quot;$vbphrase[new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$vbphrase[new_posts]</div></td> <td width=&quot;20&quot; class=&quot;alt2&quot;><img src=&quot;$stylevar[imgdir_statusicon]/thread_hot_new.gif&quot; alt=&quot;$vbphrase[hot_thread_with_new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$vbphrase[hot_thread_with_new_posts]</div></td> <td>&nbsp;</td> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['postnew']&quot;>$vbphrase[you_may_post_new_threads]<else />$vbphrase[you_may_not_post_new_threads] <span lang=&quot;ar-sa&quot;>و</span> </if><if condition=&quot;$can['reply']&quot;>$vbphrase[you_may_post_replies]<else />$vbphrase[you_may_not_post_replies]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;misc.php?$session[sessionurl]do=bbcode&quot; 2=&quot;$bbcodeon&quot;> $vbphrase[bb_code_is_x]</phrase></div></td> </tr> <tr> <td class=&quot;alt2&quot;><img src=&quot;$stylevar[imgdir_statusicon]/thread.gif&quot; alt=&quot;$vbphrase[no_new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$vbphrase[no_new_posts]</div></td> <td class=&quot;alt2&quot;><img src=&quot;$stylevar[imgdir_statusicon]/thread_hot.gif&quot; alt=&quot;$vbphrase[hot_thread_with_no_new_posts]&quot; border=&quot;0&quot; /></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$vbphrase[hot_thread_with_no_new_posts]</div></td> <td>&nbsp;</td> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['attachment']&quot;>$vbphrase[you_may_post_attachments]<else />$vbphrase[you_may_not_post_attachments]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;misc.php?$session[sessionurl]do=showsmilies&quot; 2=&quot;$smilieson&quot;> $vbphrase[smilies_are_x]</phrase></div></td> </tr> <tr> <td class=&quot;alt2&quot;><img src=&quot;$stylevar[imgdir_statusicon]/thread_lock.gif&quot; alt=&quot;$vbphrase[closed_thread]&quot; border=&quot;0&quot; /></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$vbphrase[thread_is_closed]</div></td> <td class=&quot;alt2&quot;> <if condition=&quot;$show['dotthreads']&quot;> <img src=&quot;$stylevar[imgdir_statusicon]/thread_dot.gif&quot; alt=&quot;$vbphrase[thread_contains_a_message_written_by_you]&quot; border=&quot;0&quot; /></if></td> <td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;> <if condition=&quot;$show['dotthreads']&quot;> $vbphrase[you_have_posted_in_this_thread]</if></div></td> <td>&nbsp;</td> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['editpost']&quot;>$vbphrase[you_may_edit_your_posts]<else />$vbphrase[you_may_not_edit_your_posts]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;misc.php?$session[sessionurl]do=bbcode#imgcode&quot; 2=&quot;$imgcodeon&quot;> $vbphrase[img_code_is_x]</phrase></div></td> </tr> </tbody> </table> <!-- / End IconKey in Forumdisplay [Edit by ca2oom And T.D.D] --> <else /> <!-- forumrules [Edit by ca2oom And T.D.D] --> <table width=&quot;450&quot; border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;$stylevar[cellspacing]&quot; class=&quot;tborder&quot;> <thead> <tr> <td class=&quot;thead&quot; colspan=&quot;2&quot;> <a style=&quot;float:$stylevar[right]&quot; href=&quot;#top&quot; onclick=&quot;return toggle_collapse('forumrules')&quot;><img id=&quot;collapseimg_forumrules&quot; src=&quot;$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif&quot; alt=&quot;إخفاء/عرض&quot; border=&quot;0&quot; /></a> $vbphrase[posting_rules]</td> </tr> </thead> <tbody id=&quot;collapseobj_forumrules&quot; style=&quot;$vbcollapse[collapseobj_forumrules]&quot;> <tr> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['postnew']&quot;>$vbphrase[you_may_post_new_threads]<else />$vbphrase[you_may_not_post_new_threads] <span lang=&quot;ar-sa&quot;>و </span> </if><if condition=&quot;$can['reply']&quot;>$vbphrase[you_may_post_replies]<else />$vbphrase[you_may_not_post_replies]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;misc.php?$session[sessionurl]do=bbcode&quot; 2=&quot;$bbcodeon&quot;>$vbphrase[vb_code_is_x]</phrase> , <phrase 1=&quot;misc.php?$session[sessionurl]do=showsmilies&quot; 2=&quot;$smilieson&quot;>$vbphrase[smilies_are_x]</phrase></div></td> </tr> <tr> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['attachment']&quot;>$vbphrase[you_may_post_attachments]<else />$vbphrase[you_may_not_post_attachments]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;misc.php?$session[sessionurl]do=bbcode#imgcode&quot; 2=&quot;$imgcodeon&quot;>$vbphrase[img_code_is_x]</phrase></div></td> </tr> <tr> <if condition=&quot;!$show['codeonly']&quot;> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><if condition=&quot;$can['editpost']&quot;>$vbphrase[you_may_edit_your_posts]<else />$vbphrase[you_may_not_edit_your_posts]</if></div></td></if> <td class=&quot;alt1&quot; nowrap=&quot;nowrap&quot;><div class=&quot;smallfont&quot;><phrase 1=&quot;$htmlcodeon&quot;>$vbphrase[html_code_is_x]</phrase></div></td> </tr> </tbody> </table> <!-- / End forumrules [Edit by ca2oom And T.D.D] --> </if>
واحفظ القالب template ..
~
انتهى التعديل ..
~
اي شئ بخصوص التعديل انا حاظر ..
~
اخوكم//راضي




التعديل الأخير كان بواسطة T.D.D; 25 - 05 - 2014 الساعة 22:04 السبب: تعديل الصور




©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©