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
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-30-2013 , 14:24   Re: Donor Control
Reply With Quote #21

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.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 07-30-2013 , 15:12   Re: Donor Control
Reply With Quote #22

the documentation looks pretty strait forward.

I dont know much about Yii framework, anything special I would need to know about it?
__________________
nineteeneleven is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-30-2013 , 16:16   Re: Donor Control
Reply With Quote #23

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.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
deFenSor
AlliedModders Donor
Join Date: Aug 2013
Location: Slovakia
Old 08-11-2013 , 09:26   Re: Donor Control
Reply With Quote #24

Can you please add option for sourcebans prefix?
deFenSor is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-12-2013 , 11:11   Re: Donor Control
Reply With Quote #25

Quote:
Originally Posted by deFenSor View Post
Can you please add option for sourcebans prefix?

I take it your not using sb_
__________________
nineteeneleven is offline
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 08-15-2013 , 08:33   Re: Donor Control
Reply With Quote #26

do you have a paypal account we can donate too? This is brilliant thanks
ozgaming is offline
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 08-15-2013 , 11:59   Re: Donor Control
Reply With Quote #27

Quote:
Originally Posted by ozgaming View Post
do you have a paypal account we can donate too? This is brilliant thanks
http://nineteeneleven.info/ Its at the bottom of his page.
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-15-2013 , 21:37   Re: Donor Control
Reply With Quote #28

Quote:
Originally Posted by ozgaming View Post
do you have a paypal account we can donate too? This is brilliant thanks
Quote:
Originally Posted by vman315 View Post
http://nineteeneleven.info/ Its at the bottom of his page.

yep, its right there


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.
__________________

Last edited by nineteeneleven; 08-15-2013 at 21:39.
nineteeneleven is offline
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 08-17-2013 , 03:28   Re: Donor Control
Reply With Quote #29

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.

Last edited by ozgaming; 08-17-2013 at 03:28.
ozgaming is offline
Pickles47
Member
Join Date: Jun 2013
Old 08-17-2013 , 06:08   Re: Donor Control
Reply With Quote #30

Quote:
Originally Posted by ozgaming View Post
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?

Last edited by Pickles47; 08-17-2013 at 06:09.
Pickles47 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 07:02.


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