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)

kapoor22 12-26-2008 09:15 PM

Quote:

Originally Posted by NoeJeko (Post 1693646)
Hey guys - sorry for not replying sooner - I've been in Germany and for some reason I was not receiving notifications from this thread. I'll do my best to research these issues and provide a fix.

Thanks NoeJeko, everything is now working fine with vBulletin v3.6.8. With the help of your plug-in we were able to promote Wiki into production environment today. Thanks for the excellent work. I have nominated this plug-in for MOTM.

Also, BuddyPress released their latest version on 15th December. Apparently, that's the next big thing for social-networking software. Any chance you'd be interested to develop similar single sign on plug-in for vBulletin-BuddyPress?

Thanks again!


.

nwingate 12-28-2008 03:08 AM

Oops, wrong thread. Sorry.

CompiledMonkey 12-29-2008 07:01 PM

Has anyone gotten this to wrap inside of vBadvanced?

tylneyt 12-30-2008 09:51 AM

Failed to install / work

vBulletin 3.7.3
MediaWiki 1.13.3

array errors in the vba_cmps_include_template.php

seems to be a major drama with the line
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );
as when this is commented out the wiki shows up just can't log in... (but at least ya can see the wiki!)

but yeah I'm no coder so I dunno why re following all the docs (and making sure the edits were correct etc) it's not working

Digital Jedi 12-30-2008 04:16 PM

That error is a vBAdvanced error. Are you using vBa for anything to do with the Wiki?

tylneyt 12-30-2008 09:32 PM

hmm had it as an iframe in an ajax tab that was setup as a vba page.
I can remove that and try again today some time.

Q: Even though I tried hitting the /wiki url direct was still throwing an error would it do that regardless of trying to view it via a vba setup or not?
(What I mean is that if I view via vba through the forums I'd expect an error, but hitting the wiki url directly should bipass any vba and show the wiki directly how ever that is still throwing an error)

Digital Jedi 12-30-2008 10:17 PM

I would think you shouldn't be getting that error if your not looking at it through vBa. Sounds like vBa is conflicting another way. Your wiki is not in your forum root, right? It's outside? I have vBa, but I chose to put the Wiki in the forum root and I haven't had any conflicts like that. I think your problem might be the directory.

tylneyt 12-31-2008 08:37 AM

vBulletin 3.7.3
MediaWiki 1.13.3
- I upgraded vba to 3.1.0
- Then moved directory into /forums/ (so it's now accessible via /forums/wiki ) and edited the LocalSettings.php to reflect this change.

I'm still getting the following error
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.scorn/PRIVATEDIRS/forums/includes/vba_cmps_include_template.php on line 19
same error for lines 42, 50 , 621 (and Argument #2 on 621)
and
Code:

Warning: Invalid argument supplied for foreach() in    /includes/init.php(293) : eval()'d code on line 122
the .scorn is a hidden folder I assume as it's never been needed anywhere re linking back to the hosting. the PRIVATEDIRS I've typed for security reasons here.

I have also tried the following suggestions re the version of mediawiki
Quote:

Originally Posted by obsidian View Post

- 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

Originally Posted by Jaxel View Post

In wiki/includes/User.php find:
PHP Code:
define( 'EDIT_TOKEN_SUFFIX', '+\\' );
Replace with:
PHP Code:
define( 'EDIT_TOKEN_SUFFIX', '+#+' );

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
MediaWiki 1.13.3
VB 3.7.4PL1
If I disable the product for vba all works well and the logins are shared fine, but turn it back on and it won't even display the wiki.

pete_brady 12-31-2008 12:13 PM

is there a (simple) migration path from nuhit's vbWiki Pro to this?

currently running vB 3.8RC2 with mediawiki 1.3

Dexter_kcd 01-04-2009 05:28 AM

One more thing to throw onto your plate....

I was speaking with the server administrator at my webhost, and he mentioned that this mod seems to be generating a PHP error every time a user access a page on the wiki:

Quote:

Constant CWD already defined in /home/httpd/vhosts/**sitename**.com/httpdocs/forum/global.php on line 16

PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in home/httpd/vhosts/**sitename**.com/httpdocs/forum/wiki/LocalSettings.php on line 28

Apparently the server PHP log is filled with thousands of those. He believes it has something to do with how the VB_SYSTEM_PATH constant is defined.

Dexter...


All times are GMT. The time now is 09:23 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.01248 seconds
  • Memory Usage 1,746KB
  • 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_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