Rahul Gandhi
Forum Replies Created
-
Hi,
You don’t need a premium version for this as UsersWP core is free and there are some addons under the premium version. You can change the email subject and content from the setting available under UsersWP->Emails->User Emails and Admin Emails. Click on the Show Advanced button to see the subject and body content of the emails.
Regards,
PatrikForum: Plugins
In reply to: [UsersWP - Social Login] Facebook Login problemsHi,
If you can create a support ticket on our site https://userswp.io/support then we can take a look at your website and provide you the solution asap. Please mention this ticket URL so it will be easy for us to track.
Regards,
PatrikForum: Plugins
In reply to: [UsersWP - Social Login] Facebook Login problemsHi,
1. This can happen when we don’t get the email address from Facebook for a user and it can be due to either user has signed up with a phone number on Facebook. Another reason could be due to application permission needed, but if it works for other users, I think that’s not the reason.
2. Are you using any caching on your site? If yes then try excluding login page from caching.
Regards,
PatrikHi,
We have done the changes and will release an update soon!
Regards,
PatrikHi,
We will surely help you. Please create a support ticket on our site https://userswp.io/support and mention the URL of this ticket.
Regards,
PatrikHi,
We have got your ticket and we will reply there for your issue.
Regards,
PatrikYes! But you will need other hooks as per the doc link I shared for displaying the content of the tab and title of the tab.
Regards,
PatrikHi,
Following is the code for removing invoices, subscriptions, billing address, notifications, privacy menus from the account tab:
add_filter('uwp_account_available_tabs', 'uwp_account_available_tabs_cb'); function uwp_account_available_tabs_cb($tabs){ unset($tabs['gp-invoices']); unset($tabs['gp-subscriptions']); unset($tabs['gp-edit-address']); unset($tabs['notifications']); unset($tabs['privacy']); return $tabs; }Please remove/modify your previous code related to this if you have. You can remove the line from the code if you want to show any tab from the list.
Regards,
PatrikHi,
Can you please paste the code here or create a support ticket on http://userswp.io/support?
Regards,
PatrikHi,
Here is the doc link which will help you with this: https://docs.userswp.io/article/602-how-to-add-profile-tabs-to-user-account-page
Regards,
PatrikHi,
This can be due to the session path is not writable. Can you check with your hosting provider that the session is enabled and the session path is writable and let me know if it helps or not.
Regards,
PatrikHi,
Try following code and let me know if it works for you or not:
add_action('template_redirect', 'template_redirect_cb'); function template_redirect_cb(){ global $post; if ( ! is_page() ) { return false; } if ( uwp_is_page_builder() ) { return false; } $current_page_id = isset($post->ID) ? absint($post->ID) : ''; $uwp_page = uwp_get_page_id('profile_page', false); if ( $uwp_page && ((int) $uwp_page == $current_page_id ) ) { $user = uwp_get_user_by_author_slug(); if( ! $user || ! $user->roles ){ return false; } if(isset($user->roles) && $user->ID != get_current_user_id() && (in_array('administrator', (array) $user->roles) || in_array('subscriber', (array) $user->roles))){ wp_redirect( home_url() ); exit(); } } }Regards,
PatrikForum: Plugins
In reply to: [UsersWP - Social Login] Possible to add discord?Hi,
We have added this task to our priority list and will be available soon.
Regards,
PatrikHi,
If you want to add or remove a class for the CSS then you can use the parent class to apply the CSS as we don’t recommend modifying the core files of the plugin.
Regards,
Patrik