Rahul Gandhi
Forum Replies Created
-
You can use the User Meta shortcode to get all the user meta saved by UsersWP or WP or other plugins by prefixing the key with “uwp_meta_”. Here is the example for your reference:
[uwp_user_meta key=bio show=’value’ user_id=""]for getting meta stored by the UsersWP while creating account form via form builder. If you keep the user_id blank then it will fetch the data of the displayed user of the profile.Or you can use the Author meta dynamic tag to get the same bio by adding the prefix like “uwp_meta_bio” but this will not work on the profile page as this fetches the post author and not the displayed user of the profile.
Regards,
PatrikHi,
We do have a list of shortcodes that can be used to create the different parts of the profile page if you don’t want to use the [uwp_profile] which displays the full profile page. You can get them at the link https://docs.userswp.io/category/476-core-widgets. You might get most of the data about users from the User Meta widget or shortcode Let me know if this helps or not.
Regards,
PatrikHi,
You can add a custom class to custom fields for the login and registration forms from the form builder. The buttons and input fields are using the bootstrap class which depends on your theme CSS and if you think it’s still not matching with the design then you might have to apply the CSS. If you can provide a screenshot or small video or site link to check where you need to apply custom CSS then we can provide a solution for that if any. Regarding flexibility in the profile page, we have different shortcodes which can be used to create the profile page via elementor. In the majority case, it will not require more CSS work if you are using the theme which supports bootstrap and you are using the bootstrap layout for UsersWP.
Regards,
PatrikForum: Plugins
In reply to: [UsersWP - ReCaptcha] Conflict with WP User FrontendHi,
Thanks for reporting. Can you create a support ticket on our site http://userswp.io/support so one can assist you further?
Regards,
PatrikHi,
Can you try the following code in the functions.php file of the currently active theme or via the Code Snippet plugin and let me know if it works for you or not?
add_filter('uwp_excluded_users_from_list', 'uwp_excluded_users_from_list_cb', 10, 1); function uwp_excluded_users_from_list_cb($exclude_users){ $admins = get_users( array( 'role__not_in' => array( 'author', 'administrator' ), 'fields' => array('ID') ) ); $admins = wp_list_pluck( $admins, 'ID' ); if($admins && count($admins) > 0){ return $admins; } return $exclude_users; }Regards,
PatrikHi,
Mailpoet is a newsletter plugin that provides WooCommerce integration to allow sending emails for WooCommerce actions but there is no integration with the UsersWP so you can change the UsersWP email templates via overriding email template files in your active theme and modify according to requirements. Here is the doc for the same https://userswp.io/docs/developers/override-templates/.
Regards,
PatrikHi,
This could be due to either the security plugin conflict or caching on your hosting. Can you please create a support ticket on our site https://userswp.io/support?
Regards,
PatrikHi,
That can be due to CSS conflict from theme or plugin. Can you create a support ticket on our site https://userswp.io/support?
Regards,
PatrikHi,
– To edit the fields you need to do it from the Account form builder and not from the registration form builder.
– We will have to look into this. You can check the process_register() method in class-forms.php for the hooks you need. For validation, you can use ‘uwp_validate_result’ filter.
– You can log in with the username and email both. Let me know what error you see. Also, make sure there are no restrictions by other plugins or security plugins.
Regards,
PatrikHi,
– You can use ‘uwp_account_available_tabs’ filter to add new tab and use ‘uwp_account_form_display’ hook to display the content in the tab.
– You can use the same ‘uwp_account_form_display’ to unset any tab you want to remove.
– You will have to override the template file and remove code from there that you don’t want to show. You can get a guide at https://userswp.io/docs/developers/override-templates/ to override the template.
– You can use our Moderation addon https://userswp.io/downloads/moderate-user-registration/ to manually approve the user after registration.
– Those are the required pages for our plugin to work properly. You can put the page in the draft/trash and resave the setting to remove it.
– You can edit the custom field from UsersWP->Form Builder and uncheck the “Is required” option.
– You can use ‘uwp_after_process_register’ hook for that.
– Can you explain a bit more about this last point?Regards,
PatrikHi,
Thanks for reporting. We have created a task for this and we will come up with the fix soon.
Regards,
Forum: Plugins
In reply to: [UsersWP - Social Login] Hybridauth config does not exist on the given path.Hi,
This error will display when there is a session not enabled on your server or the session path is not writable. Can you check with your server team and let us know for the same?
Regards,
PatrikHi,
Can you create a support ticket on our site http://userswp.io/support where the dev will assist you to fix your issue?
Regards,
PatrikHi,
It should allow login with both username and email address. Can you let me know how you are changing the field type? You can use the filter ‘uwp_form_input_text_username’ to change the output of the input field and make it input type email or you can try JS to change it to the email field or you can put JS validation on the field to allow entering email only.
Regards,
PatrikHi,
For that, you will need to override the template https://userswp.io/docs/developers/override-templates/
You can copy the file userswp/templates/bootstrap/posts-post.php in your currently active theme’s /userswp/bootstrap/ folder and modify the line no. 9 as following:
$thumb_url = get_the_post_thumbnail_url( get_the_ID(), 'large' );You can try using ‘full’ in place of ‘large’ which are default WordPress media sizes.
Regards,
Patrik