Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.x Rating:
Released: 05-06-2009 Last Update: Never Installs: 115
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.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

File Type: zip mmog_wiki_v2.2.0.zip (9.1 KB, 1011 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Wired1

Comments
  #192  
Old 04-20-2010, 04:47 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kindly someone please replay my problem
Reply With Quote
  #193  
Old 04-20-2010, 08:13 AM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Redirecting to Yahoo is your browser because of your blank sites... because you never installed MediaWiki or .htaccess does something wrong or ...

Put a "Hello World" at /wiki/index.php to resolve this problem.
Reply With Quote
  #194  
Old 04-21-2010, 05:06 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BRotondi View Post
Redirecting to Yahoo is your browser because of your blank sites... because you never installed MediaWiki or .htaccess does something wrong or ...

Put a "Hello World" at /wiki/index.php to resolve this problem.
dude i already uploaded MediaWiki on server but what about htaccess file what should i write in htaccess files.
Reply With Quote
  #195  
Old 04-21-2010, 06:58 AM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Goomzee View Post
dude
Not the right way to get any more support, even I don't know exactly what this word in German is about.

It's not on us to solve your problems. It's on you to get into the stuff and give us the possibility to help you by clearly descripting your problem and testing yourself the hints we give you...
Reply With Quote
  #196  
Old 04-21-2010, 08:51 PM
gamerfu gamerfu is offline
 
Join Date: Apr 2008
Location: 台灣,&
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BRotondi View Post
I'm affraid, that at the moment both vBulletin-Mediawiki bridges are not supportet. I tried to make vbMediaWiki (Single Thread at vbulletin.org) as clear as possible. Works only with vB4 but is really a nice solution.
Does wikimedia need to be installed into the vBulletin database?
Reply With Quote
  #197  
Old 04-22-2010, 04:35 PM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gamerfu View Post
Does wikimedia need to be installed into the vBulletin database?
I have it running in two different databases (using vb 3.8.4).

As for your error 500, try and go over the lines you added or changed yourself in the config file. Make sure all your lines end with a semi-colon ( ; ), and use valid php syntax.
Reply With Quote
  #198  
Old 04-23-2010, 01:04 PM
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you help me with this step please.
After installing three times the wikimedia whenever I edit the LocalSettings.php and add the two lines that calls the configuration file gives me the error bags are:
Code:
Notice:  Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 26

Warning:  require_once(/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27

Fatal error:  require_once() [function.require]: Failed opening required '/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php' (include_path='/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/languages:.:') in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27
How is this possible if he says it very clear that we must add these two lines
Reply With Quote
  #199  
Old 04-26-2010, 02:13 PM
gamerfu gamerfu is offline
 
Join Date: Apr 2008
Location: 台灣,&
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AfterWorldForum View Post
I have it running in two different databases (using vb 3.8.4).

As for your error 500, try and go over the lines you added or changed yourself in the config file. Make sure all your lines end with a semi-colon ( ; ), and use valid php syntax.
Ah! Thank you!

I upgraded MediaWiki to:
Code:
1.16.0beta2
and now the modification works perfectly with:
Code:
vBulletin 3.8.5
I had trouble with:
Code:
1.15.3
for some reason.
Reply With Quote
  #200  
Old 04-27-2010, 06:34 AM
gamerfu gamerfu is offline
 
Join Date: Apr 2008
Location: 台灣,&
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I recieve this error when trying to login directly to wiki:

Code:
Not Found
The requested URL /wiki/Main_Page was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at palpadpark.com Port 80
Reply With Quote
  #201  
Old 04-27-2010, 01:46 PM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coleccromos View Post
Can you help me with this step please.
After installing three times the wikimedia whenever I edit the LocalSettings.php and add the two lines that calls the configuration file gives me the error bags are:
Code:
Notice:  Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 26

Warning:  require_once(/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27

Fatal error:  require_once() [function.require]: Failed opening required '/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php' (include_path='/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/languages:.:') in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27
How is this possible if he says it very clear that we must add these two lines
It seems as if you nowhere defined the VB_SYSTEM_PATH variable, and therefore receive the error. Let me show you parts of my LocalSettings.php. My forum is on www.entropiaplanets.com/forums. My wiki is accessible through www.entropiaplanets.com/wiki, but is actually physically located in www.entropiaplanets.com/w. (Note that I also have use a VPS, and the path on the server is similar to yours (/var/www/vhosts/entropiaplanets.com/httpdocs/w).

My LocalSettings.php has the following lines:

Code:
if( defined( 'MW_INSTALL_PATH' ) ) {
	$IP = MW_INSTALL_PATH;
} else {
	$IP = dirname( __FILE__ );
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

require_once( "$IP/includes/DefaultSettings.php" );
define( VB_SYSTEM_PATH, '/var/www/vhosts/entropiaplanets.com/httpdocs/forums' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );
If you do not have the red line, add it, and change from entropiaplents.com to cromosdefutbol.com.

I have to admit that I really cannot guess as to the error regarding the includes of the AuthPlugin line, but see if my setup gives you something to work with. Feel free to post the results here.
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 02:39 AM.


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.07908 seconds
  • Memory Usage 2,357KB
  • Queries Executed 26 (?)
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_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete