MyBB Community Forums

Full Version: MyBB Mediawiki
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(2008-09-10, 11:41 PM)siopk Wrote: [ -> ]media wiki is this like wikipedia?
where people submit stuff info related
Yeah, it's the software which powers Wikipedia
Hi, great integration, thanks very much for this!

Two requests:

1) Is it possible so that when someone logs in MyBB, they are automatically logged into the Wiki?

2) Users can create an account on the forum via the wiki directly.

This would be very convenient.

Thanks again to the mod creator. Smile
(2008-09-22, 09:32 AM)herbivore Wrote: [ -> ]Two requests:

1) Is it possible so that when someone logs in MyBB, they are automatically logged into the Wiki?

This would be a good feature.

(2008-09-22, 09:32 AM)herbivore Wrote: [ -> ]2) Users can create an account on the forum via the wiki directly.

It would be easier to have MediaWiki redirect registrations to MyBB.
(2008-09-26, 01:16 AM)laie_techie Wrote: [ -> ]
(2008-09-22, 09:32 AM)herbivore Wrote: [ -> ]Two requests:

1) Is it possible so that when someone logs in MyBB, they are automatically logged into the Wiki?

This would be a good feature.
Yes, is there a simple way to achieve this? Somehow call the Wiki's login function if this exists?
When I log into MyBB, I am not automatically logged into MediaWiki. What could be wrong?
That is normal.
This bridge doesn't share the session of both systems.
Ah, for some reason I got the impression it used to. >.<

Is there ANY way to achieve this? I'm desperate for that. Toungue

SMF-MediaWiki integration does do this ()

Is it possible to use a similar way to achieve this for MyBB? Else where would the necessary edits need to be made?

Thanks.
It is possible but i don't know yet how.

I should give a look in the code (maybe i'll do when i'll have time). Smile
I re-wrote from scratch this (thanks to Chris Boulton for having written the first version Cool) but it isn't full tested so if you can help in testing this i would be grateful as i don't have enough time to do this and i don't have a Wiki to stress. Undecided

This uses builtin MyBB's database functions so now it supports all MyBB's backend that are supported in MyBB. Smile

First download AuthMyBB.php from here:
Not maintaned! Use this instead.

If you want that only logged users can edit Wiki content and disabling the Wiki builtin authentication system then you have to append to the LocalSettings.php file the following:
#MyBB Edit
#$wgShowExceptionDetails = true;
# For all non-logged in users
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
 
# Disable everything of caching, caching is boe for the login system.
$wgEnableParserCache = false;
$wgCachePages = false;
 
# Users can use the login function inside of the wiki to login.
$wgUseWikiLogin = false;

require_once("./AuthMyBB.php");
$wgAuth = new AuthMyBB();
#MyBB End Edit

Regards
Wow flash.tato, you are so kind to respond and fulfil my request! I will definitely download it now and test it and let you know now. Smile If it works, I'll shout and scream and be all merry. Big Grin
Sessions aren't shared anyway.

But i'll be adding this if my extension is tested. Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20