vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=191186)

raisun 01-14-2009 01:44 AM

actually, AuthPlugin_cVBSSO is located at /home/mouseinf/public_html/info/wiki/includes/AuthPlugin_vBSSO.php which is how i have it called in LocalSettings.php

Currently I have VB and MW installed in different subdirectories.

EDIT - Update:
I found a hotfix for the other product. Apparently there are several other products that cause the same issue.

Thanks for your help!

Varsh 01-14-2009 10:27 AM

I didn't know exactly where you had it but you just needed to change it to exactly what yours was supposed to be. :p

It seems that there's a lot of plugins conflicting with this mod for some reason, how weird.

emperatour 01-16-2009 08:04 AM

Quote:

Originally Posted by obsidian (Post 1673833)
I just got everything running with Vb 3.72 and MW 1.13.
Steps I followed:
- Install media Wiki
- Edit the Localsettings file with

define( VB_SYSTEM_PATH, '/var/www/html/forum' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );
$wgGroupPermissions['*']['createaccount'] = false;

- Set the VB path in the localsettings file and then uploaded it.
- Edited the AuthPlugin_vBSSO.php file from:
$wgHooks[AutoAuthenticate ][] = 'vBSSOAutoAuth';
to
$wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth';
- uploaded the files in the upload directory

- edited User.php as stated in Post #143

After that I just went to the Wiki page and refreshed and it showed me logged in. I did not make any of the class_core.php edits.

Great Hack... just takes a bit of patience to work through it due to all the new versions.

Running successfully with vBulletin 3.8.0 and MediaWiki 1.13.3.:)
Thanks for instruction,

pete_brady 01-16-2009 08:54 AM

anyone got any advice on template integration?

dutchbb 01-17-2009 08:10 AM

Installed it but it doesn't 'save' the login on the wiki side, what could be wrong?

dutchbb 01-17-2009 01:38 PM

Quote:

Originally Posted by shikareez (Post 1640896)
From MW 1.13+ the "AutoAuthenticate" Hook is renamed to "UserLoadFromSession". So just follow all the instruction and at all, just edit the hook name to "UserLoadFromSession" at near the end of AuthPlugin_vBSSO.php.

Omg, can the coder PLEASE add this to the first post, I searched for hours trying to solve this issue, only to found this solution somewhere on page 7 in this thread.

Thanks for the hack, but please update it, it's just to important not to!!

KrisP 01-18-2009 01:15 AM

Quote:

Originally Posted by emperatour (Post 1714384)
Running successfully with vBulletin 3.8.0 and MediaWiki 1.13.3.:)
Thanks for instruction,

Installing this is a nightmare. Tried above with 3.7.4 PL1 + 3.13.3 and dosent work.

Vitaly 01-18-2009 10:44 PM

How to eliminate php notice "Constant CWD already defined in ..../global.php" ?

optrex 01-20-2009 09:13 AM

Quote:

Originally Posted by shikareez (Post 1640896)
From MW 1.13+ the "AutoAuthenticate" Hook is renamed to "UserLoadFromSession". So just follow all the instruction and at all, just edit the hook name to "UserLoadFromSession" at near the end of AuthPlugin_vBSSO.php.

I have just installed mediawiki 1.13.3 with vb 3.8 and it seems to be running well so far. The only thing I have changed from the original instructions is this (above).

Thanks for a great hack :D

pete_brady 01-20-2009 05:34 PM

Quote:

Originally Posted by pete_brady (Post 1714414)
anyone got any advice on template integration?

https://vborg.vbsupport.ru/showthread.php?t=193244


All times are GMT. The time now is 12:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01330 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete