API?
Will you release an early developer API, (for those of us who want to get started early on working with sourcebans 2.0)?
Also on a side note, i am pretty decent with styling and theme design in general. Is there anyway i can get started as far as making a theme as an addon to Sourcebans 2.0? |
Re: API?
http://docs.sourcebans.net/guide/development.overview
http://docs.sourcebans.net/api As you said, it's early, haven't had much time documenting it further, but the basics are there. As for the theme, a couple of people have offered to do one, but only one person has actually started and is making good progress. The current theme is kind of complex due to the heavy use of Yii widgets and JavaScript, so you'll probably have to get into the Yii framework a bit if you want to start on your own theme. |
Re: API?
Quote:
also the API looks nice, is there any examples you can possibly give as to how to go about creating the various modules? As far as theme goes, ill probably end up porting the default bootstrap theme and changing up the CSS a bit to make it look slightly different! (Currently trying to figure out a way to incorporate Metro UI kind of feel to sourcebans) |
Re: API?
Yii is a PHP framework based on the MVC (model-view-controller) design pattern. It comes with:
If you want to create SB2 plugins, there's a simple example in the documentation, which you can save as application/plugins/DemoPlugin.php and then enable it under Administration > Settings > Plugins. The included Community Bans plugin is more complex (and unfinished, but you can enable it and see what it does so far). You're right, most people will probably just change the CSS to make it look different, so I am looking into the possibility of adding CSS files to existing themes, so you don't have to copy the HTML. But due to starting a new job my time has been limited. |
Re: API?
Is this in the documentation yet Tsunami?
https://github.com/GameConnect/Sourc...mment-22818156 |
Re: API?
It's roughly described on http://docs.sourcebans.net/guide/development.events.
|
All times are GMT -4. The time now is 13:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.