2017-07-19, 02:39 PM
I'm trying to create a new user module in the Users & Groups tab, for some reason the page is completely white. There's nothing inside the <body>, the title of the page is empty as well.
I've checked Apache & PHP error logs and they both don't say anything about this page. I'm currently using these two hooks in the inc/plugin/ file.
Is there perhaps a hook I'm missing?
I've checked Apache & PHP error logs and they both don't say anything about this page. I'm currently using these two hooks in the inc/plugin/ file.
$plugins->add_hook('admin_user_menu', create_function('&$args', '$args[] = array(\'id\' => \'ranks\', \'title\' => \'Manage Ranks\', \'link\' => \'index.php?module=user-ranks\');'));
$plugins->add_hook('admin_user_action_handler', create_function('&$args', '$args[\'ranks\'] = array(\'active\' => \'ranks\', \'file\' => \'ranks.php\');'));
Is there perhaps a hook I'm missing?