View Single Post
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 05-12-2017 , 16:36   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #672

Quote:
Originally Posted by DaRk56 View Post
Read my post ..
I Can not get this to work. It said incorrect Username or Password. I am just now setting this up for the first time. I have setup a few other panels for Sourcemod in the past before.

I setup a Server Group in SourceBans called ServerOwner. I gave my SourceBans account a secure password.

I made the changes you said to make.

Snippet of my Config.php

Code:
<?php

/*
 * Donations Database info
 */

define('DB_HOST', 'localhost');        //set MySQL host
define('DB_USER', 'myusername');             //MySQL username
define('DB_PASS', 'mysupersecurepass');         //MySQL password
define('DONATIONS_DB', 'donations');   //donations database




/*
 * Sourcebans info
 * Sourcebans is required as of 2.x.
 */

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define('SB_DB', true); //ONLY SET TRUE IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_HOST', 'localhost');      //set MySQL host ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_USER', 'myuserename');         //MySQL username ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_PASS', 'mysecurepassword');       //MySQL password ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define('SOURCEBANS_DB', 'sourcebans'); // sourcebans database, this is needed.
define('SB_PREFIX', 'sb'); //Sourcebans database prefix. Only change this value if you changed your database prefix when setting up SourceBans.
//define('SB_SALT', 'SourceBans'); //dont change this unless you changed your salt in sourcebans (if you dont know what salt is, you didnt change it)
define('SB_NEW_SALT', '$5$'); // New Salt 1.6.0 Sourcebans ++  
define('SB_ADMINS', 'ServerOwner'); //name of admin group in sourcebans which has access to the donor panel
///////////////////////////////////////////////////////////////////////////////////////////

Last edited by TrappaTroopa; 05-12-2017 at 18:06.
TrappaTroopa is offline