Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • tomer 1 post 71 karma points
    Jul 30, 2017 @ 07:48
    tomer
    0

    Add fields to users in backoffice

    Hi i'm new in umbraco and i need to add a label and textbox under User type in the user control(where i wrote "here" in the screenshot) and store the data in my SQL user table. Thanks!enter image description here

  • Sven Geusens 161 posts 869 karma points c-trib
    Aug 01, 2017 @ 18:55
    Sven Geusens
    0

    Hey tomer

    May I ask why you want to do this? Because as far as I know this is not possible.

    Just to make something clear: In a umbraco a user is an account that can login to the backend http://site/umbraco. A member is an account that can login to the frontend and which you can use to hide pages from members who are not logged in.

    The member type can be extended, while the user type can not.

  • Marcio Goularte 356 posts 1248 karma points
    Aug 01, 2017 @ 21:39
    Marcio Goularte
    0

    Hi,

    I already had to do this. The solution was to create a custom table and modify the Umbraco source code (careful with the version). You can use petapoco and create the webcontrols on this page:

    Https://github.com/umbraco/Umbraco-CMS/blob/90f2fc4cd9156e4eaa03b17fa68e7980ea225580/src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs

    The best way is to do it in another place, like a dashboard. I made this implementation only because the client demanded it.  

    Custom dashboard:

    Https://our.umbraco.org/projects/backoffice-extensions/bulk-user-admin/

    https://github.com/leekelleher/umbraco-bulk-user-admin

    You can modify this dashboard for what you need.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 01, 2017 @ 21:43
    Alex Skrypnyk
    0

    Hi Marcio

    What if you would like to upgrade Umbraco?

    Thanks,

    Alex

  • Marcio Goularte 356 posts 1248 karma points
    Aug 01, 2017 @ 21:51
    Marcio Goularte
    0

    In this case of modifying the source code, my client did not intend to upgrade Umbraco. And if needed, I would have to be upgraded by visual studio updating the code. Perhaps creating another EditUser.cs with another namespace could resolve this case.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies