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 |
#52
|
|||
|
|||
Ok, I have a bit more intuitive version of this in work - I should have it released by tonight. It cuts out the need to edit every single file and gives an Admin CP option to set your wiki path. Hopefully this will ease the pain of installing a bit =]
There's nothing I can do to get around the edits to LocalSettings.php in the wiki or class_core.php, but these should be the only files you have to edit once this is over. Hopefully I can bypass the class_core edit once vB 3.8 is out. |
#53
|
|||
|
|||
And again a big thanks for your work!!
(I need more sleep tonight, so I will not be present for debugging ) Bruno |
#54
|
|||
|
|||
It's been updated.
The process has been taken from 5 steps, editing in every file of every step, to 3 steps - and all you have to edit is LocalSettings.php. If you've previously installed the vBulletin product, you'll need to uninstall it and then install this version as the product ID changed (it wasn't really designed as a product before...) Installation of the product is now a requirement or it will fail to function properly. You can simply upload the contents of "upload" to your wiki root and it will overwrite the necessary files. Make sure you check your LocalSettings.php file - there was a change to VB_SYSTEM_PATH. Hopefully this will make it MUCH easier for people to use this product. |
#55
|
|||
|
|||
Very nice, Thanks!!!
I will check it and give you feedback in perhaps 2 weeks, since I got some new work now... (sorry...) Bruno |
#56
|
|||
|
|||
o.k. some spare time and willing to try it
My localsettings has no "require_once( "$IP/includes/DefaultSettings.php" );", but a "require_once( "includes/DefaultSettings.php" );" |
#57
|
|||
|
|||
hmmm... did not worked...
I can register in vB, but Wiki is not touched... I can logoff in Wiki, vB-Logoff works, but Wiki still logged on... I can logon in Wiki, vB Appears (!) but in vB still logged out... |
#58
|
|||
|
|||
I went back to 1.0.3 which workes.
Perhaps I made some mistake... Does 2.0 work at someone else? Bruno |
#59
|
|||
|
|||
Found an error of mine:
sinde I had only require_once( "includes/DefaultSettings.php" ); I did only add require_once( "includes/AuthPlugin_vBSSO.php" ); instead of require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); now I tried to remove $IP in my 1.0.3 installation and WOW! Same "not working" like written! Sorry, my fault!! ... but no Time to test again 2.0 ... Greetings Bruno |
#60
|
|||
|
|||
... and now it does not work again even when I reinsert the $IP!!!!
Bruno Edit: It was an issue from MediaWiki! See Post 61. Everything works fine. |
#61
|
|||
|
|||
Um... I can't even begin to follow your string of posts. This product is working on 2 other boards - mine and my work's corporate site. The instructions said to completely remove the old product - if you downgraded back to 1.0.3 there will likely be a conflict. I'll need to see your LocalSettings.php file to begin trying to decipher what went wrong.
Also, did you check the value of Wiki Root in the ACP? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|