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)

Big Kahuna 12-06-2008 06:30 PM

Checking back to see if there was a fix yet to the newest version of MediaWiki and Vbulletin. Looks like the answer is still no.

Varsh 12-07-2008 02:40 PM

Well I tried installing this and looked throughout the thread. I'm bemused on how you guys have managed to get it to work. I've installed it exactly as the instructions asked and yet, despite changing the forum path in localsettings.php, it seems that it's trying to find the file from the wiki path. This is what's happening.
  1. Files uploaded
  2. localsettings.php set to:
    define( VB_SYSTEM_PATH, '/home/varsh/public_html/forums' );
    require_once( "$IP/includes/AuthPlugin_vBSSO.php" );
  3. Wiki's user.php set to '+#+'
  4. plugin installed and URL set to above link
So what exactly have I done wrong? I must've missed something.

vBulletin 3.8 RC1 and the latest MediaWiki 1.13.2.

edit: I changed require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); to require_once( "/home/varsh/public_html/forums/includes/AuthPlugin_vBSSO.php" ); and it worked fine, hope this doesn't mess anything up though.

BRotondi 12-07-2008 04:38 PM

Hi Varsh

Since your login is not beeing redirected to vBulletin your wiki/LocalSettings.php seems not to be correct. Or did you disabled it again?

Have a look at my site: If you press login on Wiki it should redirect to vB: http://www.sinnimleben.net/wiki/

Bruno

TomasDR 12-07-2008 09:20 PM

Quote:

Originally Posted by rlfs (Post 1679293)
Check the MediaWiki 1.13.2 RELEASE-NOTES file.

* AutoAuthenticate hook renamed to UserLoadFromSession

I had to change that hook in includes/AuthPlugin_vBBSSO.php below:

//$wgHooks['AutoAuthenticate'][] = 'vBSSOAutoAuth';
$wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth';

Otherwise Single-Signon did not work with MediaWiki 1.13.2.

FYI for y'all.
Rick

This worked for me except for one minor issue. I logout of vBulletin but not Wiki, not a really big deal.

3.7.4PL1 + MediaWiki 1.13.2

Varsh 12-07-2008 09:30 PM

That's the only issue I'm having at the moment. Doesn't bother me either, I'll just have to mention it in the FAQs.
Quote:

Originally Posted by BRotondi (Post 1680371)
Hi Varsh

Since your login is not beeing redirected to vBulletin your wiki/LocalSettings.php seems not to be correct. Or did you disabled it again?

Have a look at my site: If you press login on Wiki it should redirect to vB: http://www.sinnimleben.net/wiki/

Bruno

Since I did the change in my edit, Wiki logs me in via vBulletin, however if I put the $IP in localsettings, then it just wants to pick up from the wiki directory and not my forums directory, which is why I just put the straight path, replacing the $IP altogether.

If doing it this way has no effects to the usage of the Wiki then I shall leave it as is, if it does then I'll be eager to see some sort of alternative fix for this. Fantastic sign in mod and so far is working nicely, although I haven't used the Wiki yet, once the sign out part is sorted then it really will be complete. Keep it up! :)

BRotondi 12-08-2008 05:41 AM

On my side it's not possible to login through Wiki: If I enter my Login-Data there, and press the button, vb will appear, but without logging in.
Does it work on your installations?

@TomasDR, Varsh: Can you please post the link to your site? I want to test, if it works there better than on my site...

Bruno

Varsh 12-08-2008 11:22 AM

Just sign up at my site here and mess around with the Wiki. I haven't tested it myself yet but it's definitely running so far.

BRotondi 12-08-2008 11:59 AM

Thanks for the link!
I registered but... where's the Wiki? (found it now, from your previous post: http://wiki.nexusrealms.co.uk)

If you want to add it left of "Register", you can customize the navbar-Tamplate by adding the red line:
Code:

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr align="center">
            <td class="vbmenu_control"><a href="http://wiki.nexusrealms.co.uk">Wiki</a></td>
            <if condition="$show['member']">

Your wiki needs 80 Seconds to load a Page, your Forum 20 seconds... seems you got an even slover provider than me :)

1. Wiki-Login bad: "Login error: Incorrect password entered. Please try again."
2. Login via vB o.k.
3. Wiki-Mainpage o.k. (logged in)
4. Wiki-Log out bad: vB loggs out, Back, (Ctrl-F5) -> Wiki still logged in!

You seem to have the same Problems: Does not work perfect, but better than nothing :)

Thanks for your link and all the best with your site!
Bruno

Varsh 12-08-2008 01:54 PM

Oh, forgot to set the new template to default, my fault. :P

I've only just installed the stuff on the site so there's barely anything there and needs to be fully configured. I think the VPS just needs a reboot, knowing Apache it's misbehaving as usual, I'm actually with a very very fast provider. Actually wow it is going slow, time to sort that out.

BRotondi 12-08-2008 02:17 PM

10 Seconds now for Wiki :)
Bruno


All times are GMT. The time now is 04:41 PM.

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.01263 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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