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 |
#212
|
|||
|
|||
Quote:
Also, BuddyPress released their latest version on 15th December. Apparently, that's the next big thing for social-networking software. Any chance you'd be interested to develop similar single sign on plug-in for vBulletin-BuddyPress? Thanks again! . |
#213
|
|||
|
|||
Oops, wrong thread. Sorry.
|
#214
|
|||
|
|||
Has anyone gotten this to wrap inside of vBadvanced?
|
#215
|
|||
|
|||
Failed to install / work
vBulletin 3.7.3 MediaWiki 1.13.3 array errors in the vba_cmps_include_template.php seems to be a major drama with the line require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); as when this is commented out the wiki shows up just can't log in... (but at least ya can see the wiki!) but yeah I'm no coder so I dunno why re following all the docs (and making sure the edits were correct etc) it's not working |
#216
|
||||
|
||||
That error is a vBAdvanced error. Are you using vBa for anything to do with the Wiki?
|
#217
|
|||
|
|||
hmm had it as an iframe in an ajax tab that was setup as a vba page.
I can remove that and try again today some time. Q: Even though I tried hitting the /wiki url direct was still throwing an error would it do that regardless of trying to view it via a vba setup or not? (What I mean is that if I view via vba through the forums I'd expect an error, but hitting the wiki url directly should bipass any vba and show the wiki directly how ever that is still throwing an error) |
#218
|
||||
|
||||
I would think you shouldn't be getting that error if your not looking at it through vBa. Sounds like vBa is conflicting another way. Your wiki is not in your forum root, right? It's outside? I have vBa, but I chose to put the Wiki in the forum root and I haven't had any conflicts like that. I think your problem might be the directory.
|
#219
|
|||
|
|||
vBulletin 3.7.3
MediaWiki 1.13.3 - I upgraded vba to 3.1.0 - Then moved directory into /forums/ (so it's now accessible via /forums/wiki ) and edited the LocalSettings.php to reflect this change. I'm still getting the following error Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.scorn/PRIVATEDIRS/forums/includes/vba_cmps_include_template.php on line 19 and Code:
Warning: Invalid argument supplied for foreach() in /includes/init.php(293) : eval()'d code on line 122 I have also tried the following suggestions re the version of mediawiki Quote:
|
#220
|
|||
|
|||
is there a (simple) migration path from nuhit's vbWiki Pro to this?
currently running vB 3.8RC2 with mediawiki 1.3 |
#221
|
|||
|
|||
One more thing to throw onto your plate....
I was speaking with the server administrator at my webhost, and he mentioned that this mod seems to be generating a PHP error every time a user access a page on the wiki: Quote:
Apparently the server PHP log is filled with thousands of those. He believes it has something to do with how the VB_SYSTEM_PATH constant is defined. Dexter... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|