PDA

View Full Version : Forum Integration


coolgem923
10-06-2014, 05:59 PM
I need help, when I register an account on my adoptables site, it fails to make a forum account and says "unable to create forum account". I need a solution, can someone please help?


My installation is on the root directory and the forum is on /forum. My host is x10Hosting.

Here's my config_forums.php file:

<?php
//Mysidia Adoptables Site Configuration File

//Forum Integration Info: MyBB
$mybbenabled = 1; // 0 = disabled, 1 = enabled
$mybbhost = 'localhost'; // Consult your host if you believe this field is not localhost
$mybbuser = 'coolgem_fpets';
$mybbpass = '(password)';
$mybbdbname = 'coolgem_mybb420';
$mybbpath = 'forum';
$mybbprefix = 'mybb_'; // This is the default setting as you install MyBB forum, feel free changing it if you have a different prefix
$mybbremember = -1;
?>
And my config.php file
<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', 'coolgem_fpets'); //DB Username
define('DBPASS', '(password)'); //DB Password
define('DBNAME', 'coolgem_pets'); //Your database name
define('DOMAIN', 'coolgemscherry.x10.mx'); //Your domain name (No http, www or . )
define('SCRIPTPATH', ''); //The folder you installed this script in
define('PREFIX', 'adopts_');
?>

FounderSim
10-06-2014, 06:06 PM
blah.. nvm

Hall of Famer
10-07-2014, 02:23 PM
Well do you have more than one user registered on your site before you installed the forum and enabled the integration? If so, the user ID between adoptables site and forum wont match and you will not get this to work. This integration only works with sites that satisfy the following two criteria:

1. It's a newly installed/created site.
2. Its not a new site but no one has registered except for the admin user.

If you already have an active site with registered users other than yourself, it will not work properly.