Galahad Posted March 18, 2011 Posted March 18, 2011 To integrate miniBB with EzRPG, just follow these steps. 1) Download the latest version of miniBB here - http://www.minibb.com/download.html 2) Make a folder called /forum/ in the root of your website. 3) FTP the miniBB to the /forum/ folder. 4) Edit setup_options.php and replace the following with your details $DBhost='localhost'; $DBname='DATABASENAMEHERE'; MUST BE THE SAME AS EZRPG DATABASE! $DBusr='USERHERE'; MUST BE THE SAME AS EZRPG DATABSE $DBpwd='PASSWORDHERE'; MUST BE THE SAME AS EZRPG DATABSE $admin_usr='USERHERE'; Make it the same username as your ezRPG account $admin_pwd='PASSHERE'; MUST BE THE SAME AS Your EZRPG account's password $admin_email='EMAILHERE'; Put your EMAIL HERE 5) Once you have filled them in. Go to http://yourwebsite.com/forum/_install.php to install it. 6) Go to your EzRPG folder then /modules/register/ and open up index.php Find - $insert['username'] = $_POST['username']; $insert['email'] = $_POST['email']; $insert['secret_key'] = createKey(16); $insert['password'] = sha1($insert['secret_key'] . $_POST['password'] . SECRET_KEY); $insert['registered'] = time(); global $hooks; //Run register hook $insert = $hooks->run_hooks('register', $insert); $new_player = $this->db->insert('<ezrpg>players', $insert); and replace with - $insert['username'] = strtolower($_POST['username']); $insert2['username'] = strtolower($_POST['username']); $insert['email'] = strtolower($_POST['email']); $insert2['user_email'] = strtolower($_POST['email']); $insert['secret_key'] = createKey(16); $insert['password'] = sha1($insert['secret_key'] . $_POST['password'] . SECRET_KEY); $insert2['user_password'] = md5($_POST['password']); $insert['registered'] = time(); $insert2['user_regdate'] = time(); global $hooks; //Run register hook $insert = $hooks->run_hooks('register', $insert); $new_player = $this->db->insert('<ezrpg>players', $insert); $new_player2 = $this->db->insert('minibbtable_users', $insert2); 7) Download the attached files and put them into the correct folders. 8 ) Now place in your main menu (header.tpl) or your city, [url="index.php?mod=Forum"]Forum[/url] or [url="/forum/"]Forum[/url] 9) And done! Just go to the forum and login with your details. This tutorial was rushed so I may of missed some parts out. Quote
Dave Posted March 20, 2011 Posted March 20, 2011 Nice and simple, Great addition to the system! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.