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

vB Version: 3.8.x Rating: (15 votes - 4.93 average) Installs: 113
Released: 07 May 2009 Last Update: Never Downloads: 932
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.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

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.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin MediaWiki/vBulletin Single Sign-On NoeJeko vBulletin 3.7 Add-ons 322 04 Feb 2013 14:16

  #121  
Old 07 Jan 2010, 09:05
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
It seems, you did not set the path correctly

example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Regards, Bruno
Reply With Quote
  #122  
Old 07 Jan 2010, 09:34
Behzad Varedi Behzad Varedi is offline
 
Join Date: Nov 2007
Real name: Behzad
Originally Posted by BRotondi View Post
It seems, you did not set the path correctly

example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Regards, Bruno
Hello,

Thank you for your attention

actually I did ! that's why I'm confused about this !


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any idea ?
Reply With Quote
  #123  
Old 07 Jan 2010, 10:24
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Sorry ... no. For such cases I installed XAMPP and Netbeans. This is fine to debug a project. You could set a breakpoint on this line and see if it really is beeing executed.

your "Use of undefined constant" says, that this line never has been executet - I think, not the php-hero either . Perhaps you set the line on a wrong copy of LocalSettings.php?

...

Bruno
Reply With Quote
  #124  
Old 07 Jan 2010, 10:51
Behzad Varedi Behzad Varedi is offline
 
Join Date: Nov 2007
Real name: Behzad
Originally Posted by BRotondi View Post
Sorry ... no. For such cases I installed XAMPP and Netbeans. This is fine to debug a project. You could set a breakpoint on this line and see if it really is beeing executed.

your "Use of undefined constant" says, that this line never has been executet - I think, not the php-hero either . Perhaps you set the line on a wrong copy of LocalSettings.php?

...

Bruno
Well, I'm sure that I'm using the right copy cause when I edit it and put something wrong, wiki won't come online again till I change it to what it was.

maybe it's some permission problem ?
Reply With Quote
  #125  
Old 07 Jan 2010, 11:59
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
I don't know, sorry ... "not the php-hero either" .
Reply With Quote
  #126  
Old 08 Jan 2010, 06:24
apply apply is offline
 
Join Date: Aug 2009
I recently upgraded to vB4 and my wiki started throwing errors caused by this mod. I found a workaround that I would like to share in case others face the same issue. I fixed the problem by changing path of "require('./includes/class_bootstrap.php')" at the beginning of vB4 global.php to the full path of the class_bootstrap.php.
Reply With Quote
  #127  
Old 08 Jan 2010, 06:36
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Interesting... Thanks for sharing! Which Versions do you use?
Reply With Quote
  #128  
Old 09 Jan 2010, 04:11
Scan Cape Cod's Avatar
Scan Cape Cod Scan Cape Cod is offline
 
Join Date: Aug 2005
Real name: Scott
Thanks VERY much! I fought this for two hours until I came across your post. MUCH appreciated, and confirmed to work!

Originally Posted by apply View Post
I recently upgraded to vB4 and my wiki started throwing errors caused by this mod. I found a workaround that I would like to share in case others face the same issue. I fixed the problem by changing path of "require('./includes/class_bootstrap.php')" at the beginning of vB4 global.php to the full path of the class_bootstrap.php.
Edit, I should mention that I'm using Mediawiki 1.15.1.
__________________
Scott
Webmaster - Scan New England
Reply With Quote
  #129  
Old 09 Jan 2010, 06:14
raisun raisun is offline
 
Join Date: Dec 2004
curious if anyone has tried this (I dont know enough about mediawiki to know where to edit this):

When a user is login and viewing wiki pages, I'd like the personal_url link for the user page to link to the forum UserCP instead of the user page on the wiki. Seems like it would be easy, I just dont know where to edit that.
Reply With Quote
  #130  
Old 09 Jan 2010, 07:03
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Install FireBug > pick the element you want to change > Change it manually until it fits > find the code you have to change

Good luck!
Bruno

@Scan Cape Cod: Thanks for your version info! Nice to see, that it works also with 1.15!

Last edited by BRotondi; 09 Jan 2010 at 08:33.
Reply With Quote
  #131  
Old 09 Jan 2010, 18:36
raisun raisun is offline
 
Join Date: Dec 2004
duh! thanks man
Reply With Quote
  #132  
Old 10 Jan 2010, 02:42
Scan Cape Cod's Avatar
Scan Cape Cod Scan Cape Cod is offline
 
Join Date: Aug 2005
Real name: Scott
Unhappy

Originally Posted by BRotondi View Post
Install FireBug > pick the element you want to change > Change it manually until it fits > find the code you have to change

Good luck!
Bruno

@Scan Cape Cod: Thanks for your version info! Nice to see, that it works also with 1.15!
Unfortunately my comment was both wrong and premature. I've been in the process of upgrading to vBulletin 4.0 and to the latest MediaWiki, 1.15.1. To get to 4.0 from 3.8.4 I uninstalled all of what were incompatible plug-ins from vBulletin. What I didn't do is remove the code from MediaWiki for this plug in. When I started to get the errors, making the correction as indicated by "apply" solved the errors I was getting when accessing MediaWiki.

I of course had to ultimately "uninstall" MMOG Wiki from MediaWiki by removing the added code. Prior to doing so, trying to edit a wiki page resulted in the "malformed" message mentioned earlier. So, I guess it probably does NOT work with 1.15.1.

My apologies if I misled you or anyone. It was the end of a long day and I wasn't thinking clearly when I made that post.
__________________
Scott
Webmaster - Scan New England
Reply With Quote
  #133  
Old 10 Jan 2010, 06:26
BRotondi's Avatar
BRotondi BRotondi is offline
 
Join Date: Sep 2008
No problem

So I did the upgrade from 1.14 to 1.15 and can confirm myself, that it's working also with 1.15 - without any changes. Or let's say: Login is working as desired through vB, but I did not test the rest.

Have a nice sunday!
Bruno
Reply With Quote
  #134  
Old 11 Jan 2010, 00:32
Quantnet Quantnet is offline
 
Join Date: Nov 2006
What about the wiki skin? Are you able to use the same skin as the forum?
Reply With Quote
  #135  
Old 11 Jan 2010, 00:47
chriske chriske is offline
 
Join Date: Oct 2008
Does the mod work if my forum and wiki are on separate domains?
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 04:26.

Layout Options | Width: Wide Color: