First time here? Check out the FAQ!
2

How to remove company name from User info?

In my implementation, the contributor is displyed like this: "Nickname (company)". But I don't understand where this company comes from, apart from being extracted from the email itself. How can I remove this company name from the display?

Thanks

LucM's avatar
21
LucM
asked 2023-06-19 03:54:16 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2023-06-19 10:14:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

It's showing your group name. There is no feature at the moment to hide this group from display, but it could be implemented easily, maybe even tonight.

Do you want the user groups feature enabled and at the same time don't like that the group name is shown in the user info? I'm just trying to understand if you've turned the groups functionality on intentionally or were just testing various features?

Evgeny's avatar
13.2k
Evgeny
answered 2023-06-19 10:14:08 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks a lot for your quick answer. Just to be sure: in our implementation, a new user (who can be a customer, a partner or an employee) is automatically provisioned in SSO from an identity provider, along with his name, email, and (I thought it was ignored) the company name. If you are sure this company name goes to the group, then it is just a matter of disabling the groups feature (I don't really need them). Correct?

LucM's avatar LucM (2023-06-19 10:31:42 -0500) edit

It depends on your SSO implementation, it may be a group name or not. Did you create a custom SSO integration? Is the "company name" part of the user name? - if so it will be part of the url of the user profile. You could try disabling the groups as well and see if it is making a difference.

Evgeny's avatar Evgeny (2023-06-19 10:37:28 -0500) edit

I made a few more tests. First of all the groups feature are not enable in my settings. To better understand how it can happen, I created a fake user from the company ACME, but with a gmail.com address. And after posting something it displays something like " answered 5 mins ago / gravatar image / Paul Starck (gmail). So now I know that the company name has been automatically extracted by askbot from the email address! Since people are choosing their nickname, this is not to reveal their company name automatically.... I really don't understand which magical option is extracting the company name from the email address.

LucM's avatar LucM (2023-06-19 11:40:19 -0500) edit

It seems that the magic is in your SSO implementation, when the user is created the username seems to have domain of the email address attached in parentheses, this is not a stock behavior of Askbot. Perhaps you could ask the person who worked on your deployment? Also, maybe the "name (domain)" string as a unit is coming from your identity provider?

Evgeny's avatar Evgeny (2023-06-19 11:44:05 -0500) edit

I was with him a few minutes ago. Total mystery... Just FYI, we are running a quite old version of askbot, I don't know if it might correspond to anything from the past, or... I don't know.

LucM's avatar LucM (2023-06-19 11:50:14 -0500) edit
add a comment see more comments