Change small thumbnail to user name

How can I change the profile thumbnail in the header to the username? I have tried editing extra_sm_thumbnail.html, changing _thumbnail_ to __nickName__ but that doesn't work at all.

 

thanks,

Dan

Quote · 23 Nov 2014

We would need to know what you are calling the "header".  Header has a specific meaning to most of us, and I'm pretty sure it's not what you're referring to.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2014

You set that in your admin; /administration/advanced_settings.php

Geeks, making the world a better place
Quote · 23 Nov 2014

I am thinking the person is talking about the extra service menu.

Geeks, making the world a better place
Quote · 23 Nov 2014

 RE:

You set that in your admin; /administration/advanced_settings.php

 

 That should keep him amused for a while.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2014

sorry if I wasn't clear, I was referring to the thumbnail in the extra service menu.I want to replace the profile thumbnail with the username. I have looked through the advanced settings but see nothing that will work for replacing the thumbnail with the username.

Quote · 23 Nov 2014

 

sorry if I wasn't clear, I was referring to the thumbnail in the extra service menu.I want to replace the profile thumbnail with the username. I have looked through the advanced settings but see nothing that will work for replacing the thumbnail with the username.

Why didn't you just say so in the first place?  No, that setting is for setting what is used site wide for the user's name.

Geeks, making the world a better place
Quote · 23 Nov 2014

I will give you a hint; BxBaseMenuService.php.  By the way, there is also a builder for the service menu.

Geeks, making the world a better place
Quote · 23 Nov 2014

I looked at that page and am looking at the following code:

return $GLOBALS['oSysTemplate']->parseHtmlByName('extra_sm_thumbnail.html', array(
                'bx_if:show_thumbail' => array(
                    'condition' => $this->aMenuInfo['memberID'] != 0,
                    'content' => array(
                        'thumbnail' => get_member_icon($this->aMenuInfo['memberID'], 'left')
                    )
                ),

 

but I am lost here as what to change. I also tried looking at the builder for the service menu but cannot figure out how to edit a block to make it work.

Quote · 23 Nov 2014

That thumb is used site wide, and you can't change it in just the service menu area. It would be a global change.  What you could do, is remove the thumb from that area, and add an entry to the service menu in the database (sys_menu_service) that would display the user name.

I have to ask why you want to do it though.  The logged in user will know who they are without you telling them.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2014

That did it, thanks!

I made another entry and used {memberNick} as the caption.

Why did I want to do this? The person I am building the site wanted it. Why did he want it? I have no clue.

Thanks again,

Dan

Quote · 23 Nov 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.