Forum Replies Created
-
AuthorPosts
-
Khaled
MemberHi, you can create a form with username and password field. Set the custom width on them and assign the form in the login shortcode.
e.g.
[[user-meta-login form=My_Login_Form]]
Thanks.
Khaled
MemberHello Mariana,
Thanks for your suggestion. We shall consider your request for next stable version.
Regards
KhaledKhaled
MemberHi,
Thanks for your reporting. We have applied fixes on dev version. Please use our current dev until next release.
Regards
KhaledKhaled
MemberHi Andy,
Please have a look for some special characters in your email body. You could set a temp admin account for me if you need me to investigate on your site.
Could you please tell us, which types of styling issues you have encountered with 1.18rc2?
Thanks
Regards
KhaledKhaled
MemberHi,
Please try version 1.2.0rc1
Thanks.
Khaled
MemberHi Laura,
Please try 1.2.0rc1.
Thanks.
Khaled
MemberThanks Johnathan.
Just write here when you will need to revalidate your license 🙂
Regards
KhaledKhaled
MemberHi Johnathan,
I just reset your licnese. Please try again to validate your new site.
Thanks.
Khaled
MemberHello Li,
Although, this is not directly supported feature. To get the jod done, please put following code to your functions.php
add_action('user_register', function ($userID) { global $userMeta; $roleToAutoActive = 'subscriber'; $role = $userMeta->getUserRole($userID); if ($roleToAutoActive == $role) update_user_meta($userID, 'user_meta_user_status', 'active'); }, 20);
Don’t forget to replace
$roleToAutoActive = 'subscriber';
with your targeted role which shall activate automatically.Although, the user will activated but they will see default admin approval required message. To get ride of that, use ‘Do not use AJAX’ checkbox and use custom redirection where you can write something to show some direction to user.
Thanks.
Khaled
MemberYep! it is still active. ** was html rendering issue.
Thanks.
Khaled
MemberHi Torben,
you can change html before rendering using ‘user_meta_field_display’ filter hook.Here is an example:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersadd_filter('user_meta_field_display', function ($html) { // Get label html preg_match("/<label.*>.*<\/label>/", $html, $matches); $label = $matches[0]; // Get input html preg_match("/<input.*\/>/", $html, $matches); $input = $matches[0]; // Create new html $newHtml = "<div>{$input}{$label}</div>"; // Replace with pattern $html = preg_replace("/<label.*>.*<\/label><input.*\/>/", $newHtml, $html); return $html; }); Thanks.
July 29, 2016 at 11:21 am in reply to: How to access/update extra fields in WP template files? #7976Khaled
MemberHi Andrew,
If you just hardcode some html input to the form, it won’t get updated. For security reason, we only count fields stored on plugins.
You can use html field to write your html and use ‘user_meta_after_user_update’ or ‘user_meta_after_user_register’ hooks to update into database.Thanks.
Khaled
MemberHi,
To import custom field, select “Custom Field” as assigning field for “account_manager_name” and put “account_manager_name” in text field. Check the checkbox “Add custom field to..”
To see custom field data, drag account_manager_name field to your form.
Thanks.
Khaled
MemberHi Denis,
If you set “Need Admin Approval” in User Meta >> Settings >> Registration, an admin will get an email with aproval url every time when a user get registered. If the admin follow the url to approve user, “Admin Approval Email” will trigger.
If an admin visit user listing page and activate any user directly than “User Activation Email” will trigger.
Thanks.
-
AuthorPosts