The feature request by DYdave in #1908802: Notice on Create user page with admin if no providers enabled:

Would we really want to display the CSNA links on the Registration form (user_register_form), if it's the Create user form used by the administrator?
In short, would we need to display the CSNA links on the admin add user page as well? (It is also a user_register_form page).

I guess there would be several solutions for that, such as adding configuration settings to CSNA admin page to include or exclude certain form_ids, or simply choose to only display the links if user is anonymous, etc...
I would assume this could be further discussed in a different ticket, for the time being, we could try fixing the error log message with a simple and clean solution in code.

Let us discuss it.

Comments

alfababy’s picture

First
I think we can add a block before register form.

Block content like:

If you have any of the following account, then click directly login. NO NEED REGISTER.

WEIBO LINK, RENREN LINK, QQ LINK, KAIXIN LINK

Second

if it's the Create user form used by the administrator

I think the LOGIN LINK needn't display it.

miloyz’s picture

I think the links can display according to user roles.
anonymous user = display
any registered user = no display

DYdave’s picture

Title: Would we really want to display the CSNA links on the Registration form (user_register_form) ? » Display the CSNA links on the Registration form (user_register_form) for administrator ?

Thanks a lot alfababy and miloyz for following up with this issue.

From a usability standpoint, I would say that the solution suggested in #2 would probably be the simplest, and more appropriate for this particular use case.

To investigate this feature request further, I would recommend we try to look at some other similar modules to see how they would do it, for example:

Also, I would suggest we keep this ticket open a little bit to give others more time if anybody else would like to react on this, give a feedback or come up with a good idea.

Thanks again very much for your comments, feedbacks and help improving this great module.
Cheers!

DYdave’s picture

Issue summary: View changes

Updated issue summary.