Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MediaWiki/vBulletin Single Sign-On Details »
MediaWiki/vBulletin Single Sign-On
Mod Version: 2.2.0, by NoeJeko (Member) NoeJeko is offline
Developer Last Online: Apr 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (13 votes - 4.92 average) Installs: 110
Released: 18 Sep 2008 Last Update: 02 May 2009 Downloads: 824
Not Supported Uses Plugins Additional Files  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #181  
Old 14 Dec 2008, 05:44
rob01 rob01 is offline
 
Join Date: Sep 2008
Real name: robert
the login dosnt seem to work :S

i can login well in vb, but in my wiki if i click login it will send me to my vb forums i mean the login function wont disapear meaning im still not logged in

any idea?
Reply With Quote
  #182  
Old 14 Dec 2008, 09:36
DawnsWebDesigns's Avatar
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Real name: Dawn
Originally Posted by Varsh View Post
There are barely any edits at all, just look at my previous post:

Just remember to change the system path to yours from mine. If I knew about the change in the require_once setting, then it would've taken me only a minute to install the entire thing. Other than the signing off bug (which isn't much of one), then it works perfectly.
There shouldn't be any edits over & above the ones which must be done in the first place. And if there are they should be posted at the top of this page along with the rest.

I did look at your previous post. And I did try your edit. It still didn't work. As my post said...not only can I not sign out...while I can sign my kid into the forum - I can't into Wikipedia. Although I'm not logged in to the forum it still shows me logged in at Wikipedia. My site wasn't meant to be a beta testing site...I'd like people to actually show up & use it. I'd rather have no bugs if at all possible.
Reply With Quote
  #183  
Old 14 Dec 2008, 10:42
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Originally Posted by rob01 View Post
i can login well in vb, but in my wiki if i click login it will send me to my vb forums i mean the login function wont disapear meaning im still not logged in
Same Problem on my site! (but it works on Varsh's site...) Which Versions are you using?

Thanks for the Link. Very interesting: Login through Wiki works with 3.7.4 and 1.13.2 on ThomasDR's Site!

Bruno

Last edited by BRotondi; 14 Dec 2008 at 11:14.
Reply With Quote
  #184  
Old 14 Dec 2008, 13:38
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Real name: Aaron Varshney
Originally Posted by DawnsWebDesigns View Post
There shouldn't be any edits over & above the ones which must be done in the first place. And if there are they should be posted at the top of this page along with the rest.

I did look at your previous post. And I did try your edit. It still didn't work. As my post said...not only can I not sign out...while I can sign my kid into the forum - I can't into Wikipedia. Although I'm not logged in to the forum it still shows me logged in at Wikipedia. My site wasn't meant to be a beta testing site...I'd like people to actually show up & use it. I'd rather have no bugs if at all possible.
Wait a sec, you're trying to log into Wikipedia? You do realise that won't work, unless you meant MediaWiki. Could you post your edits so I can check what you did please. Also remember that to log out of MediaWiki, you need to log out of the site first and then MediaWiki; so it definitely works, it's just a bit weirdly done that's all.
Reply With Quote
  #185  
Old 14 Dec 2008, 14:11
DawnsWebDesigns's Avatar
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Real name: Dawn
Originally Posted by Varsh View Post
Wait a sec, you're trying to log into Wikipedia? You do realise that won't work, unless you meant MediaWiki. Could you post your edits so I can check what you did please. Also remember that to log out of MediaWiki, you need to log out of the site first and then MediaWiki; so it definitely works, it's just a bit weirdly done that's all.
No. I logged out of my site. It would not log me out of the wiki...not from my site or the wiki site. Trying to logout from the wiki site got me redirected back to my site. And when I revisited the wiki site I was still logged in.

Then I logged my kid into my site. If this mod works like it should then once she logs-in to my site she should be automatically signed into the wiki too. But when I went to check it (using her account) I was still showing up as logged in...not her. If I can't log myself out of both places...& I can't...then she can't be logged in to the wiki.

I'm not sure who you are & I do appreciate you trying but I'm done with this one. I can't post my edits because when I uninstalled the mod I also uninstalled the wiki. I didn't really consider a wiki in the first place & only tried it cuz of this mod. After installing yet another software I can assure you I read everything at the top of this thread & everything within & tried various edits before finally giving up & uninstalling/deleting both. Now I'm done. But thank you anyway.
Reply With Quote
  #186  
Old 14 Dec 2008, 18:38
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Another Idea: Install XAMPP and there your vB and wiki... so you can try whatever you want on your personal PC, ... or install a 2nd wiki/vb on your Server as debugging platform. Of course you should never change your primary site, if you're not 100% sure, what you're doing or if it will work...

@Varsh: Can you please give a linkt to where you downloaded the 3.8beta? I did not fount it even in the member area...

Bruno
Reply With Quote
  #187  
Old 14 Dec 2008, 19:08
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Real name: Aaron Varshney
Did I say b1 earlier? If I did sorry, I meant RC1. That's in the Members Area where you normally download the unstable and stable versions.
Reply With Quote
  #188  
Old 14 Dec 2008, 20:17
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
No, my fault, I called it Beta... and now found also the download under "further downloads" -> Pulldown up. Thanks!

Bruno

Last edited by BRotondi; 19 Dec 2008 at 09:30.
Reply With Quote
  #189  
Old 15 Dec 2008, 12:45
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Doesn't seem to be working for me. It logs you in on the forums, redirects back to the wiki and is not even logged in on there.
Reply With Quote
  #190  
Old 15 Dec 2008, 20:50
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Versions?
Reply With Quote
  #191  
Old 19 Dec 2008, 01:07
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
For those who can't logout from the wiki, make sure you add that line LocalSettings.php as instructed

$wgGroupPermissions['*']['createaccount'] = false;
Reply With Quote
  #192  
Old 19 Dec 2008, 14:24
Pip Pip is offline
 
Join Date: Sep 2004
Thumbs up

I had this problem:
- Login / Logut worked fine
- Users appeared correctly in the "Who is online list"
- When a user edited an wiki article it was edited by "#IP Address" and not by the user
- The user didn't appear as loged in on the wiki

Then I applied to this:
Originally Posted by trackpedia View Post
//$wgHooks['AutoAuthenticate'][] = 'vBSSOAutoAuth';
$wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth';
and it's fixed.

Thanks for that Integration!
Reply With Quote
  #193  
Old 19 Dec 2008, 17:37
FunkyDiver FunkyDiver is offline
 
Join Date: Dec 2008
Originally Posted by obsidian View Post
- Edited the AuthPlugin_vBSSO.php file from:
$wgHooks[AutoAuthenticate ][] = 'vBSSOAutoAuth';
to
$wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth';
- uploaded the files in the upload directory

- edited User.php as stated in Post #143
Got mine working using that... VB 3.7.4 PL1 and MW 1.13.3
Reply With Quote
  #194  
Old 22 Dec 2008, 03:30
kapoor22's Avatar
kapoor22 kapoor22 is offline
 
Join Date: Jan 2008
Any idea if 'MediaWiki/vBulletin Single Sign-On' would work with vBulletin 3.6.8? Your input is very much appreciated.
Reply With Quote
  #195  
Old 22 Dec 2008, 07:47
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Originally Posted by kapoor22 View Post
Any idea if 'MediaWiki/vBulletin Single Sign-On' would work with vBulletin 3.6.8? Your input is very much appreciated.
The specs above say it was tested on 3.6.9, and I don't think there was anything significantly changed in the user authorization between 3.6.8 and 3.6.9. I would speculate that it would work for you.

Dexter...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:03.

Layout Options | Width: Wide Color: