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: 114
Released: 07 May 2009 Last Update: Never Downloads: 944
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

  #211  
Old 16 May 2010, 13:13
iamacyborg iamacyborg is offline
 
Join Date: Sep 2009
I updated my version of Mediawiki and it's since stopped running. I can create a Mediawiki account fine, the redirect to forum login just isn't working.

/edit
And it's now working after reinstalling the product. That was odd.
__________________
GamingLove
Love Wiki

Last edited by iamacyborg; 16 May 2010 at 13:20.
Reply With Quote
  #212  
Old 16 May 2010, 16:59
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Originally Posted by iamacyborg View Post
I updated my version of Mediawiki and it's since stopped running. I can create a Mediawiki account fine, the redirect to forum login just isn't working.

/edit
And it's now working after reinstalling the product. That was odd.

Beautiful and very nice design.

Could you comment on how to apply the design of the forum to the wiki?
Reply With Quote
  #213  
Old 16 May 2010, 17:37
iamacyborg iamacyborg is offline
 
Join Date: Sep 2009
Thank you, though I can't really take the credit for it.
It's mostly a modification I found here (link), though I had to make some changes to the template for it to be fixed width, rather than fluid. Also, it doesn't validate, so it'll need some work if you care about that kind of thing.
Very handy though if you want a nice looking conversion.
__________________
GamingLove
Love Wiki
Reply With Quote
  #214  
Old 17 May 2010, 11:48
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Just as a FYI, the CWD errors can be solved by editing the vB global.php.

Replace:


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

with


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

Still lost on how to solve the VB_SYSTEM_PATH one, though.
Reply With Quote
  #215  
Old 18 May 2010, 17:32
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Originally Posted by AfterWorldForum View Post
Just as a FYI, the CWD errors can be solved by editing the vB global.php.

Replace:


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

with


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

Still lost on how to solve the VB_SYSTEM_PATH one, though.
Wonderful!

Thank you very much for the solution.

In another problem such as I, it is difficult to understand!

Continue to investigate
Reply With Quote
  #216  
Old 24 May 2010, 03:24
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Originally Posted by iamacyborg View Post
I updated my version of Mediawiki and it's since stopped running. I can create a Mediawiki account fine, the redirect to forum login just isn't working.

/edit
And it's now working after reinstalling the product. That was odd.
I'm still having the same issue. Was working fine with 1.15.1, updated to 1.15.3, and now the login on the MW side doesn't work, always says login failure. If the user is logged in already via the forum, that login does carry over successfully to the wiki side and everything works fine. vB 3.8.5, MW 1.15.3, PHP 5.3.2, mysql 5.1.47.
Reply With Quote
  #217  
Old 24 May 2010, 16:20
iamacyborg iamacyborg is offline
 
Join Date: Sep 2009
Have you tried uninstalling the product on the vBulletin side and then reinstalling it?
__________________
GamingLove
Love Wiki
Reply With Quote
  #218  
Old 24 May 2010, 18:00
aciurczak aciurczak is offline
 
Join Date: Jun 2005
I reinstalled it with overwrite enabled, and that didn't change the behavior. I hadn't tried uninstalling it and then reinstalling it; I will give it a shot tonight.
Reply With Quote
  #219  
Old 25 May 2010, 12:42
mazazangy mazazangy is offline
 
Join Date: Jun 2009
thanks
__________________
The complete list of all the games in alphabetical order MaZiKaO forum more than 1390 full game without Setup

http://links.mazikao.net/link6640/
Reply With Quote
  #220  
Old 17 Jun 2010, 14:06
Rean Rean is offline
 
Join Date: Sep 2009
based on readme.txt file:
everything is okay until.. i wrote "php_flag magic_quotes_gpc off" at .htaccess file.


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

Reply With Quote
  #221  
Old 18 Jun 2010, 04:03
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by Rean View Post
based on readme.txt file:
everything is okay until.. i wrote "php_flag magic_quotes_gpc off" at .htaccess file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Do you have a backup of the old .htaccess file, because something didn't get edited right when you saved after editing?
__________________
Reply With Quote
  #222  
Old 13 Jul 2010, 12:38
Burgy Burgy is offline
 
Join Date: Aug 2002
Post PHP ERROR : Use of undefined constant VB_SYSTEM_PATH

vBulletin 3.8.1 Patch Level 1
MediaWiki 1.12.4
MMOG Wiki (Version 2.1.0) Single Sign On from vBulletin

ERROR:
Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/kunstbewegung.info/httpdocs/wikide7/LocalSettings.php on line 19

LocalSettings.php Line 18-20:
require_once( "$IP/includes/DefaultSettings.php" );
define( VB_SYSTEM_PATH, '/var/www/vhosts/kunstbewegung.info/httpdocs/cde' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );

Since I looked around hard and canīt find anybody with the same error, please help.
I did already aply the fix to global.php:

if (!defined('CWD'))
{
define('CWD', (($getcwd = getcwd()) ? $getcwd : '.'));
}

Thank you for helpf
Sincerely yours
Burgy
Reply With Quote
  #223  
Old 23 Jul 2010, 06:49
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Originally Posted by Dontom View Post
ok, finally solved it - in php.ini magic_quotes_gpc was On - set it to off, now it works again...
Thanks!!!
Reply With Quote
  #224  
Old 30 Jul 2010, 23:14
JesterP JesterP is offline
 
Join Date: Jun 2007
404 Not Found after log in

Hi there,


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


I'm getting an error where the redirect back to the wiki fails after log in from the wiki. I am getting redirected to "/wiki/Main_Page" when it needs to be "/wiki/index.php?title=Main_Page".

I have short URLs in the ACP for this mod set to "NO".

Any help would be appreciated!!!

Jester

*edit

I've configured NGinx to rewrite properly, set the option to use short urls to yes. Short urls working fine, now upon logging in it completely omits /wiki from the url and just plops me back on the site. It as if it's ignoring the "/wiki" option in the ACP. Still need help.

*Edit2

Woke up today and it's working fine..... I have no idea why. Thanks.

Last edited by JesterP; 31 Jul 2010 at 17:01.
Reply With Quote
  #225  
Old 18 Aug 2010, 17:21
Dunhamzzz Dunhamzzz is offline
 
Join Date: Jul 2008
Real name: Matthew
Originally Posted by Burgy View Post
vBulletin 3.8.1 Patch Level 1
MediaWiki 1.12.4
MMOG Wiki (Version 2.1.0) Single Sign On from vBulletin

ERROR:
Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/kunstbewegung.info/httpdocs/wikide7/LocalSettings.php on line 19

LocalSettings.php Line 18-20:
require_once( "$IP/includes/DefaultSettings.php" );
define( VB_SYSTEM_PATH, '/var/www/vhosts/kunstbewegung.info/httpdocs/cde' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );

Since I looked around hard and canīt find anybody with the same error, please help.
I did already aply the fix to global.php:

if (!defined('CWD'))
{
define('CWD', (($getcwd = getcwd()) ? $getcwd : '.'));
}

Thank you for helpf
Sincerely yours
Burgy
Try putting VB_SYSTEM_PATH in the define() function in quotes, eg define('VB_SYSTEM_PATH', '/path/to/what');

I am having some problems myself, using the latest MediaWiki 1.16 and vb 3.8.6 PL1. The error is:

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


Last edited by Dunhamzzz; 18 Aug 2010 at 18:11.
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 00:18.

Layout Options | Width: Wide Color: