I want to remove the http:// that is added automaticly on the user profile adress

That’s baked into core, and would be difficult to filter out. You’re better off adding a new field specific for what your goal is. It’ll get stored as a text field, and can be used however you please. An example: function ath_cleanup_profile_fields( $contactmethods ) { $contactmethods[‘my_new_profile’] = ‘Business Name’; return $contactmethods; } add_filter(‘user_contactmethods’,’ath_cleanup_profile_fields’,10,1);

Is there any way to not require email address or disable notification upon setting up a member?

Maybe the simplest way is to make a quick plugin that has your own form for inserting users. wp_insert_user() doesn’t require an email address or password, and doesn’t generate an email notification. function wpa70409_add_user(){ $userdata = array( ‘user_login’ => ‘testuser’, ‘display_name’ => ‘Test User’ ); wp_insert_user( $userdata ); }

How to show password fields on registration form w/o plugins

show_passwords_fields actually is a filter! You can hook into it as you did above, using an anonymous function: add_filter( ‘show_password_fields’, function(){return true} ); You can also write a function, and use it as a callback: function wpse_79994_show_password_fields() { return true; } add_filter( ‘show_password_fields’, ‘wpse_79994_show_password_fields’ ); However, as are only returning a boolean (true or false) … Read more

Add ‘first name’, ‘last name’, ‘date of birth’ and ‘terms and conditions’ to register fields?

Adding fields At first adding some fields to the registering formular add_action( ‘register_form’, ‘extended_register_form’, 10, 0 ); function extended_register_form() { // if an error occurs, we are here again and the // values that are entered in the formular are setup in the $_POST array $age = filter_input( INPUT_POST, ‘age’, FILTER_SANITIZE_NUMBER_INT ); echo ‘<p>’; echo … Read more

loading custom registration template

Be sure to link that page in your functions page require_once(‘custom-register.php’) cp_head(__(‘Register’,’cp’)); ?> <?php cp_show_errors($errors); ?> <div class=”alert alert”><a class=”close” data-dismiss=”alert”>×</a><strong>Welcome: </strong> <?php _e(‘Complete the fields below to become a member.’, ‘cp’) ?> </div> <div class=”alert alert-info”><a class=”close” data-dismiss=”alert”>×</a><strong>Information: </strong> <?php _e(‘Your password will be mailed to you so use valid email address.’, ‘cp’) ?> … Read more

wp_register() displays logged in user as site admin

Use add_filter in your functions.php file to the default text wp_loginout() and wp_register(). Copy and past following to your function.php file: To change wp_register() text: add_filter(‘register’,’register_text_change’); function register_text_change($text) { $register_text_before=”Site Admin”; $register_text_after=”Edit&nbsp;Your&nbsp;Profile”; $text = str_replace($register_text_before, $register_text_after ,$text); return $text; } To change wp_loginout() text: add_filter(‘loginout’,’loginout_text_change’); function loginout_text_change($text) { $login_text_before=”Log in”; $login_text_after=”Sign-In”; $logout_text_before=”Log”; $logout_text_after=”Logout”; $text = … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)