Title: mmalk's Replies | WordPress.org

---

# mmalk

  [  ](https://wordpress.org/support/users/mmalk/)

 *   [Profile](https://wordpress.org/support/users/mmalk/)
 *   [Topics Started](https://wordpress.org/support/users/mmalk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mmalk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mmalk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mmalk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mmalk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mmalk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] how i can let him use only number in username](https://wordpress.org/support/topic/how-i-can-let-him-use-only-number-in-username/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/how-i-can-let-him-use-only-number-in-username/#post-16536550)
 * i do it put he can insert number and text for me i want only number not accepte
   any text.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] how i can let him use only number in username](https://wordpress.org/support/topic/how-i-can-let-him-use-only-number-in-username/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/how-i-can-let-him-use-only-number-in-username/#post-16536308)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) thank 
   you to help me.
 * i want only number can told me how ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/page/2/#post-16526782)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) thank 
   you 🌹
 * this mean only the are one way to see “Show User Registration data in the backend
   is explained” from [info] con’t see inside when push [edit] becose some time 
   need to edit like wrong somthing .
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/page/2/#post-16526768)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) what i
   mean:
 * when go inside (wp-admin) and go to (users) all users come in this page i de 
   Edite for one user i want see him information he not give me all what ask him
   in the register form like (nationalite and day birth and old school etc … )
 * all this he write in register fome.
 * i wish you under stand me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/page/2/#post-16526727)
 * thank you
    -  This reply was modified 3 years, 2 months ago by [mmalk](https://wordpress.org/support/users/mmalk/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16526659)
 * thank you [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
   this is for admin columns i need when do Eidt profile in wp admin
 * ![](https://i0.wp.com/up6.cc/2023/03/167788447099051.jpeg?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16526603)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) first 
   i want realy thank you for help me now all is ok with me 🌹 .
 * only one point i wish to know how do it:
 * aftr i add some information when he register like date birth and nationalite 
   and more more information how show all this in “ wp-admin > users “ ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16522621)
 * from wordpress settieng: New User Default Role is ” Subscriber “
 * i add the new Role from UM
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16522492)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) thank 
   you
 * now is working put he put in 2 role like : (Subscriber and Kd 3) or (Subscriber
   and Kd 4)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16522318)
 * thank you [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
   put not work
 * the “um_kd-3” is the name of role
 *     ```wp-block-code
       add_action( 'um_registration_complete', 'um_registration_complete_set_new_role', 2, 2 );
   
       function um_registration_complete_set_new_role( $user_id, $args ) {
   
           $birth_date = um_user( 'birth_date' );
   
           if ( ! empty( $birth_date )) {
   
               $from  = new DateTime( $birth_date );
               $to    = new DateTime( 'today' );
               $years = (int)$from->diff( $to )->y;
   
               if ( $years > 18 ) {
                   UM()->roles()->set_role( $user_id, 'um_kd-3' );
               } else {
                   UM()->roles()->set_role( $user_id, 'um_kd-4' );
               }
           }
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16522209)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/) if you
   can see what i do if have email to send for you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] about birth date in neeg age](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/)
 *  Thread Starter [mmalk](https://wordpress.org/support/users/mmalk/)
 * (@mmalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/about-birth-date-in-neeg-age/#post-16522125)
 * thank you [@missveronicatv](https://wordpress.org/support/users/missveronicatv/).
 * i will told you what i want.
 * i work for school and he ask me to let the student put the birth date like “dd/
   mm/yyyy” and the system do age calculation “X years” if the student:
 * X years put him is class A , if he Y years put him in class B , etc.
 * i puy the class like roles the are many roles i will be do.
 * can i do it like that or no!

Viewing 12 replies - 1 through 12 (of 12 total)