• Resolved kodame

    (@kodame)


    Hello,

    A couple things if you don’t mind:

    a) I have enabled Settings > Login Settings > Lock access to wp-login.php but instead of being redirected to the plugin Login page, I’m getting redirected to the Home page

    b) Is there any to limit the default custom fields from appearing on a User’s profile page, I really only want them to see their email, name and password

    c) I am using an existing system for user registration, but I would like to use your system for logging in and protecting content, the problem is that the content protection message contains a link to the plugin registration page, is there a simple way to edit the following message

    https://paste.pics/20203c40a3fee2760f272cfa7ab685d3

    Thanks for a great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @kodame,

    1) When wp-login.php is locked the user is redirected to the homepage. I do agree however it might be a good idea to change this and redirect to the login. I’ll add this into the next update.

    2) To hide fields from the profile page, you can edit the field you wish to hide, click on the “privacy” tab and set the “Hidden” option for the “Profile visibility” setting.

    3) At the moment there isn’t a setting to modify the message but I can add a filter into the next update. I’ll notify you here once the update has been released so you can then use the filter to modify the message.

    Thread Starter kodame

    (@kodame)

    Hi Alessandro,

    Regarding #1, the settings page states the user will be redirected to the plugin login page, see below

    https://snag.gy/GrPdsI.jpg

    Regarding #2, I do not see any options to hide fields on the profile page, see below

    https://snag.gy/ga0iYj.jpg

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @kodame

    1) Yes that’s a mistake on my end. When the “wp-login lock” feature was first introduced it was built in a way that was causing some issues and it looks like that when I re-built it to avoid the issue it was causing I put the wrong redirect into the code.

    It’ll be sorted into the next update.

    2) That specific field can be disabled through the settings panel, therefore it doesn’t have “privacy” settings. Other fields will have it.

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @kodame

    I’ve just released an update and you can now customize the restriction messages by using the following filter like this:

    add_filter(
    	'wpum_content_restriction_message',
    	function () {
    		return 'Your own message goes here';
    	}
    );

    You can copy and paste the above code into your theme’s functions.php file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit Content Protection Message + More’ is closed to new replies.