| 开发者 | axewww |
|---|---|
| 更新时间 | 2026年12月1日 19:02 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
Read this page at axew3.com for further helps: it contain detailed easy how to install and faq. You can report security bugs at axew3.com or You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. Report a security vulnerability.
class.wp.w3all-phpbb.php.w3all_get_phpbb_config() function for safe config mapping.username interpolation in create_phpBB_user_wpms().$email query in wp_w3all_phpbb_delete_user().$u_url was unconditionally overwritten with the old $wpu->user_url in phpbb_update_profile().w3all_get_unread_topics() building $unread_topics and defining W3UNREADTOPICS, but returning the empty global $phpbb_unread_topics.$ban_ids_remove and $ued variables in w3_phpbb_ban().$_SERVER["REMOTE_ADDR"] without checking isset() in phpBB_user_session_set() and w3_phpbb_ban(), which triggered an Undefined array key "REMOTE_ADDR" warning on PHP 8+ during WP-Cron jobs, CLI commands, or background webhooks.setcookie() arguments in wp_w3all_phpbb_logout().user_regdate to the main query on verify_phpbb_credentials() -> so to fix -> Warning: Undefined property: stdClass::$user_regdate in class.wp.w3all-phpbb.php on line 774, which was thrown when a logged-in phpBB user was added on the fly during a valid session login./common/custom_login.php and /common/custom_functions.php files are automatically loaded by default. If they exist in the wp-content/plugins/wp-w3all-custom/ folder, they will be used; otherwise, the default files in wp-content/plugins/wp-w3all-phpbb-integration/common/ will be included.WP_w3all phpBB db connection and main settings section, and removed outdated or misleading explanations.common/wp_phpbb_iframe_shortcode_v6.php to use the site's fonts, and refined the JavaScript to fade out the preloader when phpBB displays. Updated the <noscript> message for the iframe template integration. The views/wp_w3all_phpbb_iframe_short_v6.php file has also been updated.wp_w3all_login_existent_phpbb_fix() by returning a WP_Error on password mismatch and fetching newly synced WordPress users after profile creation.$w3all_push_new_pass_into_phpbb) only occurs after successful WordPress password verification.w3_check_phpbb_profile_wpnu() and wp_check_password() using $wpdb->prepare() and added clean_user_cache() after direct user table updates.views/wp_w3all_phpbb_iframe_short_v6.php and updated it to support linking WordPress user ID 1 and phpBB user ID 2.wp-w3all-phpbb-integration/admin/config.php file.sessions_keys) queries by anchoring lookups on the users primary key and fetching only required columns from users and groups (skipping heavy TEXT fields like user_permissions, user_sig, and group_desc).sessions.session_user_id to the authenticated user_id and fixing/improving sessions_keys auto-login fallback handling when an active session_id has expired.GROUP BY with LIMIT 1 for full compatibility with MySQL 8+ and MariaDB ONLY_FULL_GROUP_BY strict mode, and aliased u.user_id to prevent NULL overwrites from LEFT JOIN on profile_fields_data.dedicated database table option.function verify_phpbb_credentials() to check the user agent instead of the IP address for non-remember-me sessions.private static function verify_phpbb_credentials() by moving the if( $w3all_phpbb_lang_switch_yn == 1 ) option check outside the main/conditional user update block.define('W3PHPBBCREDENTIALSEXEC', true);).public static function w3_phpbb_ban( so that it fires for the correct phpBB version 3 or 4.private static function verify_phpbb_credentials().private static function verify_phpbb_credentials().is_admin() && wp_doing_ajax() ) || wp_doing_cron().wp-content/plugins/wp-w3all-phpbb-integration/common/custom_functions.php. See how to use or activate it here: https://www.axew3.com/w3/2025/06/wordpress-phpbb-custom-code-file/ (and improve the existent).private static function create_phpBB_user_wpms in class.wp.w3all-phpbb.php).wp_check_password in wp_w3all.php).W3ALLPHPBBUAVA constant from the phpbb_last_topics.php file and assign value to $last_topics directly into class.wp.w3all.widgets-phpbb.php on function wp_w3all_phpbb_last_topics. No changes to custom files are required (if you are using any)./admin/wp_w3all_users_fix_wp_usernames.php and admin/wp_w3all_users_fix_phpbb_usernames.php never used files.create_phpBB_user function on file class.wp.w3all-phpbb.php for registered usernames.$w3phpbbuava = unserialize(W3ALLPHPBBUAVA); with this: $w3phpbbuava = W3ALLPHPBBUAVA;esc_sql() calls and completed the migration of all queries to WordPress MySQL Prepared Statements in class.wp.w3all-phpbb.php so to fix any other possible query related security issue.common/custom_functions.php adding another simple example for MUMS and little fix others.function w3_check_phpbb_profile_wpnu($username){ Thrown when a password mismatch occurs during an update.public static function w3_check_phpbb_profile_wpnu($username){./common/custom_login.php/wp-content/plugins/wp-w3all-custom/ and copy two files into it: the new /wp-w3all-phpbb-integration/common/custom_login.php and /wp-w3all-phpbb-integration/common/custom_functions.php. Self-explanatory, simple, working example code is provided within.public static function phpbb_update_profile($user_id, $old_user_data) - current_user_can('edit_user') get Undefined array key 0 in /wp-includes/capabilities.php on line 75 (when user update password) on file class.wp.w3all-phpbb.php.private static function create_phpBB_user($wpu, $action = ''){ on file class.wp.w3all-phpbb.php so as to correctly create a user in phpBB when they register in WordPress MU-MS.private static function phpBB_user_session_set($wp_user_data){ on file class.wp.w3all-phpbb.php file to avoid redirect conflicts with other plugins.function verify_phpbb_credentials(){ for the same above reason so to avoid redirect conflicts with other plugins.custom_login.php file to hook into the wp_w3all.php wp_check_password function, thereby easily fixing common login issues with other plugins./wp-content/plugins/wp-w3all-custom/ and copy two files into it: /wp-w3all-phpbb-integration/common/custom_login.php and /wp-w3all-phpbb-integration/common/custom_functions.php. Self-explanatory, simple, working example code is provided within.