neuro75
Forum Replies Created
-
Forum: Plugins
In reply to: [WP w3all phpBB] external link on the phpBB pagesI didn’t plan to use any additional plugins for login. I want to use the standard features W3all.
Just when I was off earlier I referred to the lines in the file page-board.php, by clicking on phpBB login, I opened inside the frame standard phpBB login page, put the name and password, and all work correctly. It suits me fine. When the user logs into phpBB, simultaneously automatically and login to WP.
As in the default configuration, login in phpBB is not working, and only works with the disconnected lines in phpBB, I did not know that the entrance is scheduled in a modal window.
I was quite satisfied with the standard login in phpBB in a frame. I also want to put on the page WP button to the user profile, but as a profile to use page of profile phpBB.
How do I make it so that when I press the phpBB login, in a frame opened standard login page of phpBB?
And what is the link I must write to the button in WP to opened phpBB profile page in a frame?Forum: Plugins
In reply to: [WP w3all phpBB] external link on the phpBB pagesThe login should work in a modal window? I have after clicking on the login in phpBB such window does not appear, there is just a redirect to the main window of WP. (but in the address bar written http://mysite.com/board/#w3allopenModal).
If you don’t mind, you can look at this process on the website http://sovetnikkerch.ru . Tab “Forum” (the last tab of the main menu) runs phpBB in a frame.Even now I inserted the code
elseif (stristr($w3mode, "ucp")){ $w3all_url_to_cms = $w3all_url_to_cms . "/ucp.php"; }in new recompilled page-board.php.
When I enter in the address bar
http://sovetnikkerch.ru.ru/board/?mode=ucp
or
http://sovetnikkerch.ru/index.php/board/?mode=ucpgo to my phpBB profile, not happening. Also displayed is the main window of WP.
Forum: Plugins
In reply to: [WP w3all phpBB] external link on the phpBB pagesMy WP stand up into root of mysite.com.
My default .htaccess in this folder is# BEGIN WordPress # END WordPressIn the previous discussion you recomended replace its content on:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /your_path_to_wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /your_path_to_wordpress/index.php [L] </IfModule> # END WordPressI paste:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressWhether I pointed the path in the fourth and eighth line?
After this I recompile page-board.php (set is default).
Now аll the links except for login/logout still work correctly.
When I click on login/logout, for a split second, the correct image appears in the frame (fields of a login and password) then the site goes to home page (out of iframe to the main page WP). In the address bar of the browser when it is written http://mysite.com/board/#w3allopenModal
But 404 error is now no more!
What do I do next?Forum: Plugins
In reply to: [WP w3all phpBB] external link on the phpBB pagesI wrote earlier about a similar problem with 404 error at the login\logout in this topic: https://ww.wp.xz.cn/support/topic/error-404-when-loginlogout-into-phpbb/
I could not solve in any way other than by commenting out the following lines in page-board.php:var w3all_ck2 = 'ucp.php?mode=login'; var w3all_pass_login = (w3all_passed_url.indexOf(w3all_ck2) > -1); // // if (w3all_pass_login == true) { // // var w3_login_modallink = '".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/?#w3allopenModal'; // window.location.replace(w3_login_modallink); // } // // var w3all_ck3 = 'ucp.php?mode=logout'; // var w3all_pass_login_out = (w3all_passed_url.indexOf(w3all_ck3) > -1); // // if (w3all_pass_login_out == true) { // window.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/'); // }Now I inserted the code:
elseif (stristr($w3mode, "ucp")){ $w3all_url_to_cms = $w3all_url_to_cms . "/ucp.php"; }to the right place of file and enter to the browser:
http://clubkavkaz.ru/board/?mode=ucp
or
http://clubkavkaz.ru/index.php/board/?mode=ucp
I have error 404.I uncomment the lines (set to default):
var w3all_ck2 = 'ucp.php?mode=login'; var w3all_pass_login = (w3all_passed_url.indexOf(w3all_ck2) > -1); if (w3all_pass_login == true) { var w3_login_modallink = '".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/?#w3allopenModal'; window.location.replace(w3_login_modallink); } var w3all_ck3 = 'ucp.php?mode=logout'; var w3all_pass_login_out = (w3all_passed_url.indexOf(w3all_ck3) > -1); if (w3all_pass_login_out == true) { window.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/'); }Now i have error 404 if i press logon, logout into phpBB and if i enter to browser http://clubkavkaz.ru/board/?mode=ucp or http://clubkavkaz.ru/index.php/board/?mode=ucp
I really like your plugin and I like using it on your website. Please help me with configuration.
Forum: Plugins
In reply to: [WP w3all phpBB] external link on the phpBB pagesNo. I always have error 404
Forum: Plugins
In reply to: [WP w3all phpBB] Error 404 when login\logout into phpBBPS. I don’t corrected these files (.htaccess). They default.
Forum: Plugins
In reply to: [WP w3all phpBB] Error 404 when login\logout into phpBBYes, now i have correct redirection in case the user login and logout.
My .htaccess in WP root contains only the following lines:# BEGIN WordPress # END WordPressIn fact, it is empty.
.htaccess in phpBB root (/forum) contains (сommented lines I removed):<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ app.php [QSA,L] </IfModule> <IfModule mod_version.c> <IfVersion < 2.4> <Files "config.php"> Order Allow,Deny Deny from All </Files> <Files "common.php"> Order Allow,Deny Deny from All </Files> </IfVersion> <IfVersion >= 2.4> <Files "config.php"> Require all denied </Files> <Files "common.php"> Require all denied </Files> </IfVersion> </IfModule> <IfModule !mod_version.c> <IfModule !mod_authz_core.c> <Files "config.php"> Order Allow,Deny Deny from All </Files> <Files "common.php"> Order Allow,Deny Deny from All </Files> </IfModule> <IfModule mod_authz_core.c> <Files "config.php"> Require all denied </Files> <Files "common.php"> Require all denied </Files> </IfModule> </IfModule>Forum: Plugins
In reply to: [WP w3all phpBB] Error 404 when login\logout into phpBBI do not understand what does the function “window.location.replace(‘”.$w3allhomeurl.”/index.php/”.$wp_w3all_forum_folder_wp.”/’)”.
However, since when processing an event “register” everything worked correctly and the file page-board.php wasn’t the line “if (w3all_register == true)”, I thought that it is possible to exclude rows “if (w3all_pass_login_out == true)” and “if (w3all_pass_login == true)”.
I comment this line:// if (w3all_pass_login == true) { // // var w3_login_modallink = '".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/?#w3allopenModal'; // window.location.replace(w3_login_modallink); // } // // var w3all_ck3 = 'ucp.php?mode=logout'; // var w3all_pass_login_out = (w3all_passed_url.indexOf(w3all_ck3) > -1); // // if (w3all_pass_login_out == true) { // window.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/'); // } // // var w3all_ck4 = 'quickmod'; // var w3all_phpBBquickmod = (w3all_passed_url.indexOf(w3all_ck4) > -1);Now everything works as it should.
Is this solution incorrect?Forum: Plugins
In reply to: [WP w3all phpBB] Error 404 when login\logout into phpBBI do not understand the question.
Site located at http://clubkavkaz.ru and work. Link http://clubkavkaz.ru/board/ and http://clubkavkaz.ru/board/#w3allopenModal generated if i press “login” or “logout” into phpBB and not work (page 404).
In other cases, the generated links look like http://clubkavkaz.ru/index.php/board/?viewforum=… and work.
How can I do so that worked “login” and “logout” into phpBB?Forum: Plugins
In reply to: [WP w3all phpBB] Error 404 when login\logout into phpBBNote: after anonymous, when user press “login” in phpBB, address bar appears http://clubkavkaz.ru/board/#w3allopenModal