السلام عليكم
اليوم جايب لكم شكل جديد في عالم المنتديات
للشكل الخارجي للمنتدى
متعودين على الجداول العاديه
اللي هي اول عمود يكون ايقونه والعمود اللي بعده يكون اسم القسم وبعده معلومات اخر موضوع وهكذا
اليوم فيه شكل جديد يحتاج الى تعديل بعض القوالب
قبل لانبدأ راح اعرض الشكل مع الشرح طريقة .. يمكن مايعجبك ولا تكمل الموضوع
http://www.dzbatna.com/images/smilies/bleh.gif
الشكل الخارجي الجديد + الشرح طريقة العام له
http://upload.dzbatna.net/upfiles/1xj07413.jpg
مثال حي: http://www.aoubh.com/vb
واختر من الاسفل استايل style
default 3.8.3
أكيد عجبك صح ..
http://www.dzbatna.com/images/smilies/icon30.gif
طيب خلنا نبدأ الشغل
http://www.dzbatna.com/images/smilies/icon30.gif
أول شي تنبيه للجميع .. احفظ نسخه من القالب template قبل التعديل عليه ..
والتعديلات صالحه فقط للاستايل style المتمدد .. ولم اجربها على الاستايل style الغير متمدد
القوالب اللتي سوف يتم التعديل عليها هي:
Forumhome
Forumdisplay
forumhome_forumbit_level2_post
forumhome_forumbit_level1_post
forumhome_forumbit_level1_nopost
forumhome_lastpostby
بسم الله نبدأ
نفتح قالب template
Forumhome
ابحث عن
رمز PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]td>
<td class="thead">$vbphrase[last_post]td>
<td class="thead">$vbphrase[threads]td>
<td class="thead">$vbphrase[posts]td>
condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]td>
tr>
thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="$vboptions['showmoderatorcolumn']">65"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]a>
condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]a>
strong>div>td>
tr>
tbody>
table>
$forumhome_markread_script
واستبدله بالتالي
رمز PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
<tbody>
table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tfoot" align="center" colspan="$vboptions['showmoderatorcolumn']">65"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]a>
condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]a>
strong>div>td>
tr>
tbody>
table>
$forumhome_markread_script
واحفظ
بعد ذلك افتح قالب template
Forumdisplay
وابحث عن التالي
رمز PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]td>
<td class="thead">$vbphrase[last_post]td>
<td class="thead">$vbphrase[threads]td>
<td class="thead">$vbphrase[posts]td>
condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]td>
tr>
thead>
$forumbits
table>
واستبدله بالتالي
رمز PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
table>
واحفظ
بعد ذلك افتح قالب template
forumhome_forumbit_level2_post
وساتبدل مابداخله بالتالي
رمز PHP:
<tr align="center">
<td class="alt1Active" width="100%">
<span style="float: left;"><font face="Tahoma"><span style="font-size: 8pt">المواضيع:span>font>
<span style="font-size: 8pt">$forum[threadcount]span>
<font face="Tahoma"><span style="font-size: 8pt">الردود:span>font>
<span style="font-size: 8pt">$forum[replycount]span> <br />condition="$vboptions['showmoderatorcolumn']">
<font face="Tahoma"><span style="font-size: 8pt">المراقبين:span>font>
<font face="Tahoma"><span style="font-size: 8pt">$forum[moderators]span>font>span>
<div style="float: right;">div>
<span style="float: left;"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> span>
<div style="float:right;">
<div align="right">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]strong>a>div>
condition="$show['forumdescription']"><div class="smallfont">
<div align="right">$forum[description]div>div>
condition="$show['forumsubscription']"><div class="smallfont" style="margin-top: 6px;">
<div align="right"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]a>strong>div>div>
condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><div align="right"><strong>$vbphrase[subforums]strong>: $forum[subforums]div>div>
div>
td>
tr>
<tr><td class="alt2"><div align="right">$forum[lastpostinfo]div>td>tr>
$childforumbits
واحفظ
والآن افتح قالب template
forumhome_forumbit_level1_post
واستبدل مابداخله بالتالي
رمز PHP:
condition="!$show['collapsable_forums']">
<tbody>
<tr align="center">
<td class="alt1Active" width="100%">
<span style="float: left;"><font face="Tahoma" style="font-size: 8pt">المواضيع:font>
<span style="font-size: 8pt">$forum[threadcount]span> <font face="Tahoma">
<span style="font-size: 8pt">الردود: span>font><span style="font-size: 8pt">$forum[replycount]span>
span>
<div style="float: right;">div>
<span style="float: left;"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> span>
<div align="right" id="f$forum[forumid]">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]strong>a>div>
div>
condition="$show['forumdescription']"><div class="smallfont">
<div align="right">$forum[description]div>div>
condition="$show['forumsubscription']"><div class="smallfont"><div align="right">
<strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]a>strong>div>div>
condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"> <div align="right"><strong>$vbphrase[subforums]strong>: $forum[subforums]div>div>
tr>
<tr>
<td class="alt2" colspan="2"><div align="right">$forum[lastpostinfo]div>td>tr>
condition="!$show['collapsable_forums']">
tbody>
condition="$childforumbits">
condition="!$show['collapsable_forums']">
<tbody>
$childforumbits
condition="!$show['collapsable_forums']">
tbody>
واحفظ
والآن نفتح قالب template
forumhome_forumbit_level1_nopost
ونستبدل مابداخله بالتالي
رمز PHP:
condition="!$show['collapsable_forums']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="$vboptions[showmoderatorcolumn]">21">
condition="$childforumbits">
<a style="float:$stylevar[left]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" />a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]a>
condition="$show['forumdescription']"><div class="smallfont">$forum[description]div>
condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]strong>: $forum[subforums]div>
td>
tr>
condition="!$show['collapsable_forums']">
tbody>
condition="$childforumbits">
condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
condition="!$show['collapsable_forums']">
tbody>
table>
<div style="padding: 0 0 15px 0;">div>
واحفظ
آخر تعديل .. نفتح قالب template
forumhome_lastpostby
ونستبدل مابداخله بالتالي
رمز PHP:
condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
<div>
<span style="white-space:nowrap">
condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" />
condition="$lastpostinfo['prefix']">
$lastpostinfo[prefix]
span>condition="is_browser('safari')">
<span style="white-space:nowrap">
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]"><strong>$lastpostinfo[trimthread]strong>a>span>
div>
<table border="0" width="46%" id="table1">
<tr>
<td width="83"><div style="white-space:nowrapis_browser('ie', 6)">; float:$stylevar[left]">
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]phrase>
td>
<td><div align="$stylevar[right]" style="white-space:nowrap">
<p align="right">$lastpostinfo[lastpostdate] condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]span>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" />a>
td>
tr>
table>
div>
div>
div>
<div class="smallfont" align="$stylevar[right]">
<p align="center">$lastpostinfo[lastpostdate] 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>
div>
واحفظ
وبكذا نكون انتهينا وحصلت على الشكل الجديد
ان شاء الله اكون وفقت بالشرح طريقة
http://www.dzbatna.com/images/smilies/icon31.gif
وأي استفسار أو تعديل حسب طلبك .. انا حاضر
http://www.dzbatna.com/images/smilies/smoke1.gif
جميع محتوى الموضوع قابل للنشر ..
ولكن اتمنى حفظ حقوق الملكيه لي .. ولمنتديات ديزاد باتنة
++++++++++
+ والسلام ختام
+
++++++++++