2016-02-08, 12:30 PM
hello,
i have restricted one page by putting the following code
it is running successfully that when guest opens tha page it shows the login page but after login it shows could not find member.php
i have put this page outside mybb folder in to my website folder , how sjhould i redirect it to member page from there so that it opens this page for registered users
i have restricted one page by putting the following code
define('IN_MYBB', 1);
require_once ("../global.php");
if ( $mybb->user['usergroup'] == 1)
{
error_no_permission();
}
it is running successfully that when guest opens tha page it shows the login page but after login it shows could not find member.php
i have put this page outside mybb folder in to my website folder , how sjhould i redirect it to member page from there so that it opens this page for registered users