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 |
#12
|
||||
|
||||
Well, I know I'm sort of solving this problem as I go along but here is my "solution" to the problem in Post #9.
In AuthPlugin_vBSSO.php, I added a chdir commands before the call to global.php: Quote:
Quote:
|
#13
|
|||
|
|||
Colonel,
Please try the steps I sent you in PM. Your board has quite a few addons and there's a good chance it's conflicting with one of them if this does not work. I've tested this addon against a clean MW and vB instance as well as with a few addons (vBSEO, vB Advanced, etc) but there's no way I can reasonably check against all existing mods. I'm willing to work with you directly as time permits. @BRtondi, can you send me a PM message with any log errors you're encountering? I've had issues with MediaWiki on non iso-8859-1 character sets so this could be a flaw with mediawiki. Also, please send me the username you're attempting to log in (no password, please). @Flowison, after stealing my site's design and me sending a legal request to your host to get it removed, you get no support from me. Good luck on your own. |
#14
|
||||
|
||||
very interesting! I have the old NuWiki mod on my site and am in need of something new for my 1000+ articles. The one feature I must have to have before migrating to a new system is to have the auto-linking of the wiki entries to words in the forums.
|
#15
|
|||
|
|||
Hi NeoJeko,
I am trying to get this mod to work on my site but it is not working properly. When I try to login to the wiki site, it immediately logs me out of the wiki and out of the forum as well. Following is the information about my site: forum url: http://www.urduweb.org/mehfil/ wiki url: htt://wiki.urduweb.org I will readily provide any further information required by you. Thanks, |
#16
|
|||
|
|||
Ok, it seems to work now. I had overlooked the instruction for setting the cookie path to '/'. :erm:
Now I will begin testing this mod on my site. Thanks for this useful mod. |
#17
|
||||
|
||||
The bridge seems to be working as I see my forum username on the wiki, but the wiki header and footer is covered in errors. I know the vba is vbadvanced. I'm running vba 3.1.0, are these errors version related?
Quote:
|
#18
|
|||
|
|||
I got everything working, the only issue i get but not a big problem is if i log on vb and use the link to mysite/wiki everything wark without problems on mysite.com/wiki/Main_Page
But if i log from the wiki directly i get redirected to mysite.com/wiki/index.php?title/index.php/Main_Page Still working just cant log frm any article without getting back to the main page... Any idea if i can simple disable the login from the Wiki page making possible to log only by the vbullet ? Tkx |
#19
|
|||
|
|||
One of my users has a slash in his user name and is receiving a error when going to the wiki (fatal error)
Is there a simple fix or should I just ban user-names with slashes? |
#20
|
|||
|
|||
Hi,
I have just installed this hack and think it is a great way of linking vBulletin with Mediawiki. By limiting access to Forum members, I can now forget about unwelcome spam and vandalism on my Wiki. I tried to install it over two separate servers (Wiki on one web server and forum on another), but could not get that to work. I am moving the wiki domain to the same server as my forum instead. There is one issue I hope can be solved. On my forum, I insist all members use their real names (e.g. "John Smith") as usernames. As it is a closed forum and non-members cannot see the usernames, this is no problem. However, as soon as my forum members start writing Wiki entries, their username, e.g. real name is displayed on the Wiki. Could you implement a system where instead of the forum usernames, the Wiki optionally displays a pseudonym instead of the forum username. This could be an optional feature and use either a VB User Profile Field, to store the pseudonym, or alternatively the system automatically generates a pseudonym from the username (or both). Some people do not want to have their real name displayed next to public Wiki entries and the way the system is setup now, there is no way of preventing this when using your mod. Regards Peter |
#21
|
|||
|
|||
Hi Peter
As you can see, there are still little and bigger problems with this hack and the author has only little time. My suggestion: Enable Multi-Registering in vB so your users can create a 2nd account and use this one for the wiki. Bruno Edit: btw. you can setup your Wiki also as "no anonymous reading" |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|