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
  #72  
Old 10-04-2008, 04:56 PM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NoeJeko View Post
This falls under my last post about changes coming in 2.0.1 =] It'll be out soon (hopefully tonight) so stay tuned!



I actually didn't even think about this. In 2.0.1, I'll add a switch allowing you to specify if you use Wiki's short URL options. Thanks for the feedback!
Sweet, as a former coder I know you always can't think of everything. We, as users, find interesting ways to break things :-).

Anyways the only other really missing feature would be who's online status.

I get things like:

Unknown Location
/action/edit/Classes/Dwarf_Fighter

Etc ....

I also noticed some Hardcoded values for your MyMMOGames Wiki and Blog in place.

If I get a chance this weekend I'll see if I can come up with a nice clean solution. Regardless this plugin is heading in the right direction.
Reply With Quote
  #73  
Old 10-04-2008, 11:03 PM
NoeJeko NoeJeko is offline
 
Join Date: Sep 2007
Location: Silicon Valley, CA
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.1.0 has been released. The following changes were made:

- 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

Please read the upgrade instructions in readme.txt. If you're upgrading from version 2.0.x, the upgrade is very quick but you must ensure you check the new ACP settings or you may give someone unauthorized access to your wiki. I recommend turning off vBulletin before the upgrade.

Quote:
Originally Posted by GoodOmens View Post
I get things like:

Unknown Location
/action/edit/Classes/Dwarf_Fighter

Etc ....
I didn't see this in time to address it in this version. You have an interesting wiki setup and I'll do my best to see if I can code support for that.

Quote:
Originally Posted by GoodOmens View Post
I also noticed some Hardcoded values for your MyMMOGames Wiki and Blog in place.

If I get a chance this weekend I'll see if I can come up with a nice clean solution. Regardless this plugin is heading in the right direction.
Removed in version 2.1.0.
Reply With Quote
  #74  
Old 10-05-2008, 04:36 AM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I didn't see this in time to address it in this version. You have an interesting wiki setup and I'll do my best to see if I can code support for that.
Yea so please don't try and accommodate me. I've found my own solution just adding on to your code. I'll update it to work with 2.1 and post my results (If however you want to know how I did my install let me know as I'm more then happy to share ... nothing more then htaccess and simple localsetting settings).

I'm going a step beyond just using /wiki and have /action for all action events (Instead of index.php&action=)

While I would classify it as interesting (I doubt many use it) it is a documented approach.

You can see my site:

http://www.lineagejunkies.com
http://www.lineagejunkies.com/wiki

Thanks again for providing a *working* plugin with fast updates!

(Also thanks for not coming off as arogant like the ElfMage person who programed the last mediawiki plugin .... I really appreciate your hard work)
Reply With Quote
  #75  
Old 10-05-2008, 07:42 AM
Ozidoggy Ozidoggy is offline
 
Join Date: Jun 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works GREAT!

Anyone know how I can wrap my mediawiki so it has my VB header and footer? Or wrap it completely with VB oo VBadvanced?

Cheers
Reply With Quote
  #76  
Old 10-05-2008, 05:00 PM
NoeJeko NoeJeko is offline
 
Join Date: Sep 2007
Location: Silicon Valley, CA
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoodOmens View Post
Thanks again for providing a *working* plugin with fast updates!

(Also thanks for not coming off as arogant like the ElfMage person who programed the last mediawiki plugin .... I really appreciate your hard work)
Thanks! Positive feedback give me motivation to continue development on this product. If no one had used it then it most likely would have never evolved, heh - it worked for my purpose.

Quote:
Originally Posted by Ozidoggy View Post
Works GREAT!

Anyone know how I can wrap my mediawiki so it has my VB header and footer? Or wrap it completely with VB oo VBadvanced?

Cheers
This discussion somewhat started earlier in the thread. For my site, I modified the wiki templates directly. Sorry, but between work, running a game community, and trying to keep somewhat of a life, I really don't have time to go as in-depth as elfmage tried to go. Maybe one day, but there are no plans for this functionality in the foreseeable future.
Reply With Quote
  #77  
Old 10-06-2008, 01:05 AM
KingPin6's Avatar
KingPin6 KingPin6 is offline
 
Join Date: Sep 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the system seems to work as far as sending me to me VB for logging in but when I get back to the wiki it seems to not have me logged in, I have tried multiple times to login. not sure why its not working. any ideas/hints welcome.

Linux, vb 3.7.3, MW 1.13

(not on my main forums, rather on a new forum im working on)
Reply With Quote
  #78  
Old 10-06-2008, 01:18 AM
NoeJeko NoeJeko is offline
 
Join Date: Sep 2007
Location: Silicon Valley, CA
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are your forums and wiki on different subdomains? If so, do you have your cookie settings properly configured? If not, press <Ctrl+F5> after you log in and are back on the wiki to see if it's a cache issue.
Reply With Quote
  #79  
Old 10-06-2008, 01:30 AM
blaze718 blaze718 is offline
 
Join Date: Aug 2008
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i downloaded MediaWiki but theres no Localsettings.php file anywhere
Reply With Quote
  #80  
Old 10-06-2008, 01:46 AM
NoeJeko NoeJeko is offline
 
Join Date: Sep 2007
Location: Silicon Valley, CA
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blaze718 View Post
i downloaded MediaWiki but theres no Localsettings.php file anywhere
You need to use the MediaWiki configuration script to generate LocalSettings.php.
Reply With Quote
  #81  
Old 10-06-2008, 01:52 AM
blaze718 blaze718 is offline
 
Join Date: Aug 2008
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i don't get that
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 07:58 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.05109 seconds
  • Memory Usage 2,318KB
  • 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
  • (7)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
  • (1)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