MyBB Community Forums

Full Version: SDK for MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been thinking about what we should put in an SDK for a future version (possibly) and I've got many wild ideas but I'd like to start on a basis. So far I've got:

1) Login/Logout with built in form (customizable of course)
2) Member/Guest checking (return true/false with function
3) Function for fetching news from announcement forums
4) Who's online/offline
5) Some Forum statistics

I'm not sure exactly what an SDK should include so I'm coming to you guys for the input.

Just a note; Not everything suggested is going to be implemented, so I suggest you consider it reasonably before posting so, otherwise it will just be ignored.
sorry, but what the mean of SDK!!?
Software Development Kit. http://en.wikipedia.org/wiki/SDK
Well are you talking about a windows desktop SDK for plugins? Please elaborate on implementation.

Some things I would like to see are easier ways to hook into variables and such. Like say I choose $page...then it will give me options on what template variables are on page or the ability to make my own. Easier IF statement and LOOP statements.
I believe Tikitiki is talking about an SDK for developing PHP scripts that operate with MyBB.  There used to be a basic SDK included in the MyBB release some time ago (inc/class_sdk.php) however has since been removed.

MyBB Mods used to use the included SDK, but since it was removed I've written my own similar script which simply provides a way of validating and logging in users, so as the login for the main site and forum are shared.  I think that would probably be the most crucial feature for any SDK.
1. User Register
2. User Validate
3. User Update (include password resets)
4. User Login / Logout
5. User Banned / Unbanned (maybe for mod preview, too?)
Reference URL's