مرجع پارسی MyBB

نسخه‌ی کامل: اموزش را ه اندازی انجمن بر روی لوکال هاست
شما درحال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب‌بندی مناسب.
درود


مدتی هست که میخوام انجمن خودم رو بر روی لوکال هاست راه اندازی کنم اما نمیدونم چطوری ؟
بک اپ کامل رو دارم اما راه و روش رو نمیدونم ؟؟ ممنون میشم اگر دوستان اموزشی یا اطلاعاتی در این زمینه دارن در اختیار بزارن

با تشکر
سلام

در درجه اول آموزش كار با نرم افزار Wamp Server رو دنبال كنيد .

آموزش
دوست عزیز کا ربا برنامه رو تا حدودی اشنا هستم اما نحوه ی باز گردانی انجمن بر روی لوکال هاست رو نمیدونم که چطور انجمن رو باید از حالت بک اپ کامل خارج کنم و یا چه قسمت هایی نیاز به ویرایش داره Huh
با سلام

لطفا جستجو نمایید Blush

http://community.mybbiran.com/thread-14986.html
متغییر هایی که باید بعد از ایمپورت تغییر پیدا کنه کدوما ست
فايل : settings.php

مثال:

کد php:
<?php
/*********************************\ 
  DO NOT EDIT THIS FILE, PLEASE USE
  THE SETTINGS EDITOR
\*********************************/

$settings['load'] = "0";
$settings['mail_message_id'] = "1";
$settings['mail_parameters'] = "";
$settings['adminemail'] = "admin@localhost";
$settings['extraadmininfo'] = "1";
$settings['allowaway'] = "1";
$settings['allowbuddyonly'] = "0";
$settings['allowcustomwarnings'] = "1";
$settings['allowmultipleemails'] = "0";
$settings['pmsallowhtml'] = "0";
$settings['sightml'] = "0";
$settings['multirep'] = "1";
$settings['pmsallowmycode'] = "1";
$settings['sigmycode'] = "1";
$settings['negrep'] = "1";
$settings['neurep'] = "1";
$settings['posrep'] = "1";
$settings['postrep'] = "1";
$settings['pmsallowsmilies'] = "1";
$settings['sigsmilies'] = "1";
$settings['pmsallowimgcode'] = "1";
$settings['sigimgcode'] = "1";
$settings['pmsallowvideocode'] = "1";
$settings['username_method'] = "0";
$settings['subscribeexcerpt'] = "100";
$settings['announcementlimit'] = "2";
$settings['attachthumbh'] = "96";
$settings['attachthumbw'] = "96";
$settings['readparentforums'] = "0";
$settings['avatardir'] = "images/avatars";
$settings['avatarresizing'] = "auto";
$settings['avataruploadpath'] = "./uploads/avatars";
$settings['boardclosed'] = "0";
$settings['boardclosed_reason'] = "These forums are currently closed for maintenance. Please check back later.";
$settings['bbname'] = "Forums";
$settings['bburl'] = "http://127.0.0.1/mybb";
$settings['canviewownwarning'] = "1";
$settings['captchaimage'] = "1";
$settings['bbcodeinserter'] = "1";
$settings['smilieinserter'] = "1";
$settings['faxno'] = "";
$settings['contactlink'] = "mailto:admin@localhost";
$settings['cplanguage'] = "persian";
$settings['cpstyle'] = "Default_RTL_MyBBIran";
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/mybb/";
$settings['cookieprefix'] = "";
$settings['coppa'] = "disabled";
$settings['customtitlemaxlength'] = "40";
$settings['wolcutoffmins'] = "15";
$settings['dateformat'] = "m-d-Y";
$settings['dstcorrection'] = "0";
$settings['dayspruneregistered'] = "90";
$settings['dayspruneunactivated'] = "90";
$settings['decpoint'] = ".";
$settings['bblanguage'] = "persian";
$settings['default_memberlist_sortby'] = "regdate";
$settings['default_memberlist_order'] = "ascending";
$settings['timezoneoffset'] = "+10";
$settings['delayedthreadviews'] = "0";
$settings['no_plugins'] = "0";
$settings['disableregs'] = "0";
$settings['hiddencaptchaimage'] = "0";
$settings['failedlogintext'] = "1";
$settings['edittimelimit'] = "0";
$settings['enablecalendar'] = "1";
$settings['enableforumjump'] = "1";
$settings['enablememberlist'] = "1";
$settings['enablepms'] = "1";
$settings['enablereputation'] = "1";
$settings['seourls_archive'] = "0";
$settings['seourls'] = "auto";
$settings['enablepruning'] = "0";
$settings['enablewarningsystem'] = "1";
$settings['use_xmlhttprequest'] = "1";
$settings['errorloglocation'] = "./error.log";
$settings['errorlogmedium'] = "none";
$settings['errortypemedium'] = "both";
$settings['portal_announcementsfid'] = "2";
$settings['modlist'] = "1";
$settings['redirects'] = "1";
$settings['gziplevel'] = "4";
$settings['searchhardlimit'] = "0";
$settings['hiddencaptchaimagefield'] = "email3";
$settings['hideprivateforums'] = "1";
$settings['homename'] = "Your Website";
$settings['homeurl'] = "/";
$settings['siglength'] = "255";
$settings['logip'] = "hide";
$settings['loginattemptstimeout'] = "15";
$settings['mail_handler'] = "mail";
$settings['mail_logging'] = "2";
$settings['mailingaddress'] = "";
$settings['maxloginattempts'] = "5";
$settings['avatarsize'] = "10";
$settings['maxattachments'] = "5";
$settings['maxavatardims'] = "100x100";
$settings['postmaxavatarsize'] = "70x70";
$settings['memberlistmaxavatarsize'] = "70x70";
$settings['maxpostimages'] = "10";
$settings['maxmessagelength'] = "65535";
$settings['maxquotedepth'] = "5";
$settings['maxsigimages'] = "2";
$settings['maxpolloptions'] = "10";
$settings['maxmultipagelinks'] = "5";
$settings['maxpasswordlength'] = "30";
$settings['polloptionlimit'] = "250";
$settings['maxposts'] = "0";
$settings['maxregsbetweentime'] = "2";
$settings['maxreplength'] = "300";
$settings['maxnamelength'] = "30";
$settings['maxpostvideos'] = "1";
$settings['maxwarningpoints'] = "10";
$settings['membersperpage'] = "20";
$settings['postmergefignore'] = "";
$settings['postmergesep'] = "[hr]";
$settings['postmergeuignore'] = "4";
$settings['minmessagelength'] = "5";
$settings['minpasswordlength'] = "6";
$settings['minsearchword'] = "0";
$settings['minnamelength'] = "3";
$settings['sigcountmycode'] = "1";
$settings['smilieinsertercols'] = "4";
$settings['smilieinsertertot'] = "20";
$settings['portal_numannouncements'] = "10";
$settings['wordwrap'] = "80";
$settings['failedcaptchalogincount'] = "3";
$settings['portal_showdiscussionsnum'] = "10";
$settings['failedlogincount'] = "10";
$settings['showbirthdayspostlimit'] = "0";
$settings['tplhtmlcomments'] = "1";
$settings['prunepostcount'] = "0";
$settings['postfloodcheck'] = "1";
$settings['postfloodsecs'] = "60";
$settings['postlayout'] = "horizontal";
$settings['postmergemins'] = "60";
$settings['postsperpage'] = "10";
$settings['pmfloodsecs'] = "60";
$settings['pruneunactived'] = "0";
$settings['enableprunebyposts'] = "0";
$settings['prunethreads'] = "0";
$settings['threadreadcut'] = "7";
$settings['captchaprivatekey'] = "";
$settings['captchapublickey'] = "";
$settings['refreshwol'] = "1";
$settings['regdateformat'] = "M Y";
$settings['regtype'] = "verify";
$settings['hottopic'] = "20";
$settings['reportmethod'] = "db";
$settings['repsperpage'] = "15";
$settings['requirecomplexpasswords'] = "0";
$settings['returnemail'] = "";
$settings['ip_forwarded_check'] = "0";
$settings['searchfloodtime'] = "30";
$settings['searchtype'] = "standard";
$settings['nocacheheaders'] = "0";
$settings['showeditedbyadmin'] = "1";
$settings['showeditedby'] = "1";
$settings['showsimilarthreads'] = "0";
$settings['attachthumbnails'] = "yes";
$settings['showdescriptions'] = "1";
$settings['showforumpagesbreadcrumb'] = "1";
$settings['portal_showstats'] = "1";
$settings['showlanguageselect'] = "1";
$settings['portal_showdiscussions'] = "1";
$settings['multiquote'] = "1";
$settings['quickreply'] = "1";
$settings['portal_showsearch'] = "1";
$settings['showindexstats'] = "1";
$settings['subforumsstatusicons'] = "1";
$settings['portal_showpms'] = "1";
$settings['portal_showwelcome'] = "1";
$settings['threadreview'] = "1";
$settings['showbirthdays'] = "1";
$settings['showvernum'] = "0";
$settings['portal_showwol'] = "1";
$settings['showwol'] = "1";
$settings['showforumviewing'] = "0";
$settings['similarlimit'] = "10";
$settings['similarityrating'] = "1";
$settings['secure_smtp'] = "0";
$settings['smtp_host'] = "";
$settings['smtp_pass'] = "";
$settings['smtp_port'] = "";
$settings['smtp_user'] = "";
$settings['statslimit'] = "15";
$settings['subforumsindex'] = "2";
$settings['thousandssep'] = ",";
$settings['threadsperpage'] = "20";
$settings['failedlogintime'] = "15";
$settings['betweenregstime'] = "24";
$settings['timeformat'] = "h:i A";
$settings['uploadspath'] = "./uploads";
$settings['dotfolders'] = "1";
$settings['useerrorhandling'] = "1";
$settings['gzipoutput'] = "0";
$settings['usereferrals'] = "1";
$settings['allowthreadratings'] = "1";
$settings['threadusenetstyle'] = "0";
$settings['userpppoptions'] = "5,10,20,25,30,40,50";
$settings['usertppoptions'] = "10,20,25,30,40,50";
$settings['browsingthisforum'] = "1";
$settings['browsingthisthread'] = "1";
$settings['emailkeep'] = "0";
$settings['hottopicviews'] = "150";

?>

و فايل :config.php

مثال:
کد php:
<?php
/**
 * Database configuration
 *
 * Please see the MyBB Docs for advanced
 * database configuration for larger installations
 * http://docs.mybb.com/
 */

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'mybb';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'root';
$config['database']['password'] = '';

/**
 * Admin CP directory
 *  For security reasons, it is recommended you
 *  rename your Admin CP directory. You then need
 *  to adjust the value below to point to the
 *  new directory.
 */

$config['admin_dir'] = 'admin';

/**
 * Hide all Admin CP links
 *  If you wish to hide all Admin CP links
 *  on the front end of the board after
 *  renaming your Admin CP directory, set this
 *  to 1.
 */

$config['hide_admin_links'] = 0;

/**
 * Data-cache configuration
 *  The data cache is a temporary cache
 *  of the most commonly accessed data in MyBB.
 *  By default, the database is used to store this data.
 *
 *  If you wish to use the file system (cache/ directory), MemCache, xcache, or eAccelerator
 *  you can change the value below to 'files', 'memcache', 'xcache' or 'eaccelerator' from 'db'.
 */

$config['cache_store'] = 'db';

/**
 * Memcache configuration
 *  If you are using memcache as your data-cache,
 *  you need to configure the hostname and port
 *  of your memcache server below.
 *
 * If not using memcache, ignore this section.
 */

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

/**
 * Super Administrators
 *  A comma separated list of user IDs who cannot
 *  be edited, deleted or banned in the Admin CP.
 *  The administrator permissions for these users
 *  cannot be altered either.
 */

$config['super_admins'] = '1';

/**
 * Database Encoding
 *  If you wish to set an encoding for MyBB uncomment
 *  the line below (if it isn't already) and change
 *  the current value to the mysql charset:
 *  http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
 */

$config['database']['encoding'] = 'utf8';

/**
 * Automatic Log Pruning
 *  The MyBB task system can automatically prune
 *  various log files created by MyBB.
 *  To enable this functionality for the logs below, set the
 *  the number of days before each log should be pruned.
 *  If you set the value to 0, the logs will not be pruned.
 */

$config['log_pruning'] = array(
    
'admin_logs' => 365// Administrator logs
    
'mod_logs' => 365// Moderator logs
    
'task_logs' => 30// Scheduled task logs
    
'mail_logs' => 180// Mail error logs
    
'user_mail_logs' => 180// User mail logs
    
'promotion_logs' => 180 // Promotion logs
);

?>
فايل ها در مسير:C:\wamp\www\mybb\inc
در اينجا ماي بي بي در پوشه C:\wamp\www\mybb نصب شده است .
به همين صورت Blush