AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Release Donation Control 3.1.0 [over 1000 donations served!] (https://forums.alliedmods.net/showthread.php?t=221742)

DJ Tsunami 07-30-2013 14:24

Re: Donor Control
 
The documentation is live on http://docs.sourcebans.net and http://docs.sourcebans.net/api if you want to start learning, but of course they are unfinished. There is now also the partially working Steam Community Bans plugin which you can use as an example.

nineteeneleven 07-30-2013 15:12

Re: Donor Control
 
the documentation looks pretty strait forward.

I dont know much about Yii framework, anything special I would need to know about it?

DJ Tsunami 07-30-2013 16:16

Re: Donor Control
 
I listed its main features on the development overview page. Basically it's object-oriented, uses the MVC pattern, ActiveRecord as ORM, I18N, theming and much more. They also have a guide with examples for a bunch of its features, and all of its classes are extensively documented in our API reference.

deFenSor 08-11-2013 09:26

Re: Donor Control
 
Can you please add option for sourcebans prefix?

nineteeneleven 08-12-2013 11:11

Re: Donor Control
 
Quote:

Originally Posted by deFenSor (Post 2010736)
Can you please add option for sourcebans prefix?


I take it your not using sb_

ozgaming 08-15-2013 08:33

Re: Donor Control
 
do you have a paypal account we can donate too? This is brilliant thanks

captaindeterprimary 08-15-2013 11:59

Re: Donor Control
 
Quote:

Originally Posted by ozgaming (Post 2013677)
do you have a paypal account we can donate too? This is brilliant thanks

http://nineteeneleven.info/ Its at the bottom of his page.

nineteeneleven 08-15-2013 21:37

Re: Donor Control
 
Quote:

Originally Posted by ozgaming (Post 2013677)
do you have a paypal account we can donate too? This is brilliant thanks

Quote:

Originally Posted by vman315 (Post 2013859)
http://nineteeneleven.info/ Its at the bottom of his page.


yep, its right there :fox:


anyway i released a quick update, only file thats changed really is show_donations.php and donate.php

1.3.4 will automatically hide expired donors in the admin panel, with an option to show them. and I also change the regular expression to show only printable characters, instead of striping all non a-z 0-9 chars.
also sorts users by expiration date now
next update will have a login system so you no longer need htaccess, and ill do the prefix support.

ozgaming 08-17-2013 03:28

Re: Donor Control
 
Quote:

Parse error: syntax error, unexpected T_CASE in /home/*/public_html/*/admin/scripts/manual_entry_submit.php on line 100
getting that error when I try and do a manual entry.

Pickles47 08-17-2013 06:08

Re: Donor Control
 
Quote:

Originally Posted by ozgaming (Post 2015181)
Parse error: syntax error, unexpected T_CASE in /home/*/public_html/*/admin/scripts/manual_entry_submit.php on line 100

I believe there are two errors. I fixed them by changing two lines.

PHP Code:

89.                                if(!$debug){queryServers('sm_reloadadmins');}
90.                        }
91.        

Delete line 91.

Also needs a closing bracket on line 142.
PHP Code:

header("Location: ../show_donations.php");}
?> 

If this is incorrect please tell and I will delete/modify post. Also I had a problem with donors not being assigned to servers and the database entries in sb_admins_servers_groups being incorrect. Should have been 1 1 -1 and not 4 8 -1 which is what I am seeing in phpmyadmin.

What all would need to changed to have this working in sourcebans 2?


All times are GMT -4. The time now is 00:40.

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