When the user logs in i want to show something like …. Welcome to (User’s name) in the header site… and I don’t know how do it…….someone can help me? —- Thanks a lot
you can get user name using this code:
$auth = BAuth::get_instance(); $user_name = $auth->is_logged_in()? $auth->get('user_name'): '';
to show this on the header, you need to edit the theme you are using.
Thanks a lot¡¡
You must be logged in to reply to this topic.