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.8.x. For vB 3.7.x, please use the MediaWiki/vBulletin Single Sign-On 3.7 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 Download Now
Show Your Support
|
Благодарность от: | ||
Wired1 |
Comments |
#222
|
||||
|
||||
Quote:
|
#223
|
|||
|
|||
vBulletin 3.8.1 Patch Level 1
MediaWiki 1.12.4 MMOG Wiki (Version 2.1.0) Single Sign On from vBulletin ERROR: Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/kunstbewegung.info/httpdocs/wikide7/LocalSettings.php on line 19 LocalSettings.php Line 18-20: require_once( "$IP/includes/DefaultSettings.php" ); define( VB_SYSTEM_PATH, '/var/www/vhosts/kunstbewegung.info/httpdocs/cde' ); require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); Since I looked around hard and can´t find anybody with the same error, please help. I did already aply the fix to global.php: if (!defined('CWD')) { define('CWD', (($getcwd = getcwd()) ? $getcwd : '.')); } Thank you for helpf Sincerely yours Burgy |
#224
|
|||
|
|||
Thanks!!!
|
#225
|
|||
|
|||
Hi there,
Code:
404 Not Found -------------------------------------------------------------------------------- nginx I'm getting an error where the redirect back to the wiki fails after log in from the wiki. I am getting redirected to "/wiki/Main_Page" when it needs to be "/wiki/index.php?title=Main_Page". I have short URLs in the ACP for this mod set to "NO". Any help would be appreciated!!! Jester *edit I've configured NGinx to rewrite properly, set the option to use short urls to yes. Short urls working fine, now upon logging in it completely omits /wiki from the url and just plops me back on the site. It as if it's ignoring the "/wiki" option in the ACP. Still need help. *Edit2 Woke up today and it's working fine..... I have no idea why. Thanks. |
#226
|
|||
|
|||
Quote:
I am having some problems myself, using the latest MediaWiki 1.16 and vb 3.8.6 PL1. The error is: Code:
Warning: Parameter 1 to vBSSOAutoAuth() expected to be a reference, value given in /sites/umpc-mydellmini/www/http/w/includes/Hooks.php on line 133 MediaWiki internal error. |
#227
|
|||
|
|||
Ok I have got this mod working successfully for vBulletin 3.8.6 and MediaWiki 1.17 with PHP 5.3. In fact, the vB version shouldn't really matter at all.
Ok first of all wrap the CMD constant in an if statement, as outline in post #215. Second of all open up the AuthPlugin_vBSSO.php file in the includes directory of Mediawiki and search for the line: Code:
function vBSSOAutoAuth(&$user) { |
#228
|
|||
|
|||
I want to disallow registered user logins or rather page editing. I guess I just change the permissions for regular users in mediawiki.
|
#229
|
|||
|
|||
when i use this mod, my users can't change mediawiki skins; if i disable it, they can. is this by design? am i missing something?
|
#230
|
|||
|
|||
Users can not login through the Wiki side. Any ideas what I'm doing wrong?
|
#231
|
||||
|
||||
What do you mean by User Preferences?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|