singulismisa
Forum Replies Created
-
Forum: Plugins
In reply to: [Force Login] Enabling one registration form pageI tried it, but nothing worked for me, somewhere I make a mistake, but I don’t know where … don’t you have an example directly with my URL?
Forum: Plugins
In reply to: [Force Login] Enabling one registration form pageThanks, I’m set. We just have a problem recovering your password. I open a recovery page, enter an email. I will receive a recovery link, but after confirmation, I am redirected to a forced login and will not allow me to open a new password. This is a variable address.
I will open the page: https://singulis.net/obnova-hesla/
Here’s the ok, but then I need to enable the following variable in force login: (example)
https://singulis.net/obnova-hesla/?action=rp&key=EbQURjbFERAdnsx7UgN6&login=v****************z
And here’s the problem, I can’t set it up. Can you help me, please?
I have entered:
/**
* Filter Force Login to allow exceptions for specific URLs.
*
* @param array $whitelist An array of URLs. Must be absolute.
* @return array
*/
function my_forcelogin_whitelist( $whitelist ) {
$whitelist[] = home_url( ‘/registrace/’ );
$whitelist[] = home_url( ‘/obnova-hesla/’ );
return $whitelist;
}
add_filter( ‘v_forcelogin_whitelist’, ‘my_forcelogin_whitelist’ );- This reply was modified 5 years, 11 months ago by singulismisa.
- This reply was modified 5 years, 11 months ago by singulismisa.
Forum: Plugins
In reply to: [Force Login] Registration link?So I came to it, thank you :).
Michaela
Forum: Plugins
In reply to: [Force Login] Registration link?Hello,
I write through a translator, I do not speak english and am a complete beginner. I address the same problem. I need to have the registration page accessible to everyone. I tried to insert the help from the forum, but it did not work.This is a site under construction: https://test.singulis.net/prihlaseni/?redirect_to=https%3A%2F%2Ftest.singulis.net%2Fregistrace%2F In the bottom right corner is the link to the registration I need to unlock.
Thank you
Michaela