![]() |
User mangling token has been fixed in a previous post... in fact, you dont need to make thos edits to class_core.php.
https://vborg.vbsupport.ru/showpost....&postcount=143 |
Quote:
|
Hrm, I must have missed that. That seems to work.
|
I have to logout two times, either twice from the wiki or once from the forum and again from the wiki to be truly logged out from the wiki. Not a big deal for my forum, but good to know in any case.
Quote:
|
Quote:
NoeJeko, Thank for the excellent plug-in. Here is my story - I was able to install and make it to work on vb v3.6.8 with MediaWiki v1.12.0, however, the following 4 lines of errror message continues to show up on all th pages of MediaWiki - __________________________________________ Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in $wikihome/LocalSettings.php on line 26 Notice: Constant CWD already defined in $forumhome/global.php on line 16 Notice: Undefined index: HTTPS in $forumhome/includes/class_core.php on line 1594 Notice: Undefined index: HTTPS in $forumhome/includes/class_core.php on line 1594 Notice: Undefined index: HTTP_REFERER in $forumhome/includes/class_core.php on line 1621 __________________________________________ For the sake of privacy I have modified the absolute paths with the env varibales $forumhome and $wikihome __________________________________________ The cookie appear to be recognized after the forum user has logged in the forum. But the user is not able to directly login from MediaWiki. If you would like, I could PM you the link to the wiki on the site. You help is very much appreciated. Thanks again! |
Quote:
error_reporting = E_ALL & ~E_NOTICE But the wiki login redirection back to wiki page is still not working. I could not find 'create account' link which will take the new user to vBulletin forum registration page. Your input is very much appreciated. Thanks! |
BTW, I initially tried this plug-in with MediaWiki v1.13.3 but that attempt was not successful. The I tried with Mediawiki v1.12.0 and it works like a charm, other than the 'log-in redirection' issue and 'create account' redirection to forum registration page. Still trying to resolve these issues in test environment.
. |
Here is one possible solution which seem to work for me to fix the two issues I reported earlier-
Open $wikihome/includes/templates/Userlogin.php and hard code the complete URL of the website as shown below for the SSO logon and for lost password page. Somehow [$bburl] is not providing the complete URL, not sure why. __________________________________________________ ________________ <form name="userlogin" method="post" action="http://$COMPLETE_WEBSITE_URL/forum/login.php?url=/wiki/index.php/Main_Page"> <input type='submit' name="wpLoginattempt" id="wpLoginattempt" tabindex="5" value="<?php $this->msg('login') ?>" /> <br /><a href="http://$COMPLETE_WEBSITE_URL/forum/login.php?do=lostpw">Forgot password?</a> __________________________________________________ ________________ That's it. Thanks NoeJeko, for an excellent plug-in. This will make my 35000 users happy. . |
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.
|
Quote:
Quote:
$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: |
Quote:
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! . |
Oops, wrong thread. Sorry.
|
Has anyone gotten this to wrap inside of vBadvanced?
|
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 |
That error is a vBAdvanced error. Are you using vBa for anything to do with the Wiki?
|
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) |
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.
|
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 and Code:
Warning: Invalid argument supplied for foreach() in /includes/init.php(293) : eval()'d code on line 122 I have also tried the following suggestions re the version of mediawiki Quote:
|
is there a (simple) migration path from nuhit's vbWiki Pro to this?
currently running vB 3.8RC2 with mediawiki 1.3 |
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:
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... |
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 ;)). |
It works perfectly with vB3.8:
Quote:
|
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. |
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. |
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. |
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 ! |
Quote:
https://vborg.vbsupport.ru/showthread.php?p=1673281 |
Quote:
One of my users are getting this error. It works for myself but it does not work for them, any help? |
Quote:
Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42 |
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. |
Strange, I made the neccessary adjustments as mentioned in that post eg :
//$wgHooks['UserLogoutComplete'][] = 'QISSingleSignOnUserLogout'; $wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth'; $wgHooks['UserLoginForm'][] = 'vBLoginForm'; $wgHooks['PersonalUrls'][] = 'set_personal_urls'; The strangest thing is...I did login and Wiki did show my name as being logged in, and then today when I opened it back up I couldn't log back in again, neiother can anyone else. Above is the snipppet from the AuthPlugin_vBSSO.php EDIT : So I downgraded to MW 1.12.3 reinstalled this plugin...still getting the same thing, I login just fine, but WIKI doesn't show me as logged in. And I changed UserLoadFromSession back to AutoAuthenticate... |
So how do I fix this?
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 |
Did you take a look at how I did it all? If I recall I got that till I changed a few settings suggested before. My fix is a few posts back.
|
Quote:
https://vborg.vbsupport.ru/showthrea...81#post1673281 |
metalguy639 you are my hero
Thank you |
Quote:
After I replaced the file with the fix on post 8, he received this error; Quote:
|
Quote:
Cheers DJ :) |
Quote:
|
I've got this mostly working on VB 3.7.3 / MW 13.3 as long as I disable another pluggin that I use. When I turn the other plugin on (GARS), I cannot get to the wiki and get this error:
Code:
Warning: require_once(./geek/gars/includes/gars_ignition.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(360) : eval()'d code on line 41 Thanks a lot!! |
Change require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); to require_once( "/home/mouseinf/public_html/forums/includes/AuthPlugin_vBSSO.php" ); in your LocalSettings.php file.
|
All times are GMT. The time now is 10:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|