ط´ط±ط* ط®ط·ظˆط§طھ طھظ†طµظٹط¨ ظ…ظ†طھط¯ظ‰ VBulletin



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

اليوم ان شاء الله سنتعلم شرح طريقة خطوات تنصيب setup منتدى VBulletin
وسنستخدم اليوم خاصيتين في cpanel منهما الملفات المتوارثة وقواعد البيانات .

متطلبات الدرس مفصل
|~| الدخول الى الـcpanel باللغة العربية لان الشرح طريقة باللغة العربيه |~|

****

بسمه نبدا بالتوجه الى ما تسمى قواعد البيانات MySQL


وسنقوم بإنشاء قاعدة بيانات ونسميها vb




والآن نقوم بإنشاء مستخدم جديد لكي نقوم بدمجه مع قاعدة البيانات ولاحظوا وجود زر مولد كلمة المرور فيرجى ان اردتم استخدامه افضل من اي باسوورد يخطر في بالكم لانه مليء بالرموز وكمى نلاحظ قوة كلمة المرور 100/100





الآن يجب ان نقوم بدمج قاعدة البيانات مع المستخدم الجديد الذي قمنا بإنشائه



يجب اختيار كافة الإمتيازات للتواصل ما بين القاعدة والمستخدم




الآن ناتي الى دور خاصية اخرى وهي ادارة الملفات المتوارثة وعن طريقها نقوم برفع نسخة المنتديات vb


بعد الدخول نقوم بالضغط على كلمة تحميل الملفات

والآن نقوم بإستدعاء نسخة المنتدى forum vb من الجهاز




بعد اختيار الملف قم بالضغط على تحميل


الآن يجب الإنتظار قليلا حتى يتم الرفع ومن ثم استخراج الملفات من الملف vb.zip ولا ياخذ الا 5 ثواني فقط فعندما يقف المتصفح عن التحميل بعد الضغط على استخراج محتويات الملف تغلق الصفحه .


صورة اثناء استخراج الملفات


الآن ناتي لدور التعديل على ملف config.php ويجب التوجه اولا الى ملف includes . ملاحظة : عند الضغط على اسم اي ملف يقوم بإعطائك خصائص للملف او حذفه او اعادة تسميته .... الخ , وعند الضغط على الصورة التي تاتي على يسار الاسم والتي تشبه المجلد يقوم بالدخول للمجلد



الآن نبحث عن config.php ونضغط عليه لنجد قائمة على اليمين فنقوم بإختيار تحرير الملف




الآن نبدا بإضافة قاعدة البيانات + اسم المستخدم + باسوورد المستخدم للملف لنحقق التواصل ما بين الملفات البرمجية الخاصة بالمنتدى forum وما بين ققاعدة البيانات sql .

عند الدخول الى الملف ستجد اكواد برمجية كثيرة

config.php
رمز PHP:
<code style="white-space:nowrap"> <code> <?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # فيبويلتن في بي vBulletin 3.8.7 Patch Level 2
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2014 فيبويلتن في بي vBulletin Solutions, Inc. # ||
|| # 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 # ||
|| ################################################## ################## ||
\*================================================ ======================*/

/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/

// ****** DATABASE TYPE ******
// This is the type of the database server on which your فيبويلتن في بي vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.
$config&#91;'Database'&#93;&#91;'dbtype'&#93; = 'mysql';




// ****** DATABASE NAME ******
// This is the name of the database where your فيبويلتن في بي vBulletin will be located.
// اسم قاعدة البيانات.
$config&#91;'Database'&#93;&#91;'dbname'&#93; = 'v387-Level 2';

// ****** TABLE PREFIX ******
// Prefix that your فيبويلتن في بي vBulletin tables have in the database.
$config&#91;'Database'&#93;&#91;'tableprefix'&#93; = '';

// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// البريد الذي ترسل اليه اخطاء قاعدة البيانات.
$config&#91;'Database'&#93;&#91;'technicalemail'&#93; = '[email protected]';

// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with فيبويلتن في بي vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if فيبويلتن في بي vBulletin recommends it.
$config&#91;'Database'&#93;&#91;'force_sql_mode'&#93; = false;



// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// اسم السيرفر SERVER اتركه كما هو اذا لم يكون هنالك اعداد خاص للسيرفر SERVER.
$config&#91;'MasterServer'&#93;&#91;'servername'&#93; = 'localhost';
$config&#91;'MasterServer'&#93;&#91;'port'&#93; = 3306;

// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// اسم المستخدم لقاعدة البيانات.
$config&#91;'MasterServer'&#93;&#91;'username'&#93; = 'root';
// باسورد قاعدة البيانات.
$config&#91;'MasterServer'&#93;&#91;'password'&#93; = '';

// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config&#91;'MasterServer'&#93;&#91;'usepconnect'&#93; = 0;

// تعطيل الهاك productات.
// لتعطيل الهاك productات قم بالغاء الشرطتين من امام السطر الذي بالاسفل ولتشغيل الهاك productات قم باعادة الشرطتين
//define('DISABLE_HOOKS', true);

// ****** SLAVE DATABASE CONFIGURATION ******
// If you have multiple database backends, this is the information for your slave
// server. If you are not 100% sure you need to fill in this information,
// do not change any of the values here.
$config&#91;'SlaveServer'&#93;&#91;'servername'&#93; = '';
$config&#91;'SlaveServer'&#93;&#91;'port'&#93; = 3306;
$config&#91;'SlaveServer'&#93;&#91;'username'&#93; = '';
$config&#91;'SlaveServer'&#93;&#91;'password'&#93; = '';
$config&#91;'SlaveServer'&#93;&#91;'usepconnect'&#93; = 0;



// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
// This setting allows you to change the name of the folders that the admin and
// moderator control panels reside in. You may wish to do this for security purposes.
// Please note that if you change the name of the directory here, you will still need
// to manually change the name of the directory on the server.
// مسار لوحة تحكم الادارة.
$config&#91;'Misc'&#93;&#91;'admincpdir'&#93; = 'admincp';
// مسار لوحة تحكم المشرفين.
$config&#91;'Misc'&#93;&#91;'modcpdir'&#93; = 'modcp';

// الكوكيز يستحسن تغييره اذا واجهت مشاكل تسجيل الخروج بالمنتدى forum
// 1الى9 او aالىZ
$config&#91;'Misc'&#93;&#91;'*****eprefix'&#93; = 'bb';

// ******** FULL PATH TO FORUMS DIRECTORY ******
// On a few systems it may be necessary to input the full path to your forums directory
// for فيبويلتن في بي vBulletin to function normally. You can ignore this setting unless فيبويلتن في بي vBulletin
// tells you to fill this in. Do not include a trailing slash!
// Example Unix:
// $config&#91;'Misc'&#93;&#91;'forumpath'&#93; = '/home/users/public_html/forums';
// Example Win32:
// $config&#91;'Misc'&#93;&#91;'forumpath'&#93; = 'c:\program files\apache group\apache\htdocs\vBulletin 3';
$config&#91;'Misc'&#93;&#91;'forumpath'&#93; = '';



// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
// The users specified here will be allowed to view the admin log in the control panel.
// Users must be specified by *ID number* here. To obtain a user's ID number,
// view their profile via the control panel. If this is a new installation, leave
// العضويات اللتي تشاهد اللوق
$config&#91;'SpecialUsers'&#93;&#91;'canviewadminlog'&#93; = '1';

// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
// The users specified here will be allowed to remove ("prune") entries from the admin
// العضويات التي تتحكم باللوق.
$config&#91;'SpecialUsers'&#93;&#91;'canpruneadminlog'&#93; = '1';

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// ارقام العضويات اللتي لها صلاحية الاستعلام بالقاعدة
$config&#91;'SpecialUsers'&#93;&#91;'canrunqueries'&#93; = '';

// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// رقم العضويات التي تريد حمايتها من الحذف
$config&#91;'SpecialUsers'&#93;&#91;'undeletableusers'&#93; = '';

// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// ارقام عضوية المدراء افصل بين الارقام بفاصلة ,
$config&#91;'SpecialUsers'&#93;&#91;'superadministrators'&#93; = '1';

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// في بي vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// في بي vB_Datastore_APC - to use APC
// في بي vB_Datastore_XCache - to use XCache
// في بي vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config&#91;'Datastore'&#93;&#91;'class'&#93; = 'في بي vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config&#91;'Datastore'&#93;&#91;'prefix'&#93; = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config&#91;'Datastore'&#93;&#91;'class'&#93; = 'في بي vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config&#91;'Misc'&#93;&#91;'memcacheserver'&#93;& #91;$i&#93; = '127.0.0.1';
$config&#91;'Misc'&#93;&#91;'memcacheport'&#93;&#9 1;$i&#93; = 11211;
$config&#91;'Misc'&#93;&#91;'memcachepersistent'&# 93;&#91;$i&#93; = true;
$config&#91;'Misc'&#93;&#91;'memcacheweight'&#93;& #91;$i&#93; = 1;
$config&#91;'Misc'&#93;&#91;'memcachetimeout'&#93; &#91;$i&#93; = 1;
$config&#91;'Misc'&#93;&#91;'memcacheretry_interva l'&#93;&#91;$i&#93; = 15;
*/

// ****** The following options are only needed in special cases ******

// ****** MySQLI OPTIONS *****
// When using MySQL 4.1+, MySQLi should be used to connect to the database.
// If you need to set the default connection charset because your database
// is using a charset other than latin1, you can set the charset here.
// If you don't set the charset to be the same as your database, you
// may receive collation errors. Ignore this setting unless you
// are sure you need to use it.
// $config&#91;'Mysqli'&#93;&#91;'charset'&#93; = 'utf8';

// Optionally, PHP can be instructed to set connection parameters by reading from the
// file named in 'ini_file'. Please use a full path to the file.
// Example:
// $config&#91;'Mysqli'&#93;&#91;'ini_file'&#93; = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
$config&#91;'Mysqli'&#93;&#91;'ini_file'&#93; = '';

// Image Processing Options
// Images that exceed either dimension below will not be resized by فيبويلتن في بي vBulletin. If you need to resize larger images, alter these settings.
$config&#91;'Misc'&#93;&#91;'maxwidth'&#93; = 2592;
$config&#91;'Misc'&#93;&#91;'maxheight'&#93; = 1944;

/*================================================= =====================*\
|| ################################################## ##################
|| #
|| # CVS: $RCSfile$ - $Revision: 39862 $
|| ################################################## ##################
\*================================================ ======================*/
</code> </code>


نحتاج التعديل على بعض الامور فقط وهي كما يلي
اسم قاعدة البيانات قم بإستبدال
mhta_vb بإسم قاعدة بياناتك
رمز PHP:
<code style="white-space:nowrap"> <code> // اسم قاعدة البيانات.
$config&#91;'Database'&#93;&#91;'dbname'&#93; = 'mhta_vb';
</code> </code>



البريد الالكتروني الذي يصل اليه اخطاء قاعدة البيانات / يمكنكم استخدام اي ايميل
رمز PHP:
<code style="white-space:nowrap"> <code> // البريد الذي ترسل اليه اخطاء قاعدة البيانات.
$config&#91;'Database'&#93;&#91;'technicalemail'&#93; = '[email protected]';
</code> </code>



اسم السيرفر SERVER ا
تركوه كما هو localhost
رمز PHP:
<code style="white-space:nowrap"> <code> // اسم السيرفر SERVER اتركه كما هو اذا لم يكون هنالك اعداد خاص للسيرفر SERVER.
$config&#91;'MasterServer'&#93;&#91;'servername'&#93; = 'localhost';
</code> </code>



وفي النهاية اسم المستخدم والباسوورد ياتيان تحت بعضهما البعض وقم بإستبدالهما باسم المستخدم والباسوورد الذي قمت بإنشائهم مسبقا

رمز PHP:
<code style="white-space:nowrap"> <code> // اسم المستخدم لقاعدة البيانات.
$config&#91;'MasterServer'&#93;&#91;'username'&#93; = 'mhta_admin';
// باسورد قاعدة البيانات.
$config&#91;'MasterServer'&#93;&#91;'password'&#93; = '{%Xznq0dS#df';
</code> </code>



بعد التعديل قم بالضغط على حفظ التغييرات


الآن نتجه الى الرابط التالي مع تغيير mhta
الى اسم منتداك
http://
mhta.rwbt.net/vb/install/install.php


والآن ناتي الى المراحل الاخيرة وهي تنصيب setup منتدى الـ

فيبويلتن في بي vBulletin وتتكون من 13 خطوة , يرجى متابعه الصور بدقة .


















يرجى ادخال البيانات التي قمت بتحديدها باللون الاحمر فقط .




قم بإدخال اسم وباسوورد وايميل عضوية الآدمن




الآن من اهم الخطوات وهو حذف مجلد install بالكامل لضمان الأمان وان اردت في يوم من الايام ترقية upgrade المنتدى forum التي تتم عن طريق install تقوم برفع المجلد كاملا في وقتها .


للتذكير قم بالضغط على install لظهور البيانات في اليمين التي من بينها حذف المجلد وكافة الملفات الموجودة فيها




الآن توجه الى الرئيسية منتديات محتوى كوم


عن طريق زر الإدارة الموجود في اسفل المنتدى forum على اليسار كلمة &quot;الإدارة&quot; قم بالدخول اليها لتجربة لوحة الآدمن





ملخص الدرس مفصل :
1- معرفة كيفية انشاء قاعدة بيانات وربطها مع مستخدم .

2-
تعلم كيفية رفع الملفات الى لوحة التحكم cpanel .

3-
معرفة كيفية ربط الملفات للمنتدى مع قاعدة البيانات sql .


4- المنتدى forum هو مجتمع كامل يجتمع فيه الصغير والكبير والفتاه والرجل حيث يتم اجتماعهم في المنتدى forum بحسب موضوع المنتدى forum فهناك منتديات خاصة بالبرامج وهناك اخرى عامة وهناك اخرى ثقافية وهناك اخرى اسلامية ... الخ , ولكل عضو يريد افتتاح منتدى خاص به يجب عليه اولا ان يقيس الموضوع على نفسه اولا فمن المستحيل ان اقوم بفتح منتدى ثقافي وانا لست من اصحاب العلم والثقافة ومن المستحيل ان اقوم بإفتتاح منتدى برامج وتقني وانا لا اعلم جميع تطبيقات الويندوز وخفاياه واضافاته , وعليك ان لا تظن انه يمكن ان تنجح فقط لإسم المنتدى forum اول للشخصيات المتواجدة بالمنتدى forum بل النجاح يحتاج جهد كبير سياخذ من وقتك الكثير لكن في النهاية انت من سيربح .

تطبيقات الدرس مفصل :
يجب على كل المتدربين انشاء منتدى فيبويلتن في بي vBulletin وساستقبل جميع اسالتكم ان شاء الله .


انتهى الشرح طريقة بفضل الله تعالى

والآن اود ان القي عليكم التحية قبل الذهاب والسلام عليكم ورحمة الله وبركاته .









©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©