Hide profile drop down menu

Hi,
Currently in process of setting up my dolibarr instance
Is there a way to hide the “Show Company infos” and “Show More info” option under the profile drop down ?
All these info is visible even for every users

Figured it out

Deleting the following line from main.inc.php removes the block

	            <!-- Menu Body user-->
	            <div class="user-body">'.$dropdownBody.'</div>

Hello,

Yes this is one way to do it, but be careful, it will be erased at each Dolibarr update.

Yup, thats one disadvantage but just a small thing to do each update
just 2 lines to remove

Would love to have this implemented in other setup function in future

In this sense a more long time solution is to modify the Dolibarr theme (skin) with this CSS:

.user-body{display:none!important;}

I have not very clear if when updating Dolibarr (for example from 19.0 to 20.0) the CSS files of the official themes will be replaced. If it is the case (i think so) then you can do a DUPLICATE of the theme you use (eldy) and then make there the changes :grin:

Note: this solution only HIDE TO THE EYES that content user information, but it remains visible in the source code of the webpage, so if the user look at the source code will be able to find and read that information. Sincerely, i think that OP didn’t explianed why he need to hide this information.