Hello to all,
I'm trying to integrate my mybb login data with my mediawiki installation.
I got the first part which was to use the mybb db to login from mediawiki and that is working just fine, now I wanted it to take it to the next step and in my mediawiki page I'd like to check whether the user has already logged in on mybb, so I thought I'll just use $mybb->user (my mediawiki user table has an extra value with mybb id's to validate). The thing is that I expected that with just 'requiring' (from php) global.php, $mybb would've become available but it's giving me an error.
I understand what the error means, I just don't know how to fix it to meet my needs.
Am I on the right path, is there a plugin that would do this for me?
EDIT: Just in case, this is the structure
Thank you very much.
I'm trying to integrate my mybb login data with my mediawiki installation.
I got the first part which was to use the mybb db to login from mediawiki and that is working just fine, now I wanted it to take it to the next step and in my mediawiki page I'd like to check whether the user has already logged in on mybb, so I thought I'll just use $mybb->user (my mediawiki user table has an extra value with mybb id's to validate). The thing is that I expected that with just 'requiring' (from php) global.php, $mybb would've become available but it's giving me an error.
Fatal error: Call to a member function simple_select() on a non-object in /usr/home/abarth/public_html/abarth.com/forum/inc/class_datacache.php on line 80
I understand what the error means, I just don't know how to fix it to meet my needs.
Am I on the right path, is there a plugin that would do this for me?
EDIT: Just in case, this is the structure
/home/forum
/home/wiki
Thank you very much.