salima
11-01-2013, بتوقيت غرينيتش 10:25 PM
السلام عليكم ورحمة الله وبركاته
تحية طيبة وبعد..
نرحب فيكم جميعا في معهد (http://www.lifevb.com/vb) لايف (http://www.lifevb.com/vb) في بي (http://www.lifevb.com/) التطويري (http://www.lifevb.com/vb/showthread.php?t=87) ..
طبعا الدرس مفصل الاول (http://www.lifevb.com/vb/showthread.php?t=87)عرفنا محركات البحث .. وكيفية عملها .. ومعنى الـ SEO
الدرس مفصل الثاني: وهو تهيئة المنتدى forum لمحركات البحث (1) (http://www.lifevb.com/vb/showthread.php?t=94)
طيب اللحين نبدا الدرس مفصل .. الي بنسويه .. بنعدل على قوال الاستايل style ..
بيكون شغلنا في هذا الدرس مفصل كله التعديل على قوالب الاستايل style لاهميتها ..
يعني لارشفة indexation افضل .. بنحذف بعض الاكواد ونضيف غيرها http://www.lifevb.com/vb/images/smilies/smile.gif
او شيء .. حذف اسم المنتدى forum من جانب اسم الموضوع
ندخل على لوحة التحكم > الاستايل styleات والقوالب > البحث في القوالب
نبحث عن هذا القالب template SHOWTHREAD
نفتح القالب template ونبحث بداخلة عن رمز PHP:
<code style="white-space:nowrap"> <code> <title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$thread[prefix_plain_html] $thread[title]</title>
</code> </code>
ونحفظ القالب template ...
سنكرر العملية على عدة قوالب
نبحث في القوالب عن FORUMDISPLAY
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$foruminfo[title_clean]</title>
</code> </code>
ونحفظ القالب template..
نبحث في القوالب عن MEMBERINFO
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$vbphrase[view_profile]: $userinfo[username]</title>
</code> </code>
احفظ القالب template
الان نضيف اسم الموضوع في قوالب مهمة لتقويته في قوقل google
نبحث بالقوالب عنshowthread_similarthreads
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> $vbphrase[similar_threads]
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> $vbphrase[similar_threads] للموضوع: $thread[title]
</code> </code>
احفظ القالب template
الحين كذا نكون جهزنا قوالب الاستايل style لمحركات البحث لكن يبقى عندنا اشياء مهمة جدا
تابع معي
اضافة وسوم h1 و h2 للاقسام والمواضيع
للاقسام :
نبحث بالقوالب عن FORUMDISPLAY
افتح القالب template وابحث عن
$navbar
نضيف اسفلها مباشرة
رمز PHP:
<code style="white-space:nowrap"> <code> <!--- Tags ---> <div id="tags"> <h1 align="center"> <a style="text-decoration: none" title="$thread[title]" href="showthread.php?$session[sessionurl]t=$threadid">$thread[title]</a></h1> <h2 align="center"> <a style="text-decoration: none" title="$foruminfo[title_clean]" href="forumdisplay.php?$session[sessionurl]f=$forumid">$foruminfo[title_clean]</a></h2> </div> <!--- // Tags --->
</code> </code>
واحفظ القالب template ..
للمواضيع
نبحث بالقوالب عن SHOWTHREAD
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> $navbar
</code> </code>
ضيف اسفله مباشرة
رمز PHP:
<code style="white-space:nowrap"> <code> <!-- Tags --> <div id="tags"> <h1 align="center"> <a style="text-decoration: none" title="$thread[title]" href="showthread.php?$session[sessionurl]t=$threadid">$thread[title]</a></h1> <h2 align="center"> <a style="text-decoration: none" title="$foruminfo[title_clean]" href="forumdisplay.php?$session[sessionurl]f=$forumid">$foruminfo[title_clean]</a></h2> </div> <!-- // Tags -->
</code> </code>
احفظ القالب template ..
عارف انكم تعبتوا من التعديل بالقوالب باقي اخر قالب template نعدل عليه
طبعا على شان اخفف عليكم يابعدي
ارفقتلكم القالب template بالكامل ..
ابحث عن القالب template tag_search
امسحة بالكامل
وضع بداله هذا القالب template
رمز PHP:
<code style="white-space:nowrap"> <code> $stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$tag[tagtext] </title> <if condition="$show['inlinemod']"> <meta name="keywords" content="$tag[tagtext]"> <meta name="description" content="$tag[tagtext]"> <script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if> </head> <body> $header $navbar <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> <p><h1 align="center">$tag[tagtext]</h1></p> </if> <form action="inlinemod.php" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> <tr> <td class="tcat" colspan="$columncount"><phrase 1="$tag[tagtext]">$vbphrase[threads_tagged_with_x]</phrase></td> </tr> <tr> <if condition="$show['threadicons']"> <td class="thead" colspan="2"> </td> <else /> <td class="thead"> </td> </if> <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td> <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td> <td class="thead" width="25%">$vbphrase[forum]</td> <if condition="$show['inlinemod']"> <if condition="$show['popups']"> <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td> <else /> <td class="thead" align="center"> <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" /> </td> </if> </if> </tr> $threadbits </table> <if condition="$show['ajax_js']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simplev ersion]"></script> <script type="text/javascript"> <!-- في بي vB_AJAX_Threadlist_Init('threadslist'); var titlemaxchars = parseInt("$vboptions[titlemaxchars]"); //--> </script> </if> <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </tr> </table> </if> <if condition="$show['inlinemod']"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <td align="$stylevar[right]"> <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]"> <strong>$vbphrase[moderation]</strong><br /> <select name="do"> <if condition="$show['deletethread'] OR $show['spamctrls'] OR $show['openthread'] OR $show['approvethread'] OR $show['movethread'] OR $template_hook['inlinemod_thread_bottom']"> <optgroup label="$vbphrase[option]"> <if condition="$show['deletethread']"> <option value="deletethread">$vbphrase[delete_threads]</option> <option value="undeletethread">$vbphrase[undelete_threads]</option> </if> <if condition="$show['spamctrls']"> <option value="spamthread">$vbphrase[delete_threads_as_spam]</option> </if> <if condition="$show['openthread']"> <option value="open">$vbphrase[open_threads]</option> <option value="close">$vbphrase[close_threads]</option> </if> <if condition="$show['approvethread']"> <option value="approvethread">$vbphrase[approve_threads]</option> <option value="unapprovethread">$vbphrase[unapprove_threads]</option> </if> <if condition="$show['movethread']"> <option value="stick">$vbphrase[stick_threads]</option> <option value="unstick">$vbphrase[unstick_threads]</option> <option value="movethread">$vbphrase[move_threads]</option> <option value="mergethread">$vbphrase[merge_threads]</option> </if> $template_hook[inlinemod_thread_bottom] </optgroup> </if> <optgroup label="____________________"> <option value="viewthread">$vbphrase[view_selected_threads]</option> <option value="clearthread">$vbphrase[clear_thread_list]</option> </optgroup> </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" /> <script type="text/javascript"> <!-- inlineMod = new في بي vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]'); //--> </script> </div> </td> </tr> </table> </if> </form> <if condition="$show['inlinemod'] AND $show['popups']"> <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]"> $threadadmin_imod_menu </div> </if> $footer </body> </html>
</code> </code>
الحمدلله
بعد تعب وجهد انتهينا من الدرس مفصل الثاني الجزء الاول باقي جزء ثاني http://www.lifevb.com/vb/images/smilies/biggrin.gif
طبعا هذا الدرس مفصل (http://www.lifevb.com/)مهم جدا للارشفة indexation المنتدى forum والمواضيع بمحركات البحث خاصة حبيب القلب قوقل google
ولا تنسوا موضوع الإستفسارات الخاص بالدرس مفصل
استفسارات الدرس مفصل الثاني (http://www.lifevb.com/vb/showthread.php?p=249#post249)
بإنتظار تفاعلكم http://www.lifevb.com/vb/images/smilies/smile.gif
والله الموفق
اخوكم : كــ ش ــكــوولــ (http://www.d-shr.con/vb)
من فضلكم ممنوع النقل إلا بعد ذكر المصدر (http://www.lifevb.com/vb/showthread.php?t=87)
معهد لايف فى بى (http://www.lifevb.com/)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
تحية طيبة وبعد..
نرحب فيكم جميعا في معهد (http://www.lifevb.com/vb) لايف (http://www.lifevb.com/vb) في بي (http://www.lifevb.com/) التطويري (http://www.lifevb.com/vb/showthread.php?t=87) ..
طبعا الدرس مفصل الاول (http://www.lifevb.com/vb/showthread.php?t=87)عرفنا محركات البحث .. وكيفية عملها .. ومعنى الـ SEO
الدرس مفصل الثاني: وهو تهيئة المنتدى forum لمحركات البحث (1) (http://www.lifevb.com/vb/showthread.php?t=94)
طيب اللحين نبدا الدرس مفصل .. الي بنسويه .. بنعدل على قوال الاستايل style ..
بيكون شغلنا في هذا الدرس مفصل كله التعديل على قوالب الاستايل style لاهميتها ..
يعني لارشفة indexation افضل .. بنحذف بعض الاكواد ونضيف غيرها http://www.lifevb.com/vb/images/smilies/smile.gif
او شيء .. حذف اسم المنتدى forum من جانب اسم الموضوع
ندخل على لوحة التحكم > الاستايل styleات والقوالب > البحث في القوالب
نبحث عن هذا القالب template SHOWTHREAD
نفتح القالب template ونبحث بداخلة عن رمز PHP:
<code style="white-space:nowrap"> <code> <title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$thread[prefix_plain_html] $thread[title]</title>
</code> </code>
ونحفظ القالب template ...
سنكرر العملية على عدة قوالب
نبحث في القوالب عن FORUMDISPLAY
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$foruminfo[title_clean]</title>
</code> </code>
ونحفظ القالب template..
نبحث في القوالب عن MEMBERINFO
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> <title>$vbphrase[view_profile]: $userinfo[username]</title>
</code> </code>
احفظ القالب template
الان نضيف اسم الموضوع في قوالب مهمة لتقويته في قوقل google
نبحث بالقوالب عنshowthread_similarthreads
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> $vbphrase[similar_threads]
</code> </code>
استبدله بـ
رمز PHP:
<code style="white-space:nowrap"> <code> $vbphrase[similar_threads] للموضوع: $thread[title]
</code> </code>
احفظ القالب template
الحين كذا نكون جهزنا قوالب الاستايل style لمحركات البحث لكن يبقى عندنا اشياء مهمة جدا
تابع معي
اضافة وسوم h1 و h2 للاقسام والمواضيع
للاقسام :
نبحث بالقوالب عن FORUMDISPLAY
افتح القالب template وابحث عن
$navbar
نضيف اسفلها مباشرة
رمز PHP:
<code style="white-space:nowrap"> <code> <!--- Tags ---> <div id="tags"> <h1 align="center"> <a style="text-decoration: none" title="$thread[title]" href="showthread.php?$session[sessionurl]t=$threadid">$thread[title]</a></h1> <h2 align="center"> <a style="text-decoration: none" title="$foruminfo[title_clean]" href="forumdisplay.php?$session[sessionurl]f=$forumid">$foruminfo[title_clean]</a></h2> </div> <!--- // Tags --->
</code> </code>
واحفظ القالب template ..
للمواضيع
نبحث بالقوالب عن SHOWTHREAD
افتح القالب template وابحث عن
رمز PHP:
<code style="white-space:nowrap"> <code> $navbar
</code> </code>
ضيف اسفله مباشرة
رمز PHP:
<code style="white-space:nowrap"> <code> <!-- Tags --> <div id="tags"> <h1 align="center"> <a style="text-decoration: none" title="$thread[title]" href="showthread.php?$session[sessionurl]t=$threadid">$thread[title]</a></h1> <h2 align="center"> <a style="text-decoration: none" title="$foruminfo[title_clean]" href="forumdisplay.php?$session[sessionurl]f=$forumid">$foruminfo[title_clean]</a></h2> </div> <!-- // Tags -->
</code> </code>
احفظ القالب template ..
عارف انكم تعبتوا من التعديل بالقوالب باقي اخر قالب template نعدل عليه
طبعا على شان اخفف عليكم يابعدي
ارفقتلكم القالب template بالكامل ..
ابحث عن القالب template tag_search
امسحة بالكامل
وضع بداله هذا القالب template
رمز PHP:
<code style="white-space:nowrap"> <code> $stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$tag[tagtext] </title> <if condition="$show['inlinemod']"> <meta name="keywords" content="$tag[tagtext]"> <meta name="description" content="$tag[tagtext]"> <script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if> </head> <body> $header $navbar <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> <p><h1 align="center">$tag[tagtext]</h1></p> </if> <form action="inlinemod.php" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> <tr> <td class="tcat" colspan="$columncount"><phrase 1="$tag[tagtext]">$vbphrase[threads_tagged_with_x]</phrase></td> </tr> <tr> <if condition="$show['threadicons']"> <td class="thead" colspan="2"> </td> <else /> <td class="thead"> </td> </if> <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td> <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td> <td class="thead" width="25%">$vbphrase[forum]</td> <if condition="$show['inlinemod']"> <if condition="$show['popups']"> <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td> <else /> <td class="thead" align="center"> <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" /> </td> </if> </if> </tr> $threadbits </table> <if condition="$show['ajax_js']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simplev ersion]"></script> <script type="text/javascript"> <!-- في بي vB_AJAX_Threadlist_Init('threadslist'); var titlemaxchars = parseInt("$vboptions[titlemaxchars]"); //--> </script> </if> <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </tr> </table> </if> <if condition="$show['inlinemod']"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <td align="$stylevar[right]"> <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]"> <strong>$vbphrase[moderation]</strong><br /> <select name="do"> <if condition="$show['deletethread'] OR $show['spamctrls'] OR $show['openthread'] OR $show['approvethread'] OR $show['movethread'] OR $template_hook['inlinemod_thread_bottom']"> <optgroup label="$vbphrase[option]"> <if condition="$show['deletethread']"> <option value="deletethread">$vbphrase[delete_threads]</option> <option value="undeletethread">$vbphrase[undelete_threads]</option> </if> <if condition="$show['spamctrls']"> <option value="spamthread">$vbphrase[delete_threads_as_spam]</option> </if> <if condition="$show['openthread']"> <option value="open">$vbphrase[open_threads]</option> <option value="close">$vbphrase[close_threads]</option> </if> <if condition="$show['approvethread']"> <option value="approvethread">$vbphrase[approve_threads]</option> <option value="unapprovethread">$vbphrase[unapprove_threads]</option> </if> <if condition="$show['movethread']"> <option value="stick">$vbphrase[stick_threads]</option> <option value="unstick">$vbphrase[unstick_threads]</option> <option value="movethread">$vbphrase[move_threads]</option> <option value="mergethread">$vbphrase[merge_threads]</option> </if> $template_hook[inlinemod_thread_bottom] </optgroup> </if> <optgroup label="____________________"> <option value="viewthread">$vbphrase[view_selected_threads]</option> <option value="clearthread">$vbphrase[clear_thread_list]</option> </optgroup> </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" /> <script type="text/javascript"> <!-- inlineMod = new في بي vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]'); //--> </script> </div> </td> </tr> </table> </if> </form> <if condition="$show['inlinemod'] AND $show['popups']"> <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]"> $threadadmin_imod_menu </div> </if> $footer </body> </html>
</code> </code>
الحمدلله
بعد تعب وجهد انتهينا من الدرس مفصل الثاني الجزء الاول باقي جزء ثاني http://www.lifevb.com/vb/images/smilies/biggrin.gif
طبعا هذا الدرس مفصل (http://www.lifevb.com/)مهم جدا للارشفة indexation المنتدى forum والمواضيع بمحركات البحث خاصة حبيب القلب قوقل google
ولا تنسوا موضوع الإستفسارات الخاص بالدرس مفصل
استفسارات الدرس مفصل الثاني (http://www.lifevb.com/vb/showthread.php?p=249#post249)
بإنتظار تفاعلكم http://www.lifevb.com/vb/images/smilies/smile.gif
والله الموفق
اخوكم : كــ ش ــكــوولــ (http://www.d-shr.con/vb)
من فضلكم ممنوع النقل إلا بعد ذكر المصدر (http://www.lifevb.com/vb/showthread.php?t=87)
معهد لايف فى بى (http://www.lifevb.com/)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©