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

  #76  
Old 20 Sep 2009, 03:47
Quantnet Quantnet is offline
 
Join Date: Nov 2006
This looks promising. I'll give this a try soon.

Last edited by Quantnet; 25 Oct 2009 at 03:52.
Reply With Quote
  #77  
Old 23 Sep 2009, 13:40
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Got my VPS yesterday, and installed wiki immediately. However, I keep running into trouble when attempting to install this mod. Particularly, I have isolated the trouble to the second line that is to be added to the PHP file. I can insert the first line and have things working, but as soon as the second line is implemented, the page turns blank (Like referenced in page 21, and reported solved later. I just have no idea how to achieve it at my forum, since the wiki and forum reside on the same server on the same domain. Forum in /forums, wiki in /w).

Could someone explain in coochie coo talk what exactly that line is supposed to do, and how I could go about troubleshooting for possible workarounds or solutions, please?


Thanks.

Peter
Reply With Quote
  #78  
Old 23 Sep 2009, 14:32
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Hi Peter,
could you be more specific and show us examples of the code you feel is causing the problem. My forum / wiki is working perfectly now.

Regards

Peter
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #79  
Old 23 Sep 2009, 16:39
jawatkin jawatkin is offline
 
Join Date: Apr 2007
Originally Posted by NoeJeko View Post
Good call on that; I upgraded to PHP 5.3 and it broke so much crap that I had to downgrade back to 5.2 so I had no idea it was incompatible. I'll try to get a version up that accounts for this.

I have, however, confirmed that it works on MW 1.15.
I've reverted to 5.2.10 myself because it broke soooooo many other things I just couldn't handle it..

Quick question: if I go to Special:Statistics, it only says I have 1 Registered User but when I click the Users link, it shows a list of all the members who have been "auto-logged-in". Is there a way to auto-assign them so that they appear in the statistics page?
Reply With Quote
  #80  
Old 23 Sep 2009, 17:03
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Originally Posted by Peter Walker View Post
Hi Peter,
could you be more specific and show us examples of the code you feel is causing the problem. My forum / wiki is working perfectly now.

Regards

Peter
Hi Peter,

Sure. Sorry. I was at work before and did not have access to the files. The statement that ends up throwing me the blank page is:


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

That page is definitly in place, so I'm not sure how to debug where it stuffs up now.

Thanks in advance.

Update: Been trying different things, including removing the $IP setting. No go. I ensured it wasn't the

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

line (Just a quick check. I replace /var/www/html/forum' with my actual path, and leave it within single quotes, right?) by commenting that out, but whether it is enabled or commented, the site still works. As soon as I uncomment the link to the AuthPlugin file, I just see a white empty page.

The source of the page is like this:


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

MediaWiki 1.15.1
PHP 5.1.6 (apache2handler)
MySQL 5.0.77

vBulletin 3.8.4


Peter2

Last edited by AfterWorldForum; 23 Sep 2009 at 18:39.
Reply With Quote
  #81  
Old 23 Sep 2009, 19:19
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
OK, I will give you my settings and so you can try them.


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

and then at the end of the file:


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

Note that I have a few extra features installed like cite.php for example.

Try this and report back.

I am using vb 3.8.4, MediaWiki 1.14.0, PHP 5.2.6, MySQL 5.0.45.

I hope this helps
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #82  
Old 23 Sep 2009, 19:36
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Originally Posted by Peter Walker View Post
I hope this helps
Peter,

As soon as I add the line mentioned earlier to the Auth-file, my page dissappears. I'm guessing that the problem is me running a newer version.

I've been reading up on old installs, and tried some tricks mentioned in there regarding the same line, but all of that seems to be covered in the new version of the hack.

I'm going to see if combing the release notes for the 1.15 version yields anything, otherwise I might just downgrade to wiki 1.14 (the wiki is blank anyway, so no harm done).

Danke!

Peter
Reply With Quote
  #83  
Old 23 Sep 2009, 19:48
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
I was having the blank page issue when I had the wiki on a different domain to the forum. I had to set both my domain names to the same server space before that problem went away. Do you have the correct settings in vb as they play a major role, too.

e.g. the Wiki Path has to point to the "/wiki" directory and not "/w" (I used the full URL)
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #84  
Old 23 Sep 2009, 20:06
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Originally Posted by Peter Walker View Post
I was having the blank page issue when I had the wiki on a different domain to the forum. I had to set both my domain names to the same server space before that problem went away. Do you have the correct settings in vb as they play a major role, too.

e.g. the Wiki Path has to point to the "/wiki" directory and not "/w" (I used the full URL)
Aye, I saw your issue about the blank page in your posts before.

My wiki and forum are in seperate folders, but on the same server and domain.

Forum: www.afterworldforum.com/forum
Wiki: www.afterworldforum.com/wiki

I also installed everything in /w, and have the same settings as you in my localsettings.

As soon as I uncomment line to the the alternative SSO auth page, my wiki will just go blank. I'm going to try and see tomorrow if I can isolate the problem to a single functioncall or line of code by using selective commenting.

Not sure how else to troubleshoot, as I just obtained this VPS box, and my linux skills are extremely rusty (as in ten years or so). I've not bitten myself into this, and dangit, I shall either figure it out, or just give up and download 1.14 tomorrow evening.

Thanks a lot for your help so far, Peter. I did just try using /wiki in the hack, but that also did not do anything. I highly appreciate you taking the time, though.

Off to bed now. Maybe tomorrow morning I'll suddenly see the light.

Peter
Reply With Quote
  #85  
Old 24 Sep 2009, 01:19
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Hi Peter,
I had a look at your site and noticed a minor discrepency.

You just told me your forum was located at: "www.afterworldforum.com/forum"

Yet in reality, it is located at: www.afterworldforum.com/forums

If you used the term "forum" instead of "forums" anywhere in your settings, then it is bound not to work. Please check this out.
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #86  
Old 24 Sep 2009, 05:06
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Originally Posted by Peter Walker View Post
Hi Peter,
I had a look at your site and noticed a minor discrepency.

You just told me your forum was located at: "www.afterworldforum.com/forum"

Yet in reality, it is located at: www.afterworldforum.com/forums

If you used the term "forum" instead of "forums" anywhere in your settings, then it is bound not to work. Please check this out.
Hi Peter,

Must have been my mistake when posting. I am pretty certain that I did use /forums everywhere, but will be sure to check that. I should just learn not to post in the late evening hours


Update: Just checked, and it is correctly defined in the file:


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

Update 2:

Just noticed something weird. In my VPS file manager, I did not see the AuthLogin file. I could see it from my FTP folder, which is where I had been editing it, but for some reason, that obviously failed to get it working properly. I instead uploaded the file through the VPS File Manager (after renaming the other file in FTP), and that seemed to do the trick

I R HAPPY CAMPER NOWZ!

Still baffled an uploaded file doe not somehow not show up, but I guess I'll bug my host about that one.

Update 3: D'OH. My FTP client was pointing towards the OLD FTP site. Since I installed wiki before the migration, the environments looked identical, and I just never noticed.

Wiki-SSO is working great now, so the hack works on MediaWiki 1.15 as well.

Vielen dank fur deine hilfe, Peter. Kann ich dir mals ein bier kaufen wann du nach Danmark kommst?

Cheers.

Peter

Last edited by AfterWorldForum; 24 Sep 2009 at 05:41.
Reply With Quote
  #87  
Old 25 Sep 2009, 06:04
futuredood futuredood is offline
 
Join Date: Jan 2002
does anyone know if this works with jfusion?
Reply With Quote
  #88  
Old 25 Sep 2009, 22:28
murekhalir murekhalir is offline
 
Join Date: Oct 2006
this might be a stupid question - but anyone know the link where to get a vb bridge to WP?
Reply With Quote
  #89  
Old 01 Oct 2009, 13:55
jawatkin jawatkin is offline
 
Join Date: Apr 2007
Originally Posted by murekhalir View Post
this might be a stupid question - but anyone know the link where to get a vb bridge to WP?
It's not a stupid question, but it's definitely not in the right place.

I googled exactly what you asked for (vb bridge to wp) and there are plenty of links:
http://www.google.com/search?client=...UTF-8&oe=UTF-8
Reply With Quote
  #90  
Old 05 Oct 2009, 01:29
OSanchez OSanchez is offline
 
Join Date: Sep 2009
I can't find "localsettings.php"
public_html/Wiki/Localsettings.php is missing..I looked in the downloaded files and didnt come with it.
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 06:57.

Layout Options | Width: Wide Color: