I doing a custom module to show a message alert to certain users, but I have due with how manage and access to users tables.
I have made a tpl inside in my module and I want to check if the user logged has a value in his profile. Could someone help me with that?
I have some thing like this:
$userid = $current_user->user_id;
some text to show certain user manage with one IF