![]() |
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: |
All times are GMT. The time now is 04:50 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:
|