المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : عرض اخر المشاركات والردود بطريقه تماثل حلم النسيان بنسبه 70%



said
10-31-2013, بتوقيت غرينيتش 02:14 AM
http://www.dzbatna.com/images/icons/iconrote.gif ط¹ط±ط¶ ط§ط®ط± ط§ظ„ظ…ط´ط§ط±ظƒط§طھ ظˆط§ظ„ط±ط¯ظˆط¯ ط¨ط·ط±ظٹظ‚ظ‡ طھظ…ط§ط«ظ„ ط*ظ„ظ… ط§ظ„ظ†ط³ظٹط§ظ† ط¨ظ†ط³ط¨ظ‡ 70% (http://www.dzbatna.com/t1497430/)



بسم الله الرحمن الرحيم

ان شاء الله رح نطبق اليوم طريقه الاخ وهم بنسبه 70%

بعون الله تعالى


المثال اولا

منتديات لمسه حنان (http://74.81.174.204/%7Ewwllssc/vb/index.php?styleid=1)


صوره للمثال

http://www.a6l8.com/up//uploads/images/11-a737592212.jpg

القوالب المراد التعديل عليها

FORUMHOME
FORUMDISPLAY
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post
forumhome_lastpostby


اولا قالب template
FORUMHOME
نبحث عن
رمز PHP:

<code style="white-space:nowrap"> <code> <td class="thead">$vbphrase&#91;threads&#93;</td>
<td class="thead">$vbphrase&#91;posts&#93;</td>
<if condition="$vboptions&#91;'showmoderatorcolumn'&#93;">
<td class="thead">$vbphrase&#91;moderator&#93;</td>
</code> </code>

ونقوم بحذفها

ونحفظ القالب template


الان قالب template
FORUMDISPLAY

نبحث عن
رمز PHP:

<code style="white-space:nowrap"> <code> <td class="thead">$vbphrase&#91;threads&#93;</td>
<td class="thead">$vbphrase&#91;posts&#93;</td>
<if condition="$vboptions&#91;showmoderatorcolumn&#93;">
<td class="thead">$vbphrase&#91;moderator&#93;</td>
</code> </code>


ونقوم بحذفها ايضاً ونحفظ القالب template

طبعا الكل رح يسال لماذا تم حذف هذه القوالب ؟؟؟

الجواب : علشان نزيل عدد الردود + عدد المواضيع + المشرفين من الرئيسيه للموقع


الان القوالب التي تحتاج الى تغيير

قالب template forumhome_forumbit_level1_post
احذف جميع ما بداخله واستبدله بالتالي
رمز PHP:

<code style="white-space:nowrap"> <code> <tr align="center">



<td class="alt2"><img src="$stylevar&#91;imgdir_statusicon&#93;/forum_$forum&#91;statusicon&#93;.gif" alt="" border="0" /></td>

<td class="alt1Active" align="$stylevar&#91;left&#93;" id="f$forum&#91;forumid&#93;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>$forum&#91;forumhomeicon&#93;</td>
<td>
<div>
<a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;foru mid&#93;"><strong>$forum&#91;title&#93;</strong></a>
<if condition="$show&#91;'browsers'&#93;"><span class="smallfont">(<phrase 1="$forum&#91;browsers&#93;">$vbphrase&#91;x_viewing&#93;</phrase>)</span></if>
</div>
<if condition="$show&#91;'forumdescription'&#93;"><div class="smallfont">$forum&#91;description&#93;</div></if>
<if condition="$show&#91;'forumsubscription'&#93;"><div class="smallfont"><strong><a href="subscription.php?$session&#91;sessionurl&#93;do=removesubs cription&amp;f=$forum&#91;forumid&#93;">$vbphrase&#91;unsubscribe_from_this_forum&#93;</a></strong></div></if>
<if condition="$show&#91;'subforums'&#93;"><div class="smallfont" style="margin-top:$stylevar&#91;cellpadding&#93;px"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>

</td>
</tr>
</table>
</td>
<td class="alt2" nowrap="nowrap">$forum&#91;lastpostinfo&#93;</td>
</tr>
$childforumbits
$forumbit_advertisement
</code> </code>


قالب template forumhome_forumbit_level2_post
احذف جميع ما بداخله واستبدله بالتالي
رمز PHP:

<code style="white-space:nowrap"> <code> <tr align="center">
<td class="alt2"><img src="$stylevar&#91;imgdir_statusicon&#93;/forum_$forum&#91;statusicon&#93;.gif" alt="" border="0" /></td>

<td class="alt1Active" align="$stylevar&#91;left&#93;" id="f$forum&#91;forumid&#93;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>$forum&#91;forumhomeicon&#93;</td>
<td>
<div>
<a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;foru mid&#93;"><strong>$forum&#91;title&#93;</strong></a>
<if condition="$show&#91;'browsers'&#93;"><span class="smallfont">(<phrase 1="$forum&#91;browsers&#93;">$vbphrase&#91;x_viewing&#93;</phrase>)</span></if>
</div>
<if condition="$show&#91;'forumdescription'&#93;"><div class="smallfont">$forum&#91;description&#93;</div></if>
<if condition="$show&#91;'forumsubscription'&#93;"><div class="smallfont"><strong><a href="subscription.php?$session&#91;sessionurl&#93;do=removesubs cription&amp;f=$forum&#91;forumid&#93;">$vbphrase&#91;unsubscribe_from_this_forum&#93;</a></strong></div></if>
<if condition="$show&#91;'subforums'&#93;"><div class="smallfont" style="margin-top:$stylevar&#91;cellpadding&#93;px"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>

</td>
</tr>
</table>
</td>
<td class="alt2" nowrap="nowrap">$forum&#91;lastpostinfo&#93;</td>
</tr>
$childforumbits
$forumbit_advertisement
</code> </code>

قالب template forumhome_lastpostby
احذف جميع ما بداخله واستبدله بالتالي
رمز PHP:

<code style="white-space:nowrap"> <code> <if condition="$show&#91;'lastpostinfo'&#93;">
<div class="smallfont" align="$stylevar&#91;left&#93;">
<div>
<span style="white-space:nowrap">
<if condition="$show&#91;'icon'&#93;"><img class="inlineimg" src="$icon&#91;iconpath&#93;" alt="$icon&#91;title&#93;" border="0" /></if>
<if condition="$lastpostinfo&#91;'prefix'&#93;">
$lastpostinfo&#91;prefix&#93;
</span><if condition="is_browser('safari')"><!--bug#24775-->&nbsp;</if>
<span style="white-space:nowrap">
</if>
<a href="showthread.php?$session&#91;sessionurl&#93;goto=newpost&amp;t= $lastpostinfo&#91;lastthreadid&#93;" style="white-space:nowrap" title="<phrase 1="$lastpostinfo&#91;lastthread&#93;">$vbphrase&#91;go_first_unread_in_thread_x&#93;</phrase>"><strong>$lastpostinfo&#91;trimthread&#93;</strong></a></span>
</div>
<div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar&#91;left&#93;</if>">
<phrase 1="member.php?$session&#91;sessionurl&#93;find=lastposter&amp;f=$ lastpostinfo&#91;forumid&#93;" 2="$lastpostinfo&#91;lastposter&#93;">$vbphrase&#91;by_x&#93;</phrase>
</div>
<div align="$stylevar&#91;right&#93;" style="white-space:nowrap">
$lastpostinfo&#91;lastpostdate&#93; <if condition="!$show&#91;'detailedtime'&#93;"><span class="time">$lastpostinfo&#91;lastposttime&#93;</span></if>
<a href="showthread.php?$session&#91;sessionurl&#93;p=$lastpostinfo &#91;lastpostid&#93;#post$lastpostinfo&#91;lastpostid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/lastpost.gif" alt="$vbphrase&#91;go_to_last_post&#93;" border="0" /></a>
</div>
</div>
<else />
<div class="smallfont" align="$stylevar&#91;right&#93;">
<p style="margin-top: 2px">$lastpostinfo&#91;lastpostdate&#93; <if condition="!$show&#91;'detailedtime'&#93;"><span class="time">$lastpostinfo&#91;lastposttime&#93;</span></if>
<a href="showthread.php?$session&#91;sessionurl&#93;p=$lastpostinfo &#91;lastpostid&#93;"><img class="inlineimg" src="$stylevar&#91;imgdir_button&#93;/lastpost.gif" alt="$vbphrase&#91;go_to_last_post&#93;" border="0" /></a>
</div>
</if>
<table width="100%" border="0" cellpadding="4" cellspacing="0" id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}; border: 1px dotted #89959B;">
<tr>
<td style="border-left: 7px solid #FD9207;" dir="ltr"><div class="smallfont" align="$stylevar&#91;left&#93;">
<p align="center" style="margin-top: 1px">
<font color="#000000"> $vbphrase&#91;threads&#93;: $forum&#91;threadcount&#93; -
$vbphrase&#91;posts&#93;: $forum&#91;replycount&#93; <if condition="$forum&#91;moderators&#93; == ''"><else />
- $vbphrase&#91;moderators&#93;: $forum&#91;moderators&#93;</font></if></div></td>
</tr>
</table>
</code> </code>


طبعا اللون الاصفر الي ظاهر لكم تقدرو توخذو الكود code في لفرونتبيج وتعدلو عليه زي ما تحبو


وان شاء الله نكون وفقنا في الشرح طريقة وايصال الفائده للجميع يا رب

دعواتكم لنا يا طيبين
http://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gif











ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى