Raised This Month: $12 Target: $400
 3% 

Release Donation Control 3.1.0 [over 1000 donations served!]


Post New Thread Reply   
 
Thread Tools Display Modes
etox
Junior Member
Join Date: Oct 2014
Old 07-02-2017 , 16:19   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #691

Does it work with sourcebans ++?
etox is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 07-03-2017 , 18:22   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #692

Quote:
Originally Posted by etox View Post
Does it work with sourcebans ++?
Yes
TrappaTroopa is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 07-06-2017 , 00:38   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #693

can some one fix the plugin ? can't compile .sp file
__________________
nguyenbaodanh is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 07-06-2017 , 09:54   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #694

I have 2 issues. One the page is black text on black in the MOTD window in CSGO. So you can not see anything. Any way to fix this with CSS?

Also my Perk is defaulting to $5 until your actually click "VIP" even though it is selected by default. It is supposed to be $3 and is set as such in the Admin Panel. Once you reselect "VIP it goes to $3. Any way to fix this?

My Donations Page:
http://chillgamers.tk/csgo/donations/

Last edited by TrappaTroopa; 07-06-2017 at 09:55.
TrappaTroopa is offline
Kammi_
AlliedModders Donor
Join Date: Dec 2007
Old 07-07-2017 , 11:18   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #695

I could not login (Wrong Username or Password)

in the logs

07/7/2017 6:00:41 PM|Failed login attempt for user name: Kammi_ from xxxxxxxxx|/tools/donors/admin/index.php

i use sb++ 1.6.2

Code:
    Server: Localhost via UNIX socket
    Server-Typ: MariaDB
    Server-Version: 10.1.23-MariaDB-9+deb9u1 - Debian 9.0
    Protokoll-Version: 10
    Server-Zeichensatz: UTF-8 Unicode (utf8)
    Apache/2.4.25 (Debian)
    Datenbank-Client Version: libmysql - 5.5.55
    PHP-Erweiterung: mysqliDokumentation curlDokumentation mbstringDokumentation
    PHP-Version: 5.6.30-0+deb8u1
My Conifig

Code:
<?php

/* Donations Control version 3.0.0 by NineteenEleven.
 * http://nineteeneleven.info
 * if you find this helpful please consider donating.
 */
if (!defined('NineteenEleven')) {
    die('Direct access not premitted');
}
//Fill in your preferences, and information


/*
 * PayPal Info
 */

define('PP_EMAIL', 'my.mail');              //The Paypal account's email address
define('PP_DESC', 'Donation to your clans servers');  //Paypal purchase description
define('PP_IPN', 'http://xxx.xxx/tools/donors/scripts/ipn.php'); //Address to ipn.php included within the donations folder
define('PP_SUCCESS', 'http://sss.sss/');        //Address to send donor to after successful donation
define('PP_FAIL', 'http://ddd.ddd/');       //Address to send donor to after cancel while donating / other error
define('PP_CURRENCY', 'EUR'); //https://developer.paypal.com/webapps/developer/docs/classic/api/currency_codes/#id09A6G0U0GYK
/////////////////////////////////////////////////////////////////////////////////////////////////////////
define('PP_SANDBOX', false); //Use PayPal Sandbox for testing?
define('PP_SANDBOX_EMAIL', '[email protected]');




/*
 * Donations Database info
 */

define('DB_HOST', '127.0.0.1');        //set MySQL host
define('DB_USER', 'NoobBan');             //MySQL username
define('DB_PASS', 'xxx');         //MySQL password
define('DONATIONS_DB', 'NoobBan');   //donations database




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

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define('SB_DB', false); //ONLY SET TRUE IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_HOST', '');      //set MySQL host ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_USER', '');         //MySQL username ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
define('SB_SV_PASS', '');       //MySQL password ONLY NEEDED IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define('SOURCEBANS_DB', 'NoobBan'); // 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_NEW_SALT', 'my.sourceban.salt'); //dont change this unless you changed your salt in sourcebans (if you dont know what salt is, you didnt change it)
define('SB_ADMINS', 'Techniker'); //name of admin group in sourcebans which has access to the donor panel
///////////////////////////////////////////////////////////////////////////////////////////




/*
 * System Emails Settings
 */

define('sys_email', true);              //Turn on system emails?
$mail['name'] = 'Donations';                 //senders name
$mail['email'] = '[email protected]';    //senders e-mail adress
$mail['recipient'] = '[email protected]';   //recipient
$mail['useBCC'] = true;                         //add BCC
$mail['BCC'] = '[email protected]';           //BCC
$mail['donor'] = true; //Send confimation/ thankyou email to the donor?
$mail['donorSubject'] = 'Thank your for your donation';
$mail['donorMsg'] = 'Message to send to your donors';

define('reminder_email', false); //will send an email to donors every day for the last 5 days before their perks expire.
$reminder['subject'] = "%s, your donor perks are going to expire!"; //Subject of the email, %s is the username
$reminder['body'] = "Salutations %s \r\n, your donor perks are set to expire on %s. If you would like to continue to "
        . "recieve your donor benefits please visit http://xxx.xxx/tools/donors and renew your perks.\r\n "
        . "See your around!\r\n"; //email body, \r\n is new line break the first %s is donors name the second is their expiration date

/*
 * Date formats
 * see http://php.net/manual/en/function.date.php
 */
$date_format['front_end'] = 'l F j Y';
$date_format['back_end'] = 'n/j/Y';
$date_format['log'] = 'm/j/Y g:i:s A';

/*
 * Miscellaneous
 */

define('FORCE_IPN', false); //This will force non-critical errors to keep the IPN script going when a donation is recieved. That includes unconfirmed steamids and other failures.
define('CCC', false); //https://forums.alliedmods.net/showpost.php?p=1738314&postcount=56#MySQLModule
date_default_timezone_set('Europe/Berlin'); //http://php.net/manual/en/timezones.php
define('cache_time', '15'); //days to resolve cache for information from steam, mainly the avatar image, and display name.
define('PLAYER_TRACKER', false); //McKay Analytics plugin integration // https://forums.alliedmods.net/showthread.php?t=230832 tables must be in the donations database.
define('API_KEY', 'my.secret.apikey'); //http://steamcommunity.com/dev/apikey
define("DEFAULT_LANGUAGE", "en-us"); // name of file in translation folder. dont add .json
$availableLanguages = array('en-us' => 'English', '1337' => '1337 5pEek', 'pt-br' => 'Portuguese (Brazil)', 'es-mx' => 'Spanish (Mexico)'); //set friendly display names here http://msdn.microsoft.com/en-us/library/ms533052(vs.85).aspx
define("STATS", true); //enable stats reporting




/*
 * dont edit this stuff
 */
__________________




Last edited by Kammi_; 07-07-2017 at 13:13.
Kammi_ is offline
Send a message via ICQ to Kammi_
Kammi_
AlliedModders Donor
Join Date: Dec 2007
Old 07-16-2017 , 06:09   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #696

no one an idea?
__________________



Kammi_ is offline
Send a message via ICQ to Kammi_
Kammi_
AlliedModders Donor
Join Date: Dec 2007
Old 08-07-2017 , 15:30   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #697

sry 4 double post

i can't login to admin pannel, it says Wrong User or Password. The Fix for sb++ is included in config.php and admin/index.php, mysql connection is working but no login any idea for that?

Code:
170807 21:22:46	  346 Connect	xxxx as anonymous on NoobBan
		  346 Prepare	SELECT * FROM sb_admins WHERE user=? and password=? and srv_group = 'Techniker'
		  346 Execute	SELECT * FROM sb_admins WHERE user='Kammi_' and password='xxxxxxxx' and srv_group = 'Techniker'
		  346 Close stmt	
		  346 Quit

Fixed Problem was the password hash was incorrect. I don't know why that happend but it works.
__________________




Last edited by Kammi_; 08-11-2017 at 11:18.
Kammi_ is offline
Send a message via ICQ to Kammi_
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-17-2017 , 20:39   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #698

To anyone who couldn't fix the plugin,
You're welcome ;-)
Attached Files
File Type: sp Get Plugin or Get Source (donationcontrol.sp - 372 views - 5.5 KB)
File Type: smx donationcontrol.smx (7.6 KB, 146 views)
ThatKidWhoGames is offline
Bellicus
AlliedModders Donor
Join Date: Mar 2011
Location: Chicago
Old 09-05-2017 , 19:45   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #699

Unable to login using my sb login. Just says "failed login attempt" in the logs and "wrong username or password". I've got the SB salt fix and tried a second installation and it still wont work.

Last edited by Bellicus; 09-05-2017 at 20:18.
Bellicus is offline
ZachBurns
New Member
Join Date: Aug 2017
Old 09-08-2017 , 12:47   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #700

Does anyone know how to change the donation system to subscription based instead of a one time payment? Any help would be greatly appreciated.

Last edited by ZachBurns; 09-08-2017 at 12:48.
ZachBurns is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode