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)

ericdesmontagne 02-12-2009 07:24 PM

Quote:

Originally Posted by SARA75 (Post 1693661)
Following these steps but changing
$wgGroupPermissions['*']['createaccount'] = true;
to
$wgGroupPermissions['*']['createaccount'] = false;
in wiki/includes/DefaultSettings.php (I don't know why, but on LocalSettings doesn't works for me)

I get it finally works correctly :D
MediaWiki 1.13.3
VB 3.7.4PL1

Thanks :up:

It did not work with 1.13.4 wiki and 3.8 vb :( i'm trying something else now...

carrlos 02-13-2009 04:49 PM

Confirmed to work with vB 3.8.1 and MediaWiki 1.13.4. Only two fixes needed:

1. From the zip file, open AuthPlugin_vBSSO.php. Near the end, replace "AutoAuthenticate" with "UserLoadFromSession".
Props to shikareez!

2. I still had to make the class_core.php edit.

Working! :D

Jaxel 02-16-2009 03:45 PM

Getting this to work with MW 1.13.4 is EASY... You DONT need to edit class_core.php...

1. Install Media Wiki, following the standard install instructions...

2. Install this mod, following the standard instructions...

3. Open AuthPlugin_vBSSO.php. FIND: "AutoAuthenticate" and replace with "UserLoadFromSession".

4. Open wiki/includes/User.php FIND:
PHP Code:

define'EDIT_TOKEN_SUFFIX''+\\' ); 

Replace with:
PHP Code:

define'EDIT_TOKEN_SUFFIX''+#+' ); 

DONE. EASY. Step 4 fixes missing token problems, as well as login/logout issues that people keep claiming... If they simply followed step 4, instead of updating class_core.php, they wouldnt have these problems. I wish NekoJoe would upload this mod to explain these fixes.

http://www.8wayrun.com/wiki/Special:Version

carrlos 02-16-2009 06:22 PM

I did the User.php thing and still couldn't edit anything. So, I did the class_core.php and everything worked fine.

How do you explain that?

Jaxel 02-16-2009 07:39 PM

Quote:

Originally Posted by carrlos (Post 1746153)
I did the User.php thing and still couldn't edit anything. So, I did the class_core.php and everything worked fine.

How do you explain that?

You forgot to upload your changed User.php.

carrlos 02-17-2009 03:22 AM

Quote:

Originally Posted by Jaxel (Post 1746215)
You forgot to upload your changed User.php.

I uploaded it. But I tell you what.......I'll try again. :rolleyes:

squishi 02-22-2009 08:24 PM

It's really late here, and 19 pages is a lot to read. So...
I installed my wiki in a separate database than vbulletin.

Anybody have any pointers on what to modify to make this work with two separate databases?

I am working myself through the pages of this thread...

Post #42 solved the redirect problem that occured when you try to log in.

Unfortunately, after clicking the login button, the user gets redirected to the wiki and is still not logged in.

Also, the other wiki bridge modification is very heavy on the database, because it queries the user details on every page load.
Is this the case with this mod, too?

Radek125 02-23-2009 04:50 AM

Quote:

Originally Posted by oninuva (Post 1709957)
Yes I did try doing those changes, still have error, I tried replacing a file with the file the posted on page 8 saying that it fixed it giving him a new AuthPlugin file.

After I replaced the file with the fix on post 8, he received this error;

Quote:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "User::addToDatabase". MySQL returned error "1062: Duplicate entry 'Sourc[e]x' for key 2 (localhost)
I would look at the databases but I dunno which one it is referring to. He only gets this error when he tries to login, so he can browse the wiki if he logs out.

I am having this exact same issue. My users are randomly getting this error, including my main admin account, all others work fine. I've tried deleting the user's manualy in the wiki db, and it APPEARS to work, but only works the very first time you load the wiki, clicking on any other page after will make the error pop up again.

squishi 02-23-2009 07:15 AM

will this only work with monobook style?
I am using the modern style, and am not able to log in.

squishi 02-23-2009 08:08 AM

I got it working now. Somehow I did not follow the readme.txt.

Now how would I set up the user group permissions?
I want to allow registered forum users to edit the wiki. Visitors who are not logged in should not be able to edit, though.


All times are GMT. The time now is 09:07 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.02354 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
  • (2)bbcode_php_printable
  • (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