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)

Varsh 12-08-2008 02:35 PM

I did a quick reboot of the server. It's still going slow though, wasn't like that the other day. Ah I bet it was after updating Apache... ugh! Cheers for the ups on that btw. xD

Anyway at least you know now that it's possible on 3.8 RC1 and 1.13.2. :D

TomasDR 12-08-2008 09:24 PM

Quote:

Originally Posted by Varsh (Post 1680865)
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.

Glad you did it, I sent BRotonedi a PM since I run an adult board. Wanted BRotonedi to be sure they wanted to visit my board before sending the URL.

But I do want to mention Logging in through WIki works fine for me and logs me into vBulletin & Wiki.

Only the logout fails on the Wiki side, I stay logged into Wiki but do logout of vBulletin. This is the case logging out on either side.

Varsh 12-09-2008 02:16 AM

I tested the login on the Wiki side too and it worked fine also. And yes, I have the same problem signing out, however when it takes you back to the Wiki, logout again and it'll work.

Oh and don't mess around with the Wiki anymore. :p

BRotondi 12-09-2008 04:56 AM

@TomasDR Thanks for the info, have not seen your PM since it's only blinking a little big on the upper right :)
@Varsh: Wiki-Login now works. What have you changed? (I'm quite sure I tested it correct... perhaps it was a problem with these 80s-Site-loads :) )

What could be the Problem on my www.SinnImLeben.net/wiki ? There I cannot login through Wiki, but I've found no missconfiguration... Where should I have a deeper look?

Bruno

Varsh 12-09-2008 11:04 AM

I haven't changed anything, you're most likely right in thinking that it was because my site was running slowly at the time. At least now it loads in about 1-3s. Told you I was with a fast host. ;)

DawnsWebDesigns 12-11-2008 02:14 PM

I tried to log-out of my site & that worked but I can't log-out of wiki. I keep going to the wiki page & trying to log-out there too & it still won't let me...it redirects me back to the forum. I logged in on someone else's account & when I tried to visit the wiki it still shows me logged in versus the someone else.

http://www.dawnswebdesigns.com/forum/index.php
http://dawnswebdesigns.com/wiki/index.php/Main_Page

Thanks for any help

trackpedia 12-11-2008 06:40 PM

Just wanted to drop a line here and say with Mediawiki 1.13.2 and VB3.7.4 making this change gets me rolling along just swimmingly

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

logout from vb doesn't propigate but at the moment I dont see that being and issue and given how great the developer is working on this I am sure there will be a fix coming soon.

Thanks for the work that's gone into this baby.

BRotondi 12-11-2008 06:45 PM

Logout from Wiki
You need to add manually a link to the wiki-logout, since the hack currently reroutes to vBulletin-logout:

Look at Varsh's Wiki (Top right) or mine (Logout through Sidebar).
english 1: .../login.php?do=logout
english 2: .../Special:UserLogout
german: .../index.php?title=Spezial:Abmelden

If these links do not work on your wiki, you can find the correct Link by temporarly disable the Hack (// require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); ) and perhaps reset the original /wiki/includes/Userlogin.php

Bruno

DawnsWebDesigns 12-12-2008 01:37 AM

Quote:

Originally Posted by BRotondi (Post 1683327)
Logout from Wiki
You need to add manually a link to the wiki-logout, since the hack currently reroutes to vBulletin-logout:

Look at Varsh's Wiki (Top right) or mine (Logout through Sidebar).
english: .../login.php?do=logout
german: .../index.php?title=Spezial:Abmelden

If these links do not work on your wiki, you can find the correct Link by temporarly disable the Hack (// require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); ) and perhaps reset the original /wiki/includes/Userlogin.php

Bruno

Actually I'm just going to wait until this one's a lil more done. There's edits all over the place & it's too much for me. I'm no programmer I admit it. :o

Varsh 12-12-2008 07:34 PM

There are barely any edits at all, just look at my previous post:
Quote:

Originally Posted by Varsh (Post 1680303)
  1. Files uploaded
  2. localsettings.php set to:
    define( VB_SYSTEM_PATH, '/home/varsh/public_html/forums' );
    require_once( "/home/varsh/public_html/forums/includes/AuthPlugin_vBSSO.php" );
  3. Wiki's user.php set to '+#+'
  4. plugin installed and URL set to above link
Using: vBulletin 3.8 RC1 and the latest MediaWiki 1.13.2.

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.


All times are GMT. The time now is 01:11 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.01341 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
  • (3)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