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 |
#312
|
||||
|
||||
I've seen others having problems with vBadvanced and geek.
Has anyone got this mod to work with vBa and geek addons? HTML Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 50 Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(298) : eval()'d code on line 25 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 621 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 621 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php(652) : eval()'d code on line 3 Warning: require_once(./geek/gal/includes/gal_class_core.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(400) : eval()'d code on line 94 Fatal error: require_once() [function.require]: Failed opening required './geek/gal/includes/gal_class_core.php' (include_path='/home/xxxxx/public_html/wiki:/home/xxxxx/public_html/wiki/includes:/home/xxxxx/public_html/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/forum/global.php(400) : eval()'d code on line 94 Without the magic quotes off, I get the above errors. |
#313
|
|||
|
|||
Almost working...
I'm using a subdomain (wiki.penturners.org) so I had to set the forum cookie DOMAIN to penturners.org along with setting the cookie PATH to "/" The wiki logo redirect is is going to: http://wiki.penturners.org/index.php/Main_Page but it should be going to: http://wiki.penturners.org/index.php?title=Main_Page I'm new to MW... is that a config setting or htaccess or what? Thanks |
#314
|
|||
|
|||
When I try to use the MediaWiki/vBulletin Single Sign-On and try to edit the MediaWiki pages I get this error from MediaWiki and I get Apache errors for PHP. If I do not use the Single Sign-On edits to the MediaWiki page go through fine.
I CANNOT edit the mediawiki or save preferences with the Single Sign-On installed. I did the /includes/User.php edit but I still cannot EDIT! Open wiki/includes/User.php FIND: PHP Code: define( 'EDIT_TOKEN_SUFFIX', '+\\' ); Replace with: PHP Code: define( 'EDIT_TOKEN_SUFFIX', '+#+' ); How do you get rid of the PHP errors concerning the CWD error!?!?!? [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. Posted Solution on MediaWiki that does not work for me. Assuming you get this error even when you do have a seemingly valid logon session: Check if /var/lib/php5 is writable and not readable for user and world ( # chmod 733 /var/lib/php5 ) Check to see if your session.save_path value in php.ini is valid and writable to the webserver - PHP configuration. Check to see if there is enough disk space. After making changes restart Apache: /etc/init.d/httpd restart I get Apache errors for PHP: [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/html/wiki/LocalSettings.php on line 28, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/html/wiki/LocalSettings.php on line 28, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit |
#315
|
|||
|
|||
rexford.kim,
You need to disable magic_quotes_gpc as stated in the readme file. If you don't you're going to need to make an edit to class_core.php of vBulletin but I don't suggest that route. Disabling GPC magic quotes will fix your session error. As far as the warnings you can edit global.php to include an "if (!defined ('CWD'))" before the CWD definition but I see no way to do this with the extention. They're annoying but harmless. |
#316
|
|||
|
|||
Hey there.
I just got this installed into 3.8.4. Two things I'm wondering: First, I think I've configured it correctly, so I'm wondering if it is only supposed to autologin when someone goes to the Wiki via the forums, not directly? And second, even after importing the product and setting the path and title, I still only see Unknown Location in the Who's Online list. Could you clarify those points for me? Thanks. |
#317
|
|||
|
|||
I have this installed with vBulletin 3.8.4p1 and MediaWiki 1.15.1. It works well enough, but there's one tiny hiccup. Something related to Memcache is causing MediaWiki to forget about its extensions. I get an error like "Invalid tag extension name: myextension". Haven't yet found a solution to this, but I'm looking.
|
#318
|
|||
|
|||
Quote:
|
#319
|
|||
|
|||
Is it me or mw usergroups dont save when you try to edit a user rights in the media wiki?
|
#320
|
|||
|
|||
Sry I would like to get this kind of User Login, too...
But: I have now vBulletin 4.0.5 and an nearly up to date Wiki... Would it run under vb4? TIA |
#321
|
|||
|
|||
Same question as above basically, I upgraded to version 4 (4.0.7 specifically) and now cannot use my wiki at all, pages just come up blank. What modifications would one have to make to get this working with vBulletin 4?
Edit: should point out that I had this working under 3.7 nicely for quite some time, so it has become disconnected with the upgrade. Thanks, Dexter... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|