MyBB Community Forums

Full Version: how can I change the welcomeblock username style ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can I change the welcomeblock username style ?

I can't find a solution, can someone help me?
You're going to need to be more specific here. Are you wanting the username to be styled like the usergroup they are in?

https://community.mybb.com/thread-134292...#pid971625 (may be what you're looking for)
(2022-09-15, 11:39 AM)Taylor M Wrote: [ -> ]You're going to need to be more specific here. Are you wanting the username to be styled like the usergroup they are in?

https://community.mybb.com/thread-134292...#pid971625 (may be what you're looking for)

Hi,

and how can I make the username style welcomeblock color white
Cover it with span element and style that in css
(2022-09-15, 03:15 PM)PARADOXP Wrote: [ -> ]Cover it with span element and style that in css

Thank you answer

but with what prefix should I do it, I have no idea, can you help me?

my format for global.php

// Format the welcome back message    
    $welcome_back_user = format_name($mybb->user['username'], $mybb->user['usergroup'], $mybb->user['displaygroup']);
    $lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($welcome_back_user, $mybb->user['uid']), $lastvisit);


What prefix do I use to know the style of the user's name?
it's in global.lang.php
(2022-09-23, 08:56 AM)PARADOXP Wrote: [ -> ]it's in global.lang.php

No.

global.php  , not global.lang.php