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 |
#112
|
|||
|
|||
I would be willing to donate for this mod to become vB4 compatible. Any chance of that?
|
#113
|
|||
|
|||
Hi,
I was able to get this to work in vb 4.0.0 (mediawiki 1.14) by editing AuthPlugin_vBSSO.php by adding 3 chdir commands twhere the scripts are called <<<<< define('THIS_SCRIPT', 'wiki'); chdir ('/home/sitename/www/forums'); require_once( CWD . '/global.php'); chdir ('/home/sitename/www/forums'); require_once( CWD . '/includes/functions.php'); chdir ('/home/sitename/www/w/includes'); <<<<< the second chdir is redundant, i think, but just to be safe. so far working, but will see how stable it is. ndahiya |
#114
|
|||
|
|||
Great! Thanks! (not tested yet, but nice to hear )
Bruno |
#115
|
|||
|
|||
Quote:
when saving an edit or adding a new page I get the 'token_suffix_mismatch' message: => "'''Your edit has been rejected because your client mangled the punctuation characters in the edit token.''' Any help is appreciated! |
#116
|
|||
|
|||
Quote:
Code:
$oldcwd = getcwd(); chdir( VB_SYSTEM_PATH ); require_once( CWD . '/global.php'); require_once( CWD . '/includes/functions.php'); chdir($oldcwd); |
#117
|
|||
|
|||
Confirmed, GREAT!
Add the red code after the existing black in "wiki\includes\AuthPlugin_vBSSO.php" Code:
# INITIALIZE VBULLETIN SUBSYSTEM if ( !defined( 'CWD' ) ) define( 'CWD', ( VB_SYSTEM_PATH ) ); $oldcwd = getcwd(); chdir( VB_SYSTEM_PATH ); require_once( CWD . '/global.php'); require_once( CWD . '/includes/functions.php'); chdir($oldcwd); Bruno |
#118
|
|||
|
|||
Quote:
I'm having this issue and am unable to fix it, any ideas? Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 19 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 42 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 50 Warning: Invalid argument supplied for foreach() in /usr[path]/includes/init.php(304) : eval()'d code on line 15 Unable to add cookies, header already sent. File: /usr/home/nexusone/public_html/forum/includes/class_core.php Line: 3277 |
#119
|
|||
|
|||
It worked fine with vBa 3.2.1 and vB 3.8.*. I don't think that's the reason for your errors...
|
#120
|
||||
|
||||
posting here so I can find this tommorow (when I'm looking to install on VB4)
|
#121
|
|||
|
|||
Hello,
I have this error in vb4 Code:
Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /home/persianppc/domains/wiki.persianppc.com/public_html/LocalSettings.php on line 26 I'm sure about the path I set in "LocalSettings.php" Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|