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.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 Show Your Support
|
Comments |
#222
|
|||
|
|||
Has anyone tried it with vB 3.8?
Edit: Looks like it's working the same under 3.8 (the same as in minor errors ). |
#223
|
||||
|
||||
It works perfectly with vB3.8:
Quote:
|
#224
|
|||
|
|||
All,
I'll be updating my site to MW 1.13 and vB 3.8 near the end of January. At this time I'll have this plugin updated to work with vB 3.6.9-3.8.0 and MW 1.12-1.13. Thanks for all your patience and thanks to the users that have posted workarounds. I'll be sure to credit where it's due if I use your suggestions. Also, to the vBa users - this is not designed to be wrapped within vB Advanced in any form. If you get it to work that's great, but I cannot support vB Advanced issues because it's not designed to work that way. Thanks for understanding. |
#225
|
|||
|
|||
Hey Noe
That's kewl re VBA but I'm not trying to wrap it per say, I just want to share the logins, the wiki it self I can store / display where ever via a link to a fully fresh page nps. The problem I was having is that due to VBA being installed as a product shut the hack down completely regardless of if it was being used as a vba page etc So long as the hack `ignores' vba and runs so we can put the wiki up `outside' the vb forums (ie as a full page of content not embedded in the forums) that'd be great. As it stands just having vba installed stops the hack from working period. |
#226
|
||||
|
||||
That's not true at all, my site has always been using vBA. Yes I have the wiki set to a different URL to the website, but having vBA installed does not stop this hack from working, if it's working for me but doing what I showed in my previous post, then it'll work for anyone. It's very easy to do and requires only 2 MediaWiki files to be edited, that's it.
You shouldn't need to embed the Wiki within vBA, although I can see the need, it would mean that queries would go through the roof. |
#227
|
|||
|
|||
Hey everyone ! So I had a small question...I installed everything as mentioned. All paths are correct, all files edited etc. When I go to the wiki and click login, I input my VB user name and password, it takes me to the vBulletin "Login Successfull" page and then returns me to the WIKI main page...but on that page it tells me I am NOT logged in.
Any ideas ? Thanks so much ! |
#228
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthread.php?p=1673281 |
#229
|
|||
|
|||
Quote:
One of my users are getting this error. It works for myself but it does not work for them, any help? |
#230
|
|||
|
|||
Quote:
Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 50 Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(298) : eval()'d code on line 96 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 621 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 621 Warning: include(./includes/config.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1196 Warning: include() [function.include]: Failed opening './includes/config.php' for inclusion (include_path='[path]/metalwiki:[path]/metalwiki/includes:[path]/metalwiki/languages:.:/usr/local/php5/lib/php') in [path]/global.php(609) : eval()'d code on line 1196 Warning: require_once(./donationsystem/functions/donation.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1197 Fatal error: require_once() [function.require]: Failed opening required './donationsystem/functions/donation.php' (include_path='/home/content/M/e/t/MetalPrincetmlss6/h/metalwiki:/home/content/M/e/t/MetalPrincess6/html/metalwiki/includes:/home/content/M/e/t/MetalPrincess6/html/metalwiki/languages:.:/usr/local/php5/lib/php') in /home/content/M/e/t/MetalPrincess6/html/global.php(609) : eval()'d code on line 1197 |
#231
|
|||
|
|||
nvm Varsh fixed it myself. My problem was a two part problem. I'm using php5 on my server which made everything kinda act up a bit. I was also using the Donation hack called AWCoding- Donation System LITE which was causing a problem with this hack in some way.
I will put here how I fixed it. Step One: If you are using php5 you will need to do the following in your vba_cmps_include_template.php & vba_cmps_include_top.php files. You need to change some code to make vBAdvanced CMPS work with php5. I found a how-to here: https://vborg.vbsupport.ru/showthread.php?t=125302 Step Two: Disabled the AWCoding- Donation System LITE hack in my admincp. Now all works. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|