Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.38 KB | None | 0 0
  1. e we |
  2. | cannot tell you the correct values for the variables |
  3. | in this file. |
  4. \*-------------------------------------------------------*/
  5.  
  6. // ****** DATABASE TYPE ******
  7. // This is the type of the database server on which your vBulletin database will be located.
  8. // 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+
  9. // for slave options just append _slave to your preferred database type.
  10. $config['Database']['dbtype'] = 'mysqli';
  11.  
  12. // ****** DATABASE NAME ******
  13. // This is the name of the database where your vBulletin will be located.
  14. // This must be created by your webhost.
  15. $config['Database']['dbname'] = 'gamer_for';
  16.  
  17. // ****** TABLE PREFIX ******
  18. // Prefix that your vBulletin tables have in the database.
  19. $config['Database']['tableprefix'] = '';
  20.  
  21. // ****** TECHNICAL EMAIL ADDRESS ******
  22. // If any database errors occur, they will be emailed to the address specified here.
  23. // Leave this blank to not send any emails when there is a database error.
  24. $config['Database']['technicalemail'] = 'admin@gamersoul.com';
  25.  
  26. // ****** FORCE EMPTY SQL MODE ******
  27. // New versions of MySQL (4.1+) have introduced some behaviors that are
  28. // incompatible with vBulletin. Setting this value to "true" disables those
  29. // behaviors. You only need to modify this value if vBulletin recommends it.
  30. $config['Database']['force_sql_mode'] = false;
  31.  
  32.  
  33.  
  34. // ****** MASTER DATABASE SERVER NAME AND PORT ******
  35. // This is the hostname or IP address and port of the database server.
  36. // If you are unsure of what to put here, leave the default values.
  37. $config['MasterServer']['servername'] = 'localhost';
  38. $config['MasterServer']['port'] = 3306;
  39.  
  40. // ****** MASTER DATABASE USERNAME & PASSWORD ******
  41. // This is the username and password you use to access MySQL.
  42. // These must be obtained through your webhost.
  43. $config['MasterServer']['username'] = 'gamer_admin';
  44. $config['MasterServer']['password'] = 'W92G2ev$QS^t';
  45.  
  46. // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
  47. // This option allows you to turn persistent connections to MySQL on or off.
  48. // The difference in performance is negligible for all but the largest boards.
  49. // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
  50. $config['MasterServer']['usepconnect'] = 0;
  51.  
  52.  
  53.  
  54. // ****** SLAVE DATABASE CONFIGURATION ******
  55. // If you have multiple database backends, this is the information for your slave
  56. // server. If you are not 100% sure you need to fill in this information,
  57. // do not change any of the values here.
  58. $config['SlaveServer']['servername'] = '';
  59. $config['SlaveServer']['port'] = 3306;
  60. $config['SlaveServer']['username'] = '';
  61. $config['SlaveServer']['password'] = '';
  62. $config['SlaveServer']['usepconnect'] = 0;
  63.  
  64.  
  65.  
  66. // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
  67. // This setting allows you to change the name of the folders that the admin and
  68. // moderator control panels reside in. You may wish to do this for security purposes.
  69. // Please note that if you change the name of the directory here, you will still need
  70. // to manually change the name of the directory on the server.
  71. $config['Misc']['admincpdir'] = 'admincp';
  72. $config['Misc']['modcpdir'] = 'modcp';
  73.  
  74. // Prefix that all vBulletin cookies will have
  75. // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
  76. $config['Misc']['cookieprefix'] = 'w8';
  77.  
  78. // ******** FULL PATH TO FORUMS DIRECTORY ******
  79. // On a few systems it may be necessary to input the full path to your forums directory
  80. // for vBulletin to function normally. You can ignore this setting unless vBulletin
  81. // tells you to fill this in. Do not include a trailing slash!
  82. // Example Unix:
  83. // $config['Misc']['forumpath'] = '/home/users/public_html/forums';
  84. // Example Win32:
  85. // $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
  86. $config['Misc']['forumpath'] = '';
  87.  
  88.  
  89.  
  90. // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
  91. // The users specified here will be allowed to view the admin log in the control panel.
  92. // Users must be specified by *ID number* here. To obtain a user's ID number,
  93. // view their profile via the control panel. If this is a new installation, leave
  94. // the first user created will have a user ID of 1. Seperate each userid with a comma.
  95. $config['SpecialUsers']['canviewadminlog'] = '1,9,6606,165883,126632';
  96.  
  97. // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
  98. // The users specified here will be allowed to remove ("prune") entries from the admin
  99. // log. See the above entry for more information on the format.
  100. $config['SpecialUsers']['canpruneadminlog'] = '1,9,6606,165883,126632';
  101.  
  102. // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
  103. // The users specified here will be allowed to run queries from the control panel.
  104. // See the above entries for more information on the format.
  105. // Please note that the ability to run queries is quite powerful. You may wish
  106. // to remove all user IDs from this list for security reasons.
  107. $config['SpecialUsers']['canrunqueries'] = '1,9,6606,126632';
  108.  
  109. // ****** UNDELETABLE / UNALTERABLE USERS ******
  110. // The users specified here will not be deletable or alterable from the control panel by any users.
  111. // To specify more than one user, separate userids with commas.
  112. $config['SpecialUsers']['undeletableusers'] = '1,6606,126632';
  113.  
  114. // ****** SUPER ADMINISTRATORS ******
  115. // The users specified below will have permission to access the administrator permissions
  116. // page, which controls the permissions of other administrators
  117. $config['SpecialUsers']['superadministrators'] = '1,9,6606,165883,126632,';
  118.  
  119. // ****** DATASTORE CACHE CONFIGURATION *****
  120. // Here you can configure different methods for caching datastore items.
  121. // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
  122. // vB_Datastore_APC - to use APC
  123. // vB_Datastore_XCache - to use XCache
  124. // vB_Datastore_Memcached - to use a Memcache server, more configuration below
  125. $config['Datastore']['class'] = 'vB_Datastore_Filecache';
  126.  
  127. // ******** DATASTORE PREFIX ******
  128. // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
  129. // than one set of forums installed on your host, you *may* need to use a prefix
  130. // so that they do not try to use the same variable within the cache.
  131. // This works in a similar manner to the database table prefix.
  132. // $config['Datastore']['prefix'] = '';
  133.  
  134. // It is also necessary to specify the hostname or IP address and the port the server is listening on
  135. /*
  136. $config['Datastore']['class'] = 'vB_Datastore_Memcached';
  137. $i = 0;
  138. // First Server
  139. $i++;
  140. $config['Misc']['memcacheserver'][$i] = '127.0.0.1';
  141. $config['Misc']['memcacheport'][$i] = 11211;
  142. $config['Misc']['memcachepersistent'][$i] = true;
  143. $config['Misc']['memcacheweight'][$i] = 1;
  144. $config['Misc']['memcachetimeout'][$i] = 1;
  145. $config['Misc']['memcacheretry_interval'][$i] = 15;
  146. */
  147.  
  148. // ****** The following options are only needed in special cases ******
  149.  
  150. // ****** MySQLI OPTIONS *****
  151. // When using MySQL 4.1+, MySQLi should be used to connect to the database.
  152. // If you need to set the default connection charset because your database
  153. // is using a charset other than latin1, you can set the charset here.
  154. // If you don't set the charset to be the same as your database, you
  155. // may receive collation errors. Ignore this setting unless you
  156. // are sure you need to use it.
  157. // $config['Mysqli']['charset'] = 'utf8';
  158.  
  159. // Optionally, PHP can be instructed to set connection parameters by reading from the
  160. // file named in 'ini_file'. Please use a full path to the file.
  161. // Example:
  162. // $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
  163. $config['Mysqli']['ini_file'] = '';
  164.  
  165. // Image Processing Options
  166. // Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
  167. $config['Misc']['maxwidth'] = 2592;
  168. $config['Misc']['maxheight'] = 1944;
  169.  
  170. /*======================================================================*\
  171. || ####################################################################
  172. || # Downloaded: 23:33, Tue Nov 2nd 2010
  173. || # CVS: $RCSfile$ - $Revision: 32878 $
  174. || ####################################################################
  175. \*======================================================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement