The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MediaWiki/vBulletin Single Sign-On Details »» | |||||||||||||||||||||||||||
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
Show Your Support
|
Благодарность от: | ||
Wired1 |
Comments |
#82
|
|||
|
|||
OK, I will give you my settings and so you can try them.
Code:
require_once( "$IP/includes/DefaultSettings.php" ); define( VB_SYSTEM_PATH, '/srv/www/vhosts/rifeforum.com/httpdocs/forum' ); require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); require_once('extensions/Cite/Cite.php'); require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*' ]['edit'] = false; $wgGroupPermissions['*' ]['createpage'] = false; $wgGroupPermissions['*' ]['createtalk'] = false; $wgGroupPermissions['user']['edit'] = true; Code:
$wgScriptPath = "/w"; # Path to the actual files. This should already be there $wgArticlePath = "/wiki/$1"; # Virtual path. This directory MUST be different from the one used in $wgScriptPath $wgUsePathInfo = true; # Enable use of pretty URLs $wgWhitelist['sysop']['read'] = $wgBlacklist['*']['read'] = array("Special:Export", "Special:Listusers", "Special:Ipblocklist", "Special:Log", "Special:Allmessages"); $wgAllowCopyUploads = true; # Allow for upload to be copied from an URL. Requires Special:Upload?source=web $wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'svg', 'xls', 'mpp', 'pdf', 'zip'); 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 |
#83
|
|||
|
|||
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 |
#84
|
|||
|
|||
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) |
#85
|
|||
|
|||
Quote:
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 |
#86
|
|||
|
|||
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. |
#87
|
|||
|
|||
Quote:
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: Code:
require_once( "$IP/includes/DefaultSettings.php" ); define( VB_SYSTEM_PATH, '/var/www/vhosts/afterworldforum.com/httpdocs/forums' ); #require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); $wgGroupPermissions['*']['createaccount'] = false; 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 |
#88
|
|||
|
|||
does anyone know if this works with jfusion?
|
#89
|
|||
|
|||
this might be a stupid question - but anyone know the link where to get a vb bridge to WP?
|
#90
|
|||
|
|||
Quote:
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 |
#91
|
|||
|
|||
I can't find "localsettings.php"
public_html/Wiki/Localsettings.php is missing..I looked in the downloaded files and didnt come with it. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|