Could anybody make a MyBB Site Development Kit? Something like IPB SDK? IPB SDK is a library of functions that lets a webmaster easily integrate his/her main website with his/her forums. Functions that fetch threads, forums, user data, session data, and alot more are included in IPB SDK, probably its possible with MyBB too? I mean, the thing that's holdin me back from MyBB is the lack of site integration tools... Until now, I use my IPB 2.0 Trial (which I got legally, BTW) in some of my websites only because it has IPB SDK, which really gives me ease to integrate my forums with my website...
Hope somebody's up to it
To get more info on IPB SDK, see
http://ipbsdk.sourceforge.net/
Would it work in MyBB 1.0?
Yeah, it's still for MyBB RC3
Means not necessary that it wont work.
Just trying would be the best way to find it out
I've tried it, and it doesn't work, and I don't think the fault is in my part, I put SDK.PHP in the right place (inc folder) and I edited it a little to get CLASS_DATACACHE.PHP instead of just DATACACHE.PHP... I'm not a good coder, so I don't really know how to fix it... it says:
Quote:Notice: Undefined property: MyBB::$config in H:\wwwroot\PR2.0.1\inc\class_datacache.php on line 19
Fatal error: Call to a member function query() on a non-object in H:\wwwroot\PR2.0.1\inc\class_datacache.php on line 33
To the moderators
I think it would be better to merge this with
http://community.mybboard.net/showthread...6#pid44006
Try the attached file. Its the original SDK file, but modified so that its called MyBBSDK as the new core files use $MyBB. I use it and it works fine with version 1.04.
To use it:
$mybbSDK = new MyBBSDK;
$mybbSDK->connect();
//etc
Thankyou, but there are still flaws
Quote:Notice: Trying to get property of non-object in H:\wwwroot\mybb1\inc\class_datacache.php on line 19
Notice: Trying to get property of non-object in H:\wwwroot\mybb1\inc\db_mysql.php on line 55
Notice: Undefined variable: mybb in H:\wwwroot\mybb1\inc\class_sdk.php on line 49
Notice: Undefined index: debug in H:\wwwroot\mybb1\inc\class_core.php on line 64
Notice: Undefined variable: mybb in H:\wwwroot\mybb1\inc\class_sdk.php on line 50
Notice: Undefined variable: config in H:\wwwroot\mybb1\inc\class_sdk.php on line 23
Warning: MyBBSDK::connect(db_.php) [function.connect]: failed to open stream: No such file or directory in H:\wwwroot\mybb1\inc\class_sdk.php on line 23
Fatal error: MyBBSDK::connect() [function.require]: Failed opening required 'db_.php' (include_path='.;C:\php5\pear') in H:\wwwroot\mybb1\inc\class_sdk.php on line 23