10-02-2009, 03:57 PM
|
رقم المشاركة : 1 |
|
| حركة عرض الاقسام وبطريقه رووعه تميز موقعك عن غيرك (فارس من فريق روابط ) مساء الخير
حركة عرض الاقسام وبطريقه رووعه تميز موقعك عن غيرك
والان اضعها للجميع ليستفيد منها الكل
مثال :
طريقة العمل تحتاج منا التعديل على بعض القوالب
خلو نبداء العمل قالب FORUMHOME
قمب البحث عن التالي ثم حذفه | | | <td class="thead">$vbphrase[last_post]</td>
| قالب FORUMDISPLAY
قمب البحث عن التالي ثم حذفه | | | <td class="thead">$vbphrase[last_post]</td>
|
نقوم باستبدال كل مافي قالب forumhome_forumbit_level1_post
بالتالي : | | | <tbody> <tr align="center"> <td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_lastpostby_$forum[forumid]')"><img id="collapseimg_forumhome_lastpostby_$forum[forumid]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_lastpostby].gif" alt="" border="0" /></a><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> <div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$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> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> </tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if>
|
نقوم بالحفظ
ناتي لقالب forumhome_forumbit_level2_post
نقوم بالبحث عن التالي | | | <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
|
نضيف قبل منه مباشره | | | <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_lastpostby_$forum[forumid]')"><img id="collapseimg_forumhome_lastpostby_$forum[forumid]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_lastpostby].gif" alt="" border="0" /></a>
|
في نفس القالب نبحث عن | | | <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
|
اسفل منه مباشره نضيف | | | <div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div>
|
نبحث عن الكود التالي في نفس القالب ونقوم بحذفه | | | <td class="alt2">$forum[lastpostinfo]</td>
|
نقوم بحفظ العمل
قم الان باستبدال جميع محتوى القالب forumhome_lastpostby
بالتالي : | | | <if condition="$show['lastpostinfo']"> <div style="float:right"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></if> </div> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a> - <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> <else /> <div class="smallfont" align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </if>
|
في حال وجهتك اي مشكله انا حاضر اخوكم فارس مصدر الموضوع : معهد روابط في بي www.rawabetvb.com
وهنا طريقة جميله لتغيير الوان الاقسام بمجرد مرور الماوس بالون الي تختاره http://www.rawabetvb.com/vb/rawabet64721/
آخر تعديل فارس يوم 10-02-2009 في 09:36 PM. |
| | |