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.
  #256  
Old 27 Jan 2009, 10:38
ccunnin71's Avatar
ccunnin71 ccunnin71 is offline
 
Join Date: Mar 2004
Real name: Christopher Cunningham
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.
Reply With Quote
  #257  
Old 28 Jan 2009, 01:44
proxx proxx is offline
 
Join Date: Oct 2003
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?
Reply With Quote
  #258  
Old 28 Jan 2009, 02:04
proxx proxx is offline
 
Join Date: Oct 2003
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]
Reply With Quote
  #259  
Old 28 Jan 2009, 08:00
proxx proxx is offline
 
Join Date: Oct 2003
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
Reply With Quote
  #260  
Old 28 Jan 2009, 18:42
Pavlus's Avatar
Pavlus Pavlus is offline
 
Join Date: Feb 2008
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...
Reply With Quote
  #261  
Old 30 Jan 2009, 14:20
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by Pavlus View Post
It doesn`t work for 3.7.3 for newest mediawiki even if i change authoanthenticate hook and other stuff.
Yes it does, as I have both. But you have to search the most recent posts of this thread to see what was done to make it work.
__________________
Reply With Quote
  #262  
Old 30 Jan 2009, 17:51
katriders katriders is offline
 
Join Date: Sep 2007
I upgraded my VB install to 3.8.1 last night, and now I get the following error message when trying to load the wiki

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

I went back and verified that all my other settings were correct per the install instructions... it was up and running great before the upgrade of vBulletin.

Any ideas on where I can look to track down the problem? I'm running mediaWiki version 1.13.3.
Reply With Quote
  #263  
Old 30 Jan 2009, 19:51
Pavlus's Avatar
Pavlus Pavlus is offline
 
Join Date: Feb 2008
Originally Posted by Digital Jedi View Post
Yes it does, as I have both. But you have to search the most recent posts of this thread to see what was done to make it work.
I have done everything i read any post from this topic two times. Is there any possibility that in php.ini some function is disabled to transfer session information from sites? Maybe this is the reason that its not working?
Reply With Quote
  #264  
Old 30 Jan 2009, 21:33
katriders katriders is offline
 
Join Date: Sep 2007
Disregard my message. I just found out that my host changed how they do the order of precedence when loading a page.... and php5 is lower on the list than html.

Doh!
Reply With Quote
  #265  
Old 09 Feb 2009, 08:18
ericdesmontagne ericdesmontagne is offline
 
Join Date: Mar 2007
Hello i have planned to replace deprecated vbwiki pro by this mod... but...
is it compatible with vb 3.8 ?
is it possible to have 2 mediawiki installed and linked to the vb forum as actually in my configuration ?

Thanks for your help.
Reply With Quote
  #266  
Old 09 Feb 2009, 12:55
Wakey Wakey is offline
 
Join Date: Dec 2008
Real name: Simon Wakefield
I use this Facebook Connect mod.

Anyone else use it and know how to integrate the facebook connect login with this hack
Reply With Quote
  #267  
Old 09 Feb 2009, 15:47
OneShot OneShot is offline
 
Join Date: Apr 2002
Originally Posted by ericdesmontagne View Post
Hello i have planned to replace deprecated vbwiki pro by this mod... but...
is it compatible with vb 3.8 ?
is it possible to have 2 mediawiki installed and linked to the vb forum as actually in my configuration ?

Thanks for your help.
That would interest me as well because I'm in the same predicament (i.e. I have two wikis running with the same vB Forum).
Reply With Quote
  #268  
Old 12 Feb 2009, 10:28
ericdesmontagne ericdesmontagne is offline
 
Join Date: Mar 2007
Unhappy

I have a white page with 3.8... anybody have the solution for this ?
Reply With Quote
  #269  
Old 12 Feb 2009, 20:56
ericdesmontagne ericdesmontagne is offline
 
Join Date: Mar 2007
It is probably due to my version of WIKI (1.13.4) and vb (3.8)
Reply With Quote
  #270  
Old 12 Feb 2009, 21:00
ericdesmontagne ericdesmontagne is offline
 
Join Date: Mar 2007
Originally Posted by ndahiya View Post
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.
I think no...
I have uninstalled vbwiki pro, and trying to install this mod... but still not working as you can read hereabove...
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:31.

Layout Options | Width: Wide Color: