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 |
#22
|
|||
|
|||
I have moved my other wiki domain to the same root server, but still cannot get this to work.
I have installed the wiki as follows: Domain: www.rifewiki.org Directory: /w with virtual directoy /wiki (pretty names) VB Forum: www.rifeforum.com Directory: /forum I use two seperate MySQL databases The Wiki works fine when this hack is not used. As soon as I add the hack in Localsettings.php, the wiki stops working (just a white screen, nothing else). In previous tests, it did work when I used www.rifeforum.com/wiki, but I would prefer to use the dedicated www.rifewiki.org domain instead. The server runs with Suse Linux and Plesk 8.6 Can someone here tell me how to get this working? Regards Peter |
#23
|
|||
|
|||
I was waiting for a working hack like this one before installing MediaWiki, and it's working exactly as I had hoped. Big thanks for putting this together, and for making it so easy to install.
I have one suggestion, when the hack creates the new wiki account based on the vbulletin credentials, is it possible to automatically populate the email address in the wiki account based on the vbulletin account's email address? It seems clunky that users have to re-enter their email address again in the wiki environment. I've disabled email authentication (using $wgEmailAuthentication = false; in localsettings.php) so they at least don't have to go through the email confirmation process a 2nd time. I'd also suggest that if people only want their vBulletin users to be able to edit the wiki, so set: $wgGroupPermissions['*']['edit'] = false; in localsettings.php. This hack along with this hack to give the wiki a vbulletin feel have made it pretty straightforward to have a MediaWiki installation fit in very well with a vB installation. My forum is at www.ninjette.org, wiki is at wiki.ninjette.org. |
#24
|
|||
|
|||
I really dig this add-on but I just can't get it to work. I receive an error similar to SemperFideles' so I have to give up at least temporarily.
|
#25
|
|||
|
|||
I am still working fine on the old 3.7 version. I will keep an eye on your improvements to this plugin. Thank you for picking this up!!
|
#26
|
|||
|
|||
I have got this working with my two domains: www.rifeforum.com and www.rifewiki.org
Basically I had to setup both domains to point to the same place on the server. I have the forum in the /forum and the wiki in the /w directories. I now tell those users who want to use a pseudonym to create a new account especially for the Wiki. Those accounts go into a special RifeWiki usergroup and have set permissions to only allow to view posts on my forum, yet have full user rights on the wiki. Forum members visiting the Wiki under www.rifeforum.com/wiki can access the wiki with their standard username (e.g. "John Smith"). To use the pseudonym, they need to first login under www.rifewiki.org/forum first and then switch to the Wiki at www.rifewiki.org/wiki. it is now possible to switch usernames by simply switching the domain used. You can read more details on the Main and Help pages of my Wiki. I do have one problem, which should be easy to solve, yet would appreciate any ideas as to how best to implement it. As I also have vBadvanced CMPS v3.1.0 installed on my forum, people why type in www.rifeforum.com or www.rifewiki.org will both land on the CMPS page of my forum. I need some php code that will recognise when someone has called the rifewiki.org domain and automatically redirect them to www.rifewiki.org/wiki while those who used www.rifeforum.com are left where they are in the CMPS. Calls to www.rifewiki.org/forum need to be left unchanged. Is anyone here up to the task and can post the code here? |
#27
|
|||
|
|||
I was using this Mod (as it's explained here) with old versions and lately with vB 3.8.2 and MediaWiki 1.14. But since I upgraded my Wiki to 1.15 it's not working anymore.
Do you think this new version (2.2.0) works with vB 3.8.2 and Wiki 1.15? Thanks, |
#28
|
|||
|
|||
Thanks for the info. I was just thinking about upgrading to the Mediawiki 1.15, but will delay that until someone reports that this system works with it.
I am currently running vBulletin 3.8.3 and MediaWiki 1.14 and that combination does work. Anyone upgraded to MediaWiki 1.15 with this hack yet? |
#29
|
|||
|
|||
I just upgraded to 3.8.3 and MW 1.15, this mod continues to work fine with that combination. First do the 3.8.3 upgrade, and that really doesn't affect this in any way.
The MW 1.15 upgrade works fine, though it can be a pain in the ass if you use short URLs and don't have command line access; needed to switch back to long URL's for the upgrade, then switch back to short URLs afterwards. When the 1.15 upgrade is complete, re-upload the few files for this mod into the MW directories and everything is working just as before. |
#30
|
|||
|
|||
Quote:
Quote:
I can log-in to wiki using Admin's and Moderator's user name. But new users and SuperMod cannot log-in to wiki; After entering the Login/pass in wiki it will redirect to the "forum login page" and afterward it will return to wiki again without being logged in. vBulletin 3.8.2 Mediawiki 1.15 Persian(Farsi) language |
#31
|
|||
|
|||
Thank you for make this mode
it work with wiki 1.5 and vb 3.8 it's working good and simple |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|