'Register FluxBB', 'URL' => REGFLUXBB_ADMIN, ) ); return $menu; } /* user creation */ if (strpos(@$_GET['page'],'Register_FluxBB') === false) // Exclude user creation from plugin panel to make FluxBB2Piwigo synch available { add_event_handler('register_user', 'Register_FluxBB_Adduser'); } // Check users registration if (strpos(@$_GET['page'],'Register_FluxBB') === false) // Exclude user creation from plugin panel to make FluxBB2Piwigo synch available { add_event_handler('register_user_check', 'Register_FluxBB_RegistrationCheck', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); } /* user deletion */ add_event_handler('delete_user', 'Register_FluxBB_Deluser'); // Redirection to profile page // --------------------------- add_event_handler('login_success', 'Register_FluxBB_Login'); /* Profile management */ if (script_basename() == 'profile') { add_event_handler('loc_begin_profile', 'Register_FluxBB_InitProfile', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); } /* Password forget */ add_event_handler('loc_begin_password', 'Register_FluxBB_PasswReset'); /* Access validation in FluxBB when validated in Piwigo through UAM plugin */ add_event_handler('login_success', 'UAM_Bridge', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); ?>