Sorry ill upload screenshot of u_viewprofile aswell when I get home, its the same problem with that.Brf wrote:What does your custom permission have to do with u_viewprofile?
Sorry ill upload screenshot of u_viewprofile aswell when I get home, its the same problem with that.Brf wrote:What does your custom permission have to do with u_viewprofile?
Code: Select all
global $user;
$user_id = $user->data['user_id'];
echo $user_id;