2009-06-08, 11:27 PM
2009-06-08, 11:28 PM
Hm, I'll have to look more into it. Can't seem to find what's going wrong.
2009-06-08, 11:29 PM
I shall as well, but thanks its really appreciated.
2009-06-08, 11:30 PM
No problem
2009-06-08, 11:54 PM
I'm trying to re-create the classes which would be present in MyBB in codeigniter with quite a few require_once's, think I'm on to something but I've got this, if you've any idea?
Sticking at it, and got to a similar error to before, all help is appreciated
Quote:A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: inc/class_session.php
Line Number: 70
Sticking at it, and got to a similar error to before, all help is appreciated
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined index: mybbuser
Filename: inc/class_session.php
Line Number: 80
2009-06-10, 08:18 PM
Quite a lot of work to manually run the initialization process of MyBB.
I finished my exams and will have more time to dedicate my time to programming - amongst the MyBB Integrator.
It seems quite difficult to make it work with Codeigniter, just by reading your problems.
You would first have to find out what the actual error is - so what is it really caused by.
Then we might find a solution to it.
I finished my exams and will have more time to dedicate my time to programming - amongst the MyBB Integrator.
It seems quite difficult to make it work with Codeigniter, just by reading your problems.
You would first have to find out what the actual error is - so what is it really caused by.
Then we might find a solution to it.
2009-06-13, 09:52 AM
My guess is no mybbuser is being passed in to the object, so im missing an initialization step of MyBB, anyway I've gone back to the drawing board and trying a different approach. Ill keep you updated.
2009-06-23, 09:04 PM
pretty poor attempt at the moment, i've looked at the phpbb integration and i'm trying to see if i can take anything from that but doesn't look like it.
2009-06-24, 06:48 AM
Yes, this really does seem like a blueberry I must say.
Best thing would probably be to post on the Codeigniter forum and ask for help
Best thing would probably be to post on the Codeigniter forum and ask for help
2009-07-21, 09:29 PM
Nice class!
But I have one problem, I can use the functions like login, register, etc.
And also some functions this way:
but I can not use some of the functions this way:
Does anybody know how I can use them, when I don't fill in a UID?
But I have one problem, I can use the functions like login, register, etc.
And also some functions this way:
$mybb->getUser(1);
$mybb->isSuperAdmin(1);
but I can not use some of the functions this way:
$mybb->isLoggedIn();
$mybb->getuser();
$mybb->isSuperAdmin();
$mybb->getuser(0);
$mybb->isSuperAdmin(0);
So they are not working when I don't fill in a UID...Does anybody know how I can use them, when I don't fill in a UID?