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 |
#252
|
|||
|
|||
It does'nt work for me. The redirect from MediaWiki to the vBulletin site with the authentication form is working. After the authentication the site is redirecting me back to the MediaWiki but i'm not logged in. I've tried it with vb3.7.4 / vb3.8.0 + MW1.13.3.
Can anyone help me with this issue? I've already read this thread and tried the hints of the users but i can't solve this issue. |
#253
|
|||
|
|||
Sounds to me like you need to do the following as I had the same issue
From MW 1.13+ the "AutoAuthenticate" Hook is renamed to "UserLoadFromSession". So edit the hook name to "UserLoadFromSession" at near the end of AuthPlugin_vBSSO.php. |
#254
|
|||
|
|||
It doesn`t work for 3.7.3 for newest mediawiki even if i change authoanthenticate hook and other stuff.
|
#255
|
|||
|
|||
Thx fo your hint, but i already have done this.
|
#256
|
|||
|
|||
I already have vbWiki Pro running, but as the product is no longer supported, suspect will have to move away from it soon. the best that runs with is vb3.8 and Mediawiki 1.11
How does installing this product (replacing vbWiki pro) change things ? TIA. |
#257
|
|||
|
|||
I just set everything up with MediaWiki 1.13.3 and a copy of just updated 3.8.0. Using pages 14 - 16 of this thread have got me running with working integration. I am causing my own grief adding extensions to MediaWiki.
A good set of notes might not be a bad idea, but NeoJeko must be close on updates. |
#258
|
|||
|
|||
Hi guys,
I just installed the latest mediawiki and this hack. When I go to /wiki/ I see a blank page with error 'Page not found' could someone please point me in the right direction. Where did I mess up? |
#259
|
|||
|
|||
I figured it out. The problem was that I have VBSEO installed with .htaccess
Could someone tell me what can I add to the .htaccess so the rules don't apply to /wiki/ folder? RewriteEngine On RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron) RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L,QSA] |
#260
|
|||
|
|||
1) Ok, I found a solution by adding this to vbseo's .htaccess
RewriteRule ^wiki/.*$ - [PT] seems to work. 2) But now I have different problems. It seems that it doesn't recognize me as logged on. I have 3.7.4L1 and 1.13.3 I followed all the recommendations in this thread. The only thing is my site like this: subdomain.domain.com < forum subdomain.domain.com/wiki/ < wiki is the problem because I have a subdomain? In vbulletin, I made sure that my cookie domain is '.domain.com' 3) My wiki redirects to /wiki/index.php/Main_Page , although i have selected "short urls" in options. I'd appreciate any help |
#261
|
|||
|
|||
God damned, i really get angry now.
I updated vBulletin to 3.8.1 ver, and still having problem with wiki 1.13.3. I edited all files including user.php, i have changed file path from relative, and it still doesn`t log into wiki. Maybe there wiki database should by in myisam - the same as vbulletin? It should work, as you posted before with 3.8.0 version... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|