portbox
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] How to use tml_request_(action)?I simply cannot get it to work. Does this appear correct?
function tml_custom_lostpassword($url) { if ( strpos($url, 'wp-login.php') !== false || strpos($url, '/login/') !== false ) { $url = str_replace('wp-login.php', 'lce-login/', $url); $url = str_replace('/login/', '/lce-login/', $url); } return $url; } add_filter( 'site_url', 'tml_custom_lostpassword' );
This still persists in my page:
<input type="hidden" name="redirect_to" value="https://www.healthfitcorpwell.com/login/?checkemail=confirm">
Even if I manually change the value to lce-login via the DOM Inspector to redirect to lce-login, my login page loads but does not display any errors. How do I remedy this situation?- This reply was modified 7 years, 5 months ago by portbox.
Forum: Plugins
In reply to: [Theme My Login] Custom template for tml_display_activateTry:
remove_action('tml_display_activate','tml_display_activate', 11)
In your example you are using the wrong quotes.
Forum: Plugins
In reply to: [Theme My Login] Custom Sitemap Using Yoast SEO SitemapWhat does this have to do with support for Theme My Login? This is a problem with LiteSpeed or Yoast.
Forum: Plugins
In reply to: [Theme My Login] DocumentationForum: Plugins
In reply to: [Theme My Login] the plugin problem with my site themeThat’s probably outside the scope of support here. If your theme is incompatible with the plugin, the only thing for you to do is modify your theme or choose a different one.
Forum: Plugins
In reply to: [Theme My Login] Customize %reseturl% in the custom email bodyI have a very similar problem. How can I change the page it redirects to when someone has a lost password? It automatically sends them to “wp-login.php?checkemail=confirm”. How can I change where they are sent?
Forum: Plugins
In reply to: [Theme My Login] I need to change tml-action-linksIsn’t that the wrong filter? It talks about action links but then you use tml_action_url instead of tml_action_links. The documentation lists filters for both but there are no explanations on how to use tml_action_links, which I am currently struggling with.
Forum: Plugins
In reply to: [Theme My Login] Redirect for “Restrict Admin Access “Mine redirects to one of my other login screens that I don’t want these particular users to see. I actually want them to be redirected to /your-profile/ but mine is getting redirected to /login/. There’s nothing I can do about that?
I had to delete the plugin, install the previous version, and then update from the admin console.
Forum: Plugins
In reply to: [Theme My Login] WP-OAuth RedirectI realized that after logging into the custom-tml-login page, it takes me to
https://www.example.com/oauth/authorize/?response_type=code
instead of the fullredirect_to
parameter. Why is it cutting off the rest of the value? Once it hits&client_id
I guess it thinks that theredirect_to
value ends there, but that is not the case. How do I get it to pickup the rest of the URL?Forum: Plugins
In reply to: [Theme My Login] TML Redirect to Referrer after Login@waxenfelter Did you ever figure out this issue? I have having redirect issues as well
Forum: Plugins
In reply to: [Theme My Login] WP-OAuth RedirectWhat do you mean by escaping redirect? Can you give an example? When my users are sent to my normal login page at:
https://www.example.com/login/?redirect_to=https://www.example.com/oauth/authorize/?response_type=code&client_id=myspecialclientID&redirect_uri=https://www.example-auth-site.com/back-to-where-you-came-from/
it works fine, but if you go tohttps://www.example.com/custom-tml-login/?redirect_to=https://www.example.com/oauth/authorize/?response_type=code&client_id=myspecialclientID&redirect_uri=https://www.example-auth-site.com/back-to-where-you-came-from/
then it blank pages me after login. How do I get TML to recognize theredirect_to
value and redirect my user to that location after login?Forum: Plugins
In reply to: [Theme My Login] WP-OAuth RedirectAlso, on your page https://docs.thememylogin.com/custom-redirection/ you mention an options page with modules and I can’t find that anywhere. I don’t see where the options page is or how to enable modules. You then have a link on the page mentioned above called Managing Modules (https://www.jfarthing.com/docs/theme-my-login/general#managing-modules) which leads to a 404. I just want to be able to redirect my users back to the value specified by
redirect_uri
in the URL, or, back to the referer.Forum: Plugins
In reply to: [Theme My Login] WP-OAuth RedirectEscaping it within the URL posted above? How do you mean by that?