Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MediaWiki/vBulletin Single Sign-On Details »»
MediaWiki/vBulletin Single Sign-On
Version: 2.2.0, by NoeJeko NoeJeko is offline
Developer Last Online: Apr 2011 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 09-17-2008 Last Update: 05-01-2009 Installs: 112
Uses Plugins
Additional Files  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 12-14-2008, 03:44 AM
rob01 rob01 is offline
 
Join Date: Sep 2008
Location: Mexico
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the login dosnt seem to work :S

i can login well in vb, but in my wiki if i click login it will send me to my vb forums i mean the login function wont disapear meaning im still not logged in

any idea?
Reply With Quote
  #183  
Old 12-14-2008, 07:36 AM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Varsh View Post
There are barely any edits at all, just look at my previous post:

Just remember to change the system path to yours from mine. If I knew about the change in the require_once setting, then it would've taken me only a minute to install the entire thing. Other than the signing off bug (which isn't much of one), then it works perfectly.
There shouldn't be any edits over & above the ones which must be done in the first place. And if there are they should be posted at the top of this page along with the rest.

I did look at your previous post. And I did try your edit. It still didn't work. As my post said...not only can I not sign out...while I can sign my kid into the forum - I can't into Wikipedia. Although I'm not logged in to the forum it still shows me logged in at Wikipedia. My site wasn't meant to be a beta testing site...I'd like people to actually show up & use it. I'd rather have no bugs if at all possible.
Reply With Quote
  #184  
Old 12-14-2008, 08:42 AM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rob01 View Post
i can login well in vb, but in my wiki if i click login it will send me to my vb forums i mean the login function wont disapear meaning im still not logged in
Same Problem on my site! (but it works on Varsh's site...) Which Versions are you using?

Thanks for the Link. Very interesting: Login through Wiki works with 3.7.4 and 1.13.2 on ThomasDR's Site!

Bruno
Reply With Quote
  #185  
Old 12-14-2008, 11:38 AM
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Location: UK
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DawnsWebDesigns View Post
There shouldn't be any edits over & above the ones which must be done in the first place. And if there are they should be posted at the top of this page along with the rest.

I did look at your previous post. And I did try your edit. It still didn't work. As my post said...not only can I not sign out...while I can sign my kid into the forum - I can't into Wikipedia. Although I'm not logged in to the forum it still shows me logged in at Wikipedia. My site wasn't meant to be a beta testing site...I'd like people to actually show up & use it. I'd rather have no bugs if at all possible.
Wait a sec, you're trying to log into Wikipedia? You do realise that won't work, unless you meant MediaWiki. Could you post your edits so I can check what you did please. Also remember that to log out of MediaWiki, you need to log out of the site first and then MediaWiki; so it definitely works, it's just a bit weirdly done that's all.
Reply With Quote
  #186  
Old 12-14-2008, 12:11 PM
DawnsWebDesigns DawnsWebDesigns is offline
 
Join Date: Feb 2008
Location: Tulsa, OK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Varsh View Post
Wait a sec, you're trying to log into Wikipedia? You do realise that won't work, unless you meant MediaWiki. Could you post your edits so I can check what you did please. Also remember that to log out of MediaWiki, you need to log out of the site first and then MediaWiki; so it definitely works, it's just a bit weirdly done that's all.
No. I logged out of my site. It would not log me out of the wiki...not from my site or the wiki site. Trying to logout from the wiki site got me redirected back to my site. And when I revisited the wiki site I was still logged in.

Then I logged my kid into my site. If this mod works like it should then once she logs-in to my site she should be automatically signed into the wiki too. But when I went to check it (using her account) I was still showing up as logged in...not her. If I can't log myself out of both places...& I can't...then she can't be logged in to the wiki.

I'm not sure who you are & I do appreciate you trying but I'm done with this one. I can't post my edits because when I uninstalled the mod I also uninstalled the wiki. I didn't really consider a wiki in the first place & only tried it cuz of this mod. After installing yet another software I can assure you I read everything at the top of this thread & everything within & tried various edits before finally giving up & uninstalling/deleting both. Now I'm done. But thank you anyway.
Reply With Quote
  #187  
Old 12-14-2008, 04:38 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Idea: Install XAMPP and there your vB and wiki... so you can try whatever you want on your personal PC, ... or install a 2nd wiki/vb on your Server as debugging platform. Of course you should never change your primary site, if you're not 100% sure, what you're doing or if it will work...

@Varsh: Can you please give a linkt to where you downloaded the 3.8beta? I did not fount it even in the member area...

Bruno
Reply With Quote
  #188  
Old 12-14-2008, 05:08 PM
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Location: UK
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did I say b1 earlier? If I did sorry, I meant RC1. That's in the Members Area where you normally download the unstable and stable versions.
Reply With Quote
  #189  
Old 12-14-2008, 06:17 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, my fault, I called it Beta... and now found also the download under "further downloads" -> Pulldown up. Thanks!

Bruno
Reply With Quote
  #190  
Old 12-15-2008, 10:45 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't seem to be working for me. It logs you in on the forums, redirects back to the wiki and is not even logged in on there.
Reply With Quote
  #191  
Old 12-15-2008, 06:50 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Versions?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05452 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete