Forum Replies Created
-
AuthorPosts
-
deniscgnMember
this seems to work
/* User Meta Pro Email for Username */
function emailToUsername( $userData ){
$userData[ ‘user_login’ ] = $_POST[ ‘user_email’ ];
return $userData;
}
add_filter( ‘user_meta_pre_user_register’, ’emailToUsername’ );/* User Meta Pro Nickname for Publicname */
function displaynameToNickname( $userData ){
$userData[ ‘nickname’ ] = $_POST[ ‘display_name’ ];
return $userData;
}
add_filter( ‘user_meta_pre_user_register’, ‘displaynameToNickname’ );deniscgnMemberHello,
I use this code, but this does not work 🙁
/* User Meta Pro Nickname for Publicname */
function user_meta_after_user_register_function( $userData ){
$userData[ ‘display_name’ ] = $_POST[ ‘nickname’ ];
return $userData;
}
add_filter( ‘user_meta_after_user_register’, ‘user_meta_after_user_register_function’ );deniscgnMembercan someone help me please 🙂
deniscgnMemberPut this code in the FUNCTIONS.PHP of your theme or child-theme
deniscgnMemberGreat support thanks a lot.
Works perfect!deniscgnMemberHello,
when I add this function it works, but WP does change the german charachters.
How do I put this into the function?add_action( 'user_meta_after_user_register', 'user_meta_after_user_register_function' ); function user_meta_after_user_register_function( $response ){ $userID = $response->ID; $user_login = $_POST['user_login']; wp_update_user( array ( 'ID' => $userID, 'display_name' => $user_login ) ); }
Thanks for help,
DenisNovember 24, 2013 at 6:22 pm in reply to: How can I use a custom "Email Is Successfully Verified" page? #4479deniscgnMemberHi,
can you please add this to the next update. It looks so strange that the user is allways sent to “resetpass” for, verify the email during the registration.
deniscgnMemberHi,
I sent you the login data. did you found out something?
I send you the answer of the WPFU pro Team to your contact.can you please check and give me an answer, cause it is getting urgend for me.
thanks!
DenisdeniscgnMemberI dont know which makes it fail. When I put it into FUP the captcha wont be generated. When I put it only on UMP the recaptcha is not there, too.
I dont know how to fix it. I set both files to 777.
If you want I can give you admin rights so you can check your own.
Cheers,
DenisdeniscgnMemberHi,
thanks for help. Do I put this into your, frontend user or both “recaptchalib.php” files?When I put it in both or only frontend user pro the recaptcha dont show.
If I put it in into the user Meta Pro file I got the same error as before.Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /www/htdocs/w007ac41/hundebilder/wp-content/plugins/wp-user-frontend-pro/lib/recaptchalib.php:47) in /www/htdocs/w007ac41/hundebilder/wp-content/plugins/user-meta/framework/helper/recaptchalib.php on line 58
Cheers,
Denis- This reply was modified 11 years, 2 months ago by deniscgn. Reason: tried but no solution
deniscgnMemberThanks,
but I only can use “username” once. I already named it Username for the registration form.
How to create a new “username” and name it Username / Email?
Cheers,
DenisdeniscgnMemberMaybe you can use a hide field in the registration set it to 0
in the profile make all fields required. if all fields are filled set the hide field to 1.
the you just need to cheek if the hide field is 1. thats the way i would do it.
you have to create a function that will be on every page post to check it.
cheers,
denisdeniscgnMemberHi,
maybe you can try this./** * * PHP Memory Limit * */ define('WP_MEMORY_LIMIT', '128M');
Put it the wp-config.php right before
/* That's all, stop editing! Happy blogging. */
Cheers,
Denis -
AuthorPosts