ARCangelGIRL
Forum Replies Created
-
Great, thank you very much!
Actually never mind. I just find out that I can get this information from WPML table wp_icl_translations to see current product language and do what I need after.
Thank you! It is working! ??
Hi,
Thank you for you answer, but it does not work.
I have copied email templates I want to rewrite into yourchildtheme/dc-product-vendor/emails/ but it still sending original templates.Forum: Plugins
In reply to: [Timologia for WooCommerce] Make ΔΟΥ field select instead of textThat works! Thank you very much!
Thank you, it works! ??
Hello,
I’m actually looking for the same functionality.
When user clicks to get notification when product is in stock I would like to send an email to admin too, so he knows that somebody is waiting product to be in stock.
Is there is any kind of hook that is fired at that moment, when user inputs his emails to get notification?
Thank you.Thank you, that solved the problem!
Forum: Plugins
In reply to: [Easy PayPal Payment] Button Link Error “encrypted_cross_dispatch=”@outlawgt, I saw your answer above (see it quoted below) but not sure, where should I change this URL? Is it in Paypal page or your plugin settings?
So far I changed this URL in plugin php files and looks like it’s working just fine, but would like to know if there is any other place I have to change it.All you need to do is change the redirection url to this https://www.paypal.com/cgi-bin/webscr instead of https://ipnpb.paypal.com/cgi-bin/webscr
Forum: Plugins
In reply to: [Email Users] Send group messages via SMTP using SendGridThank you for your answer!
Actually I tried exactly the same code as Mandrill and it worked just fine – I was able to send emails to user groups and multiple users.The only thing that I noticed is that, when I send emails to group, when I press “Send email” the page starts loading and keep loading probably as long as all emails will be send. After this I get “Page not found”. Should I keep worrying about this?
Forum: Plugins
In reply to: [WP Job Manager] Added new field to form. How to set up value attribute?Don’t mind, found a way how to fix it.
Well, this problem was nicely solved using cookies.
I set cookies for my pages (login and events) and then after login when user is redirected to home page I check which cookie is which and depend from the cookie redirect user where I want.
Thank you for everybody help ??
Thank you for your answer!
I think I could do this with cookies too.@krumch do you say that I shouldn’t edit includes/classes/login-redirects.inc.php at all but instead edit my header file? After login user will be redirected to home page and then I will check from which page he came and depending from page he came from I will redirect him again accordingly to events of thank you page?
I know that editing plugin files is not good idea, but I see no choice.
At the beginning I unselected login welcome page and left it blank in
s2Member -> General Options -> Login Welcome Page
Then I edited includes/classes/login-redirects.inc.php file.
In about line 106 this is the option, that if the page is not selected, it will redirect in home urlelse $redirect = home_url('/'); // Default to the home page.
I comment it and add some text below to test if it’s working and it worked
else { $uid = 2472; if ($uid === 2472){ $redirect = 'https://mydomain.com/events/'; } else { $redirect = 'https://mydomain.com/thank-you-for-joining/'; } }
What I want to achieve is to redirect to different location depending from the page user is on. The code below is not working, it skips is_page and goes straight to 2nd else. Any ideas how could I fix it?
else { global $page; if (is_page('login')){ $redirect = 'https://mydomain.com/events/'; } else { $redirect = 'https://mydomain.com/thank-you-for-joining/'; } }