- 28/5/04
- 1,299
- 0
Ờ , mình cũng bị như vậy , có thể do nó ngăn IP chăng (vì thực chất mình vào bất kỳ 1 Web nào thuộc byethost hay đại loại như thế đều bị quảng cáo đấy ! :

Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

kO CẦN VÀO CÁI LINK ĐÓ VÀO CÁI MỤC ĐIỀU CHỈNH CỦA ADMIN CŨNG HIỆN RA LINK NHƯ TRÊN ( LÚC NÀY CHƯA UPLOAD) MÀ THEO hd THÌ KHI VÀO ĐÓ SẼ HIỆN BẢNG ĐIỀU KHIỂN. >_<Có thể upload forum chưa đúng thư mục , coi lại xem sao .
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.5.4 - Licence Number VBFMQ79VDW
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2006 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # [url]http://www.vbulletin.com[/url] | [url]http://www.vbulletin.com/license.html[/url] # ||
|| #################################################################### ||
\*======================================================================*/
/*-------------------------------------------------------*\
| ****** 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. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'mysql';
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'ketnoithegioi_123';
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';
// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = '[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['Database']['force_sql_mode'] = false;
// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = '110mb.com';
$config['MasterServer']['port'] = 3306;
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'username của em';
$config['MasterServer']['password'] = 'password của em';
// ****** 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['MasterServer']['usepconnect'] = 0;
// ****** 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['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 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['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
// Prefix that all vBulletin cookies will have
// Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = '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['Misc']['forumpath'] = '/home/users/public_html/forums';
// Example Win32:
// $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';
// ****** 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
// the first user created will have a user ID of 1. Seperate each userid with a comma.
$config['SpecialUsers']['canviewadminlog'] = '1';
// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
// The users specified here will be allowed to remove ("prune") entries from the admin
// log. See the above entry for more information on the format.
$config['SpecialUsers']['canpruneadminlog'] = '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
// to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '';
// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = '';
// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
// vB_Datastore_Memcached - for using a Memcache server
// It is also necessary to specify the hostname or IP address and the port the server is listening on
// $config['Datastore']['class'] = 'vB_Datastore_Memcached';
// $config['Misc']['memcacheserver'] = '127.0.0.1';
// $config['Misc']['memcacheport'] = '11211';
// ****** 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['Mysqli']['charset'] = '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['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
$config['Mysqli']['ini_file'] = '';
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 09:56, Thu Feb 23rd 2006
|| # CVS: $RCSfile: config.php.new,v $ - $Revision: 1.31.2.3 $
|| ####################################################################
\*======================================================================*/
?>
đoạn này ko ổn$config['MasterServer']['servername'] = '110mb.com';
Chứa vBB?!.Download ở đâu thế bạn?!.vBB á?!.Đầu tiên bạn mở folder chứa vBB ra

trời đất ngay tại bứơc Bước 2 tới vào thẻ "Advance" trong hộp thoại, đánh dấu vào ô Uploading, Click vào ô "Connect", chờ vài giây để nó kết nối với host THÌ LỖI và dùng cả globalscappe cute fpt 8.0 vẫn lỗi xin chỉ giúpBước 3 :
Nếu bạn ko gặp phải vấn đề gì thì Web nó sẽ thông báo cho bạn về thông tin host như sau :
Username (FTP/SQL): tênbạn ===> tên tài khoản của bạn (nhớ thật kỹ nhé)
Password (FTP/SQL): mật mã của bạn ===> mật mã của bạn (nhớ thật kỹ nhé)
MySQL Host: localhost ===> ko cần để ý
MySQL Database: tên bạn ===> tên cơ sở dữ liệu của bạn - trùng tên với username (nhớ thật kỹ nhé)
FTP Server: my-place.us ====> ko cần để ý
phpMyAdmin URL: http://support.my-place.us/myadmin/ ===> Bảng điều khiển của tài khoản bạn (tốt nhất nên nhớ nhưng vào đừng chỉnh gì cả !!!)
Website URL: http://tênbạn.my-place.us/ ====> đường dẫn tới trang của bạn (hiện tại chưa có gì đâu ^__^)
LƯU Ý : tài khoản trên chỉ mang tính tham khảo và hoàn toàn ko tồn tại (với username đăng ký là "tênbạn")
---------------
Bạn hãy kiểm tra E-mail của mình thì sẽ thấy My-pace gửi đến một bức thư .Email sẽ bao gồm các thông tin mà bạn đã có được trong bước 2. Có thừa ko khi bước 3 lập lại bước 2 ? Không thừa đâu vì thông tin ở bước 2 sẽ chỉ xuất hiện 1 lần mà thôi. Còn thông tin trong hộp mail là tồn tại mãi mãi (trừ fi bạn xoá mail hoăc Yahoo bị sập mạng hoàn toàn ) nên bạn sẽ dễ dàng lấy ra xem nếu ko nhớ.Sau 3 bước trên, bạn đã có thể tự hào rằng đã có thể tạo đc 1 host ( xem như 1 ổ cứng trên mạng) và bạn đã kết thúc chương 1.
Chương 2 : Upload ForumBước 1 : Tải phần mềm CuteFTP, Flash FXP hoặc 1 chương trình có chức năng tương tự. Vào trang download.com hoặc vào google search từ "FlashFXP". Trong trường hợp này sẽ lấy VD là chương trình FlashFXP.
Bước 2 : Tải về và cài đặt. Sau khi cài đặt xong, chạy chương trình, nhấn Accept nếu đã đăng kí bản quyền (hầu hết là "lậu"). Sau đó, nó sẽ hiện ra 2 phần, 1 phần là dữ liệu trong máy của bạn (bên trái) và dữ liệu trên host (bên phải). Nếu đã hiểu rồi thì bạn tiếp tục click vào menu :
Session > Quick Connect hoặc nhấn nhanh F8 .
Sau đó, sẽ có 1 hộp thoại hiện ra.
Server or Url : Địa chỉ của website mà bạn được cung cấp sau khi tạo host. Trong trường hợp như tôi đã VD, tên của Server hay địa chỉ Web là :
http://tênban.my-place.us
Username : Đây là username mà bạn đã đăng kí, hiện nay My-place.us sẽ không dùng Username mà bạn đăng kí vì tính năng bảo mật cao, vậy nên nó sẽ tự cung cấp cho bạn 1 cái username (Cố mà nhớ cái username này nhé !)
Password : Cái này chắc không cần nói nữa...Thui, nói luôn, trong VD của tôi, nó sẽ là : mật mã của bạn
Phần còn lại thì bỏ qua, sau đó, bạn click vào thẻ "Advance" trong hộp thoại, đánh dấu vào ô Uploading, Click vào ô "Connect", chờ vài giây để nó kết nối với host.
-------
Bước 4 : Khai báo thông tin về host trong config.php
Đầu tiên bạn mở folder chứa vBB ra, vào upload ==> includes => tìm tập tin config.php.new. Sau đó, bạn đổi tên tạp tin đó từ config.php.new thành config.php. Tiếp theo, bạn click chuột fải vào tập tin vừa đổi tên đó, chọn Open With... rồi dò trong bảng Open With và chọn Notepad rồi nhấn ok.
Sau đó, bạn mở tập tin đó ra rồi bấm Ctrl+F rồi nhập dòng code này vào khung find what :$config['Database']['dbname'].Sau khi Notepad đưa bạn tới nơi có dòng chữ đó,bạn sẽ thấy : $config['Database']['dbname'] = 'root'. Bạn hãy nhập tên Database mà bạn đã đc cung cấp sau khi đăng ký host vào thay cho chữ root.
Tiếp theo bạn lại tiếp tục Ctrl+F và nhập vào khung Find what dòng code thứ 2 như sau: $config['MasterServer']['username']. Sau khi Notepad đưa bạn tới nơi có dòng chữ đó,bạn sẽ thấy: $config['MasterServer']['username'] = '!@@#$@#'; (Ký tự !@@#$@#) là do mình chế đại đó vì ko nhớ chính xác là gì - có thể cũng là root). Bạn hãy nhập tên username đã đc cung cấp sau khi đăng ký host vào thay cho chỗ !@@#$@# của mình
Tiếp theo bạn lại tiếp tục Ctrl+F và nhập vào ô Find what dòng code thứ 3 như sau: $config['MasterServer']['password']. Sau khi Notepad đưa bạn tới nơi có dòng chữ đó,bạn sẽ thấy: $config['MasterServer']['password'] = '';. Bạn hãy nhập mật mã (password) mà bạn đc cung cấp sau khi đăng ký host vào giữa 2 dấu ' (Chương 1 - Bước 2). Sau đó save lại.
Chương 3 : Kết thúc việc upload Forum lên host .
Hướng dẫn lại 1 chút nhé : Khi bạn mở chương trình FlashFXP ra, bạn sẽ thấy có 2 khung trái và fải.Khung bên trái là các tập tin (file) và thư mục (folder) trong máy của bạn (tương tự như 1 window explorer) còn bên trái thể hiện các tập tin cũng như thư mục trên host.
Vào khung bên trái, đổi tên thư mục Upload trong thư mục chứa Forum của bạn thành tên là Forum(thường thì như vậy, tốt nhất các bạn để tên là forum bởi sẽ xảy ra nhiều nhầm lẫn đáng tiếc nếu bạn còn chưa thành thạo trong việc làm Forum vBB)
Bây giờ bạn chỉ việc nhấp chuột vào tập tin upload (đã đổi thành forum), giữ chuột và kéo qua khung bên fải. Sau khi làm xong , bạn sẽ thấy chương trình đang chạy để Upload thư mục Forum lên host. Bây giờ thì ngồi chờ (nếu bạn đủ kiên nhẫn - hoặc trong lúc đó có thể làm vài ván game ngoài hàng Xbox, PS2, Online,...- Tuy nhiên đừng ham vui quá bởi khi chạy nhiều lúc chương trình sẽ xảy ra sự cố và hỏi bạn 1 số điều ngớ ngẩn, dạng như "Bạn có muốn chép đè tập tin ABCXYZ lên tập tin ABCXYZ không ?", vì vậy, bạn có thể sẽ mất rất nhiều thời gian đáng quý nếu ko thường xuyên xem xét tình hình của máy !)
Sau khi upload lên xong thì bạn đã hoàn thành chương 3. Xin chúc mừng bạn!!!!. Bạn đã có toàn bộ fần mềm của vBB trên host. Đón xem Chương 4 : Cài đặt forum (Hic, chờ nhé, chờ nhé,... , xỉu vì gõ quá mệt, hic hic !)
Thật ra, username như tôi nói phải là USERNAME do nhà cung cấp host cung cấp cho bạn chứ không phải là username do bạn tự đặt lúc đăng kí, vì vậy, nếu ko nhớ thì tốt nhất bạn nên Save trang web đó lại để nhớ.VD, tôi đăng kí :
Username : virtualman
Pass : 12345
Khi đăng kí xong nó lại thông báo :
Username : mp_43252 chẳng hạn (VD mà !)
Pass : 12345 (như cũ)
Bạn thử xem lại đi xem có đúng là mình đã gõ username của mình hay của nhà cung cấp ???
Chứa vBB?!.Download ở đâu thế bạn?!.vBB á?!.![]()