vb.org Archive

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

Been Told 12-18-2009 02:00 PM

I would be willing to donate for this mod to become vB4 compatible. Any chance of that?

ndahiya 12-26-2009 08:51 PM

Hi,

I was able to get this to work in vb 4.0.0 (mediawiki 1.14) by editing AuthPlugin_vBSSO.php by adding 3 chdir commands twhere the scripts are called

<<<<<
define('THIS_SCRIPT', 'wiki');
chdir ('/home/sitename/www/forums');
require_once( CWD . '/global.php');
chdir ('/home/sitename/www/forums');
require_once( CWD . '/includes/functions.php');
chdir ('/home/sitename/www/w/includes');


<<<<<
the second chdir is redundant, i think, but just to be safe. :)

so far working, but will see how stable it is.

ndahiya

BRotondi 12-28-2009 04:59 PM

Great! Thanks! (not tested yet, but nice to hear :) )

Bruno

Dontom 12-30-2009 10:56 AM

Quote:

Originally Posted by RedFoxy (Post 1923548)
I've troubles with vBulletin 3.8.4 Patch Level 1 and MediaWiki 1.15.1 http://www.softairmania.it/samwiki/i...ciale:Versione

After installation, when I try to edit or insert a new page I give n error about my brouser and and an error abut my browser accent support

Same here, too, also after the latest patch with the changed salt in vb's functions.php I get the same message.

when saving an edit or adding a new page I get the 'token_suffix_mismatch' message:
=> "'''Your edit has been rejected because your client mangled the punctuation characters in the edit token.'''

Any help is appreciated!

dotted1337 12-31-2009 02:37 AM

Quote:

Originally Posted by ndahiya (Post 1938931)
Hi,

I was able to get this to work in vb 4.0.0 (mediawiki 1.14) by editing AuthPlugin_vBSSO.php by adding 3 chdir commands twhere the scripts are called

<<<<<
define('THIS_SCRIPT', 'wiki');
chdir ('/home/sitename/www/forums');
require_once( CWD . '/global.php');
chdir ('/home/sitename/www/forums');
require_once( CWD . '/includes/functions.php');
chdir ('/home/sitename/www/w/includes');


<<<<<
the second chdir is redundant, i think, but just to be safe. :)

so far working, but will see how stable it is.

ndahiya

Code:

$oldcwd = getcwd();
chdir( VB_SYSTEM_PATH );
require_once( CWD . '/global.php');
require_once( CWD . '/includes/functions.php');
chdir($oldcwd);

this way you dont have anything you need to remember to edit beyond the instructions here, if the paths change for some reason.

BRotondi 01-01-2010 11:57 AM

Confirmed, GREAT!

Add the red code after the existing black in "wiki\includes\AuthPlugin_vBSSO.php"
Code:

# INITIALIZE VBULLETIN SUBSYSTEM
if ( !defined( 'CWD' ) )
    define( 'CWD', ( VB_SYSTEM_PATH ) );

$oldcwd = getcwd();
chdir( VB_SYSTEM_PATH );
require_once( CWD . '/global.php');
require_once( CWD . '/includes/functions.php');
chdir($oldcwd);

1000 Thanks!
Bruno

ekool 01-04-2010 01:52 AM

Quote:

Originally Posted by XFSImperial (Post 1812043)
The bridge seems to be working as I see my forum username on the wiki, but the wiki header and footer is covered in errors. I know the vba is vbadvanced. I'm running vba 3.1.0, are these errors version related?




Edit: One of our network admins was able to fix the problem. Evidently had to do with difference in the way php4/php5 treat the arrays and the fact that the server for this wiki install is on Litespeed and not Apache.


I'm having this issue and am unable to fix it, any ideas?


Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 19

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 42

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr[path]/includes/vba_cmps_include_template.php on line 50

Warning: Invalid argument supplied for foreach() in /usr[path]/includes/init.php(304) : eval()'d code on line 15



Unable to add cookies, header already sent.
File: /usr/home/nexusone/public_html/forum/includes/class_core.php
Line: 3277


BRotondi 01-04-2010 05:38 AM

It worked fine with vBa 3.2.1 and vB 3.8.*. I don't think that's the reason for your errors...

nitra1000 01-04-2010 11:11 PM

posting here so I can find this tommorow (when I'm looking to install on VB4)

Behzad Varedi 01-07-2010 07:08 AM

Hello,

I have this error in vb4

Code:

Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /home/persianppc/domains/wiki.persianppc.com/public_html/LocalSettings.php on line 26
any Idea how can I fix it ?
I'm sure about the path I set in "LocalSettings.php"

Thanks


All times are GMT. The time now is 09:00 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.01333 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (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