السلام عليكم
مشكلتي هي عند الدخول متلا http://localhost/vb تدخل المجلة اولا
كيف اجعل المنتدى يدخل اولا
السلام عليكم
مشكلتي هي عند الدخول متلا http://localhost/vb تدخل المجلة اولا
كيف اجعل المنتدى يدخل اولا
يمكنك ذلك بعدة طرق و سأذكر أسهل طريقة
قم بفتح ملف index.php في مجلد المنتدي
و ابحث عن
ثم قم باستبدالكود:* Use the CMS as the default script: */ require('content.php'); /** * Use the forum as the default script: */ require('forum.php');
ب الكود التاليكود:require('content.php');
و إليك ملف ال index.php كاملا بعد التعديلكود:// require('forum.php');
كود:<?php /*======================================================================*\ || #################################################################### || || # vBulletin 4.0.6 || # ---------------------------------------------------------------- # || || # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || #################################################################### || \*======================================================================*/ /** * If you want to move this file to the root of your website, change this * line to your vBulletin directory and uncomment it (delete the //). * * For example, if vBulletin is installed in '/forum' the line should * state: * * define('VB_RELATIVE_PATH', 'forum'); * * Note: You may need to change the cookie path of your vBulletin * installation to enable your users to log in at the root of your website. * If you move this file to the root of your website then you should ensure * the cookie path is set to '/'. * * See 'Admin Control Panel * ->Cookies and HTTP Header Options * ->Path to Save Cookies */ //define('VB_RELATIVE_PATH', 'forums'); // Do not edit. if (defined('VB_RELATIVE_PATH')) { chdir('./' . VB_RELATIVE_PATH); } /** * You can choose the default script here. Uncomment the appropriate line * to set the default script. Note: Only uncomment one of these, you must * add // to comment out the script(s) that you DO NOT want to use as your * default script. * * You can choose the default script even if you do not plan to move this * file to the root of your website. */ /** * Use the CMS as the default script: */ // require('forum.php'); /** * Use the forum as the default script: */ // require('forum.php'); /*======================================================================*\ || #################################################################### || # || # CVS: $RCSfile$ - $Revision: 31201 $ || #################################################################### \*======================================================================*/
عرب سكربت مافيا : عرب سكربت مافيا
الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)
مواقع النشر (المفضلة)