Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
define('SMF_INTEGRATION_SETTINGS', serialize(array(
'integrate_change_email' => 'change_email_function',
'integrate_change_member_data' => 'change_member_data_function',
'integrate_reset_pass' => 'reset_pass_function',
'integrate_exit' => 'exit_function',
'integrate_logout' => 'logout_function',
'integrate_outgoing_email' => 'outgoing_email_function',
'integrate_login' => 'login_function',
'integrate_validate_login' => 'validate_login_function',
'integrate_redirect' => 'redirect_function',
'integrate_delete_member' => 'delete_member_function',
'integrate_register' => 'register_function',
'integrate_pre_load' => 'pre_load_function',
'integrate_whos_online' => 'whos_online_function',
)));
register_function ($userdata)
{
// тут самостоятельно регистрировать юзера в таблицах WP
}
Automatic login integration
Users don’t need to register for a separate WordPress account — it is all managed behind the scenes by the integration package.
You can choose how user levels are mapped from phpBB to WordPress — for example, you could give phpBB users the ability to create posts, mods the power to edit posts, etc… or you could allow only phpBB admins to create posts, and everyone else to comment… the choice is yours. You can even turn the mapping completely off — allowing WordPress to use its own login system.