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)

GriZzm0 01-08-2009 02:59 PM

Has anyone tried it with vB 3.8?

Edit: Looks like it's working the same under 3.8 (the same as in minor errors ;)).

Varsh 01-08-2009 05:44 PM

It works perfectly with vB3.8:
Quote:

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


NoeJeko 01-09-2009 04:32 PM

All,

I'll be updating my site to MW 1.13 and vB 3.8 near the end of January. At this time I'll have this plugin updated to work with vB 3.6.9-3.8.0 and MW 1.12-1.13. Thanks for all your patience and thanks to the users that have posted workarounds. I'll be sure to credit where it's due if I use your suggestions.

Also, to the vBa users - this is not designed to be wrapped within vB Advanced in any form. If you get it to work that's great, but I cannot support vB Advanced issues because it's not designed to work that way. Thanks for understanding.

tylneyt 01-09-2009 10:42 PM

Hey Noe
That's kewl re VBA but I'm not trying to wrap it per say, I just want to share the logins, the wiki it self I can store / display where ever via a link to a fully fresh page nps.
The problem I was having is that due to VBA being installed as a product shut the hack down completely regardless of if it was being used as a vba page etc

So long as the hack `ignores' vba and runs so we can put the wiki up `outside' the vb forums (ie as a full page of content not embedded in the forums) that'd be great.

As it stands just having vba installed stops the hack from working period.

Varsh 01-09-2009 11:01 PM

That's not true at all, my site has always been using vBA. Yes I have the wiki set to a different URL to the website, but having vBA installed does not stop this hack from working, if it's working for me but doing what I showed in my previous post, then it'll work for anyone. It's very easy to do and requires only 2 MediaWiki files to be edited, that's it.

You shouldn't need to embed the Wiki within vBA, although I can see the need, it would mean that queries would go through the roof.

Shawn385 01-10-2009 04:48 AM

Hey everyone ! So I had a small question...I installed everything as mentioned. All paths are correct, all files edited etc. When I go to the wiki and click login, I input my VB user name and password, it takes me to the vBulletin "Login Successfull" page and then returns me to the WIKI main page...but on that page it tells me I am NOT logged in.

Any ideas ? Thanks so much !

Digital Jedi 01-10-2009 08:38 AM

Quote:

Originally Posted by Shawn385 (Post 1706992)
Hey everyone ! So I had a small question...I installed everything as mentioned. All paths are correct, all files edited etc. When I go to the wiki and click login, I input my VB user name and password, it takes me to the vBulletin "Login Successfull" page and then returns me to the WIKI main page...but on that page it tells me I am NOT logged in.

Any ideas ? Thanks so much !

This seemed to have done the trick for me.

https://vborg.vbsupport.ru/showthread.php?p=1673281

oninuva 01-10-2009 10:10 PM

Quote:

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.

Fatal error: Call to a member function getID() on a non-object in /home/sitename/public_html/wiki/includes/AuthPlugin_vBSSO.php on line 315

One of my users are getting this error. It works for myself but it does not work for them, any help?

metalguy639 01-11-2009 12:41 AM

Quote:

Originally Posted by Varsh (Post 1706843)
That's not true at all, my site has always been using vBA. Yes I have the wiki set to a different URL to the website, but having vBA installed does not stop this hack from working, if it's working for me but doing what I showed in my previous post, then it'll work for anyone. It's very easy to do and requires only 2 MediaWiki files to be edited, that's it.

You shouldn't need to embed the Wiki within vBA, although I can see the need, it would mean that queries would go through the roof.

Great! then maybe you can enlighten me on why I have the same errors as the other guy? I'm using vBa CMPS 3.10 & vB 3.8. I've done all that this thread has said to do and I get these errors...

Code:

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

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

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

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

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 621

Warning: include(./includes/config.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1196

Warning: include() [function.include]: Failed opening './includes/config.php' for inclusion (include_path='[path]/metalwiki:[path]/metalwiki/includes:[path]/metalwiki/languages:.:/usr/local/php5/lib/php') in [path]/global.php(609) : eval()'d code on line 1196

Warning: require_once(./donationsystem/functions/donation.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(609) : eval()'d code on line 1197

Fatal error: require_once() [function.require]: Failed opening required './donationsystem/functions/donation.php' (include_path='/home/content/M/e/t/MetalPrincetmlss6/h/metalwiki:/home/content/M/e/t/MetalPrincess6/html/metalwiki/includes:/home/content/M/e/t/MetalPrincess6/html/metalwiki/languages:.:/usr/local/php5/lib/php') in /home/content/M/e/t/MetalPrincess6/html/global.php(609) : eval()'d code on line 1197

Seems like I most likely will need another answer to having articles on my site. I need something that works for one adn something that members can put their own articles up on.

metalguy639 01-11-2009 01:28 AM

nvm Varsh fixed it myself. My problem was a two part problem. I'm using php5 on my server which made everything kinda act up a bit. I was also using the Donation hack called AWCoding- Donation System LITE which was causing a problem with this hack in some way.

I will put here how I fixed it.

Step One:

If you are using php5 you will need to do the following in your vba_cmps_include_template.php & vba_cmps_include_top.php files. You need to change some code to make vBAdvanced CMPS work with php5. I found a how-to here: https://vborg.vbsupport.ru/showthread.php?t=125302

Step Two:

Disabled the AWCoding- Donation System LITE hack in my admincp.

Now all works.


All times are GMT. The time now is 08:22 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.01697 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)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