The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MediaWiki/vBulletin Single Sign-On Details »» | |||||||||||||||||||||||||
Overview:
This hack provides single sign-on capability for MediaWiki using your vBulletin users. You must ensure your cookie path in Admin CP is set to '/' for this to work. Also, I have not tested this if your wiki and your forums are on different subdomains - but as long as your have your cookie domain set properly it *should* work. This is not a user bridge - it is a complete single sign-on using your vBulletin user repository. The install process has been extremely simplified in version 2.x of this product. You only have to edit LocalSettings.php, import a product, and change a setting in your Admin Control Panel. It's been completely packaged as a vBulletin product - unlike the previous hacked up version, heh. I didn't originally plan to release this so I designed it so it worked - not so it could be redistributed. I searched high and low for a functional MediaWiki bridge - almost bought NuHIT's product, and then realized it had been abandoned for over a year. This hack no longer requires an edit to class_core.php. I'll do my best to support it, but I can make no promises. This thread is for discussion of this mod on vB 3.7.x. For vB 3.8.x, please use the MediaWiki/vBulletin Single Sign-On 3.8 thread Demo of plugin in action: MyMMOGames - Multiplayer Gaming and Media Community Also, if you use memcached - ensure you do not cache sessions. If you do, restart it at least once a week. If you don't, you'll end up with invalid session errors out of MediaWiki. Requirements: MediaWiki Version: 1.11.0-1.14.0 vBulletin Version: 3.6.9-3.8.2 Features: - Provides single sign on capability between vBulletin and Mediawiki. vBulletin user repository is used - Configurable sysop/bureaucrat groups - Configurable disallowed user groups - Configurable "Who's Online" display - Counts users viewing wiki in vBulletin's "Who's Online" Installation/Upgrade: Please read the included "readme.txt" file in the "docs (do not upload)" folder. Options: Admin Control Panel->vBulletin Options->MMOG Wiki Options Change Log: 1.0.0.0 - Sep 18, 2008 - Initial Release 1.0.3.0 - Sep 29, 2008 - Bugfix: Incorrect redirects for login/logout 2.0.0.0 - Sep 30, 2008 - Feature: Streamlined installation procedure - Feature: Wiki path set in ACP - Bugfix: Forum paths no longer hardcoded 2.1.0 - Oct 4, 2008 - Feature: ACP option to use MediaWiki Short URLs - Feature: ACP option to set sysop groups - Feature: ACP option to set bureaucrat groups - Feature: ACP option to disallow login to certain groups - Feature: ACP option to change WOL display text 2.2.0 - May 1, 2005 - Bugfix: Users are not logged out when logging out of the forum - Bugfix: No longer requires modification to class_core.php - Feature: Mediawiki 1.13.0+ supported (verified on 1.14.0 also) If you like it, please click "mark as installed" The more people that use this, the more time I will make to try and support/update it. Been pulling your hair out looking for this as long as I have? Nominate it for Mod of the Month =] AuthPlugin was inspired by and modified from this existing MediaWiki Extension: http://www.mediawiki.org/wiki/Extension:QISSingleSignOn Show Your Support
|
Comments |
#272
|
|||
|
|||
Quote:
|
#273
|
||||
|
||||
Confirmed to work with vB 3.8.1 and MediaWiki 1.13.4. Only two fixes needed:
1. From the zip file, open AuthPlugin_vBSSO.php. Near the end, replace "AutoAuthenticate" with "UserLoadFromSession". Props to shikareez! 2. I still had to make the class_core.php edit. Working! |
#274
|
|||
|
|||
Getting this to work with MW 1.13.4 is EASY... You DONT need to edit class_core.php...
1. Install Media Wiki, following the standard install instructions... 2. Install this mod, following the standard instructions... 3. Open AuthPlugin_vBSSO.php. FIND: "AutoAuthenticate" and replace with "UserLoadFromSession". 4. Open wiki/includes/User.php FIND: PHP Code:
PHP Code:
http://www.8wayrun.com/wiki/Special:Version |
#275
|
||||
|
||||
I did the User.php thing and still couldn't edit anything. So, I did the class_core.php and everything worked fine.
How do you explain that? |
#276
|
|||
|
|||
You forgot to upload your changed User.php.
|
#277
|
||||
|
||||
I uploaded it. But I tell you what.......I'll try again.
|
#278
|
|||
|
|||
It's really late here, and 19 pages is a lot to read. So...
I installed my wiki in a separate database than vbulletin. Anybody have any pointers on what to modify to make this work with two separate databases? I am working myself through the pages of this thread... Post #42 solved the redirect problem that occured when you try to log in. Unfortunately, after clicking the login button, the user gets redirected to the wiki and is still not logged in. Also, the other wiki bridge modification is very heavy on the database, because it queries the user details on every page load. Is this the case with this mod, too? |
#279
|
|||
|
|||
Quote:
|
#280
|
|||
|
|||
will this only work with monobook style?
I am using the modern style, and am not able to log in. |
#281
|
|||
|
|||
I got it working now. Somehow I did not follow the readme.txt.
Now how would I set up the user group permissions? I want to allow registered forum users to edit the wiki. Visitors who are not logged in should not be able to edit, though. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|