Tung Du
Forum Replies Created
-
@n8dnx Thank for the reply! I created an issue in our Github repository (which is our main way for communication and development of RSA) for this support topic, please follow and continue the discussion here: https://github.com/10up/restricted-site-access/issues/117.
Hi @n8dnx,
Can you give me the name of the plugin with jQuery UI you are using? It’s easier for us to reproduce the issue.
Hi @skunz,
Are you able to login to the admin area using the default WordPress login form but not the WP Customer Area Auth Form? If the answer is yes, you can try filtering
restricted_site_access_is_restricted
to exclude the custom login page, see https://www.ads-software.com/support/topic/contact-form-7-not-working-57/#post-12485162 and https://www.ads-software.com/support/topic/exclude-registration/#post-12439038 for inspiration.Forum: Plugins
In reply to: [Simple Local Avatars] multisite issueHi @doctorproctor,
Thanks for the report! I can confirm your issue. I included your issue in our discussion about handling avatar on multisite installations here: https://github.com/10up/simple-local-avatars/issues/26#issuecomment-600636111. Please follow the Github issue for more updates.
Forum: Plugins
In reply to: [Restricted Site Access] Contact form 7 not workingHi @decoupe2psd, to whitelist the CF7 request, you can use
restricted_site_access_is_restricted
filter to control the restriction based on$wp
object, for example:add_filter( 'restricted_site_access_is_restricted', function( $is_restricted, $wp ) { if( strpos( $wp->request, 'wp-json/contact-form-7/v1/contact-forms' ) !== false ) { return false; } return $is_restricted; }, 10, 2 );
Hi, your question has been answered here: https://www.ads-software.com/support/topic/restrict-attachments/, please take refer to that topic to get the answer.
Forum: Plugins
In reply to: [Safe Redirect Manager] Redirecting an Entire Site Also Redirects /wp-adminHi @jroy1082, in my test, with wildcard redirect (
/*
), I can still access the admin normally, can you give me an example of redirect that prevents access to the admin area?Forum: Plugins
In reply to: [Restricted Site Access] Redirect after login@noellesteegs I can reproduce your issue now. I recommend using https://www.ads-software.com/plugins/peters-login-redirect/ to control the redirect URL after login.
Forum: Plugins
In reply to: [Restricted Site Access] Redirect after loginSo you mean that after logging in (with correct credentials), the user gets redirected to the login page again with username and password fields?
> How else can I help to troubleshoot?
A screen cast or some screenshots would definitely help.Forum: Plugins
In reply to: [Safe Redirect Manager] Redirecting an Entire Site Also Redirects /wp-adminYou can use regex to exclude
wp-admin
from your redirect. Can you give me some examples of your redirects and the reason why you want to redirect the entire site? It’s easier for me to make any suggestions.Forum: Plugins
In reply to: [Restricted Site Access] Redirect after loginHi @noellesteegs, after logging in, the user will be redirected to the last page he/she visits, or the Admin page if that user went directly to the login page. Can you please test by deactivating all plugins except RSA, then switch back to the default theme to see if RSA causes the issue?
Forum: Plugins
In reply to: [Simple Local Avatars] Hide avatar from post title@kevinm8128 The avatar displayed alongside the post title is controlled by your theme, not by Simple Local Avatars. You should check with the theme author about the issue.
One hotfix you can use to hide it temporarily is using custom CSS, for example:
.post-avatar { display: none; }
Forum: Plugins
In reply to: [Restricted Site Access] Unrestricted IP addressesHi @roman89, after input the IP (and the label, optionally), you need to click the Add button which is next to the input field, then click on Save Changes button at the end of the page to save settings to the database.
Forum: Plugins
In reply to: [Restricted Site Access] Exclude registration pageHi @xavatar94,
Your English is totally okay :).
To solve your problem, you can edit and add the following snippet to your theme’s
functions.php
file or a custom plugin.Assume that you enabled pretty permalink and the registration page URL is
example.com/register
.add_filter( 'restricted_site_access_is_restricted', function( $is_restricted, $wp ) { if( 'register' === $wp->request ) { return false; } return $is_restricted; }, 10, 2 );
Forum: Plugins
In reply to: [Restricted Site Access] Subdirectory installationHi @edumusa, I tested your issue and I don’t have any 404 error. I can still access the site and admin area (logged in). Have you tried updating permalink?