• ResolvedPlugin Author axew3

    (@axewww)


    WP_w3all phpBB WordPress 1.7.0 has been just released

    = 1.7.0 =
    *Release Date - 4 May, 2017*
    
    * !Important WP MU Multisite: fix correct user addition into WordPress of registered phpBB users. Please read the procedure necesssary to setup correctly the plugin on a WP MSMU installation here: https://www.axew3.com/w3/2017/04/wp_w3all-for-wordpress-ms-mu-multisite-multiuser-network-installations/
    * !Important: Fix cookie domain fail on domains suffix like .co.uk or subdomains. Now cookies are properly configured before to be set, for any possible suffix on domain or subdomain. It was causing mainly, also, the most famous problem: loop on login/out on domain suffix like co.uk and all others similars.
    * Include all long list of patch fixes applied on 1.6.8 (and more). See this topic: https://wordpress.org/support/topic/1-6-9-release-additions-and-improvements/ or/and this https://www.axew3.com/w3/index.php/forum/?f=2&t=506&p=1969#1969 for (not complete) list of fixed bugs.
    * Iframe improvements: all the js code has been patched and the page-forum.php has been improved for correct scroll on main events. The documentation about has been rewrite to be more easy (and i hope) in an Eng more understandable! The iframe, with proper settings, work on any integration type like domain/subdomain or subdomain/subdomain.
    * Correct users addition/activation/redirection on all possibles done tests.
    * Several important more fixes.

    Please report here any bug/request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author axew3

    (@axewww)

    Bug WP MU multisite: when user activate new WP account and login WP, even if correctly logged, redirected to profile first time, get the follow message:

    You attempted to access the “w3test WP” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “w3test WP” dashboard, please contact your network administrator.

    If the user open home page, it result correctly logged in instead.

    Fix for MUMS installations until 1.7.1:
    To resolve this fake redirect/result, (until 1.7.1 will not be released) you could resolve in this way:
    open class.wp.w3all-phpbb.php
    search for this code:

          $current_user = wp_get_current_user(); 
         if($current_user->ID == 0){
            wp_set_current_user( $wp_user_data->ID, $wp_user_data->user_login );
            wp_set_auth_cookie( $wp_user_data->ID, true, $secure );
             do_action( 'wp_login', $wp_user_data->user_login);
            wp_redirect( admin_url().'profile.php');
           exit;
         }

    on this code, just comment out these two lines in this way:

         //  wp_redirect( admin_url().'profile.php');
         //  exit;

    so the above become:

          $current_user = wp_get_current_user(); 
         if($current_user->ID == 0){
            wp_set_current_user( $wp_user_data->ID, $wp_user_data->user_login );
            wp_set_auth_cookie( $wp_user_data->ID, true, $secure );
             do_action( 'wp_login', $wp_user_data->user_login);
          //  wp_redirect( admin_url().'profile.php');
          // exit;
         }

    Now the user will result correctly redirected and result logged in at first time.

    Plugin Author axew3

    (@axewww)

    RELEASED 1.7.1 – fixes x MSMU installations
    == Changelog ==

    = 1.7.1 =
    *Release Date – 8 May, 2017*

    * Fix cookie setting to be detected and setup one time, not at ‘runtime’ when page load (that was since 1.7.0 to correct detect of cookie setting). Now the check is for any www top level domain (for advanced -> see new function: w3all_extract_cookie_domain() on wp_w3all.php).
    * Fix x MUMS: user was not added into phpBB on creating site/blog and related new user subadmin via admin.
    * Fix x MUMS: users addition error message: see https://wordpress.org/support/topic/1-7-0-released/#post-9106748
    * Tested to fix adding/registering/login users into WP default, WP Network Multisite, Buddypress (and should fix any other plugin that use signups). Still not add all profile fields update for Buddypress, it will be done (hope) on 1.7.2.
    * Added manual setting on wp_w3all.php to force plugin deactivation if necessary, to make possible a clean uninstall of the plugin even on most worse situations or just for testing purpose (this is completely redundant, if the plugin is installed using phpBB custom manual config.php, because you can deactivate the plugin within this file instead (as explained on inline hints in file)). A documentation help for common problems about will be done asap (if never necessary for someone).
    * Added manual setting on wp_w3all.php also for cookie to force cookie setting change (option about this will be added also into wp_w3all admin config on next version).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.7.0 released (MUMS + important fixes)’ is closed to new replies.