Forum Replies Created
-
AuthorPosts
-
akaigotchiMember
Oh, maybe to add to the solution: I duplicated the “ger.php” file and renamed it to “de.php” to make it match to the output of ICL_LANGUAGE_CODE, similar with “eng.php” to “en.php”.
akaigotchiMemberHi,
this works like a charm. Thank you very much! Still one issue: I need to override the settings of the “Add to Cart Button Text or Image” and “Shopping Cart Widget Title” I set in the backend settings. Is there a constant for that defined in your language files?
BTW, I think integration of WPML/qTranslate would be a great feature. I could imagine it would be nice to have a backend switch similar to the Mailchimp switch (“Use WPML” / “Use qTranslate”) and to have a simple IF-Statement to request the status of that switch. What do you think?
Best regards
Thorsten
akaigotchiMemberHi, thanks alot for your answer In your initial post of the thread you link to, you say that it is possible to collect customer input in the product display. I tested that and it works just nicely. Still one more question: Where do I modify the display code to make that input box hidden and to prevent the label of that box showing. I’d probably send my custom data to that input field via a script and make the value preselected… See where I am going to?
akaigotchiMemberTo use a Google Translator module is not such a good idea, if you want to have correct (readable) translations from German to English. The site I am working for is a mutlilingual magazine, that relies heavily on correct language. But thanks for the idea anyway Still was worth considering…
akaigotchiMemberThe content of getCurrentLanguage() (changed the name due to coding conventions) is:
function getCurrentLanguage(){
return ICL_LANGUAGE_CODE;
}
ICL_LANGUAGE_CODE is supposed to be a constant, that can be called from within the theme. I think the problem is, that wp_estore1.php cannot “see” the functions within my functions.php (residing in theme dir). Is there any way to make wp_estore1.php “see” values that are generated within the theme or within functions.php? This way I could easily read the value of the Constant…
akaigotchiMemberHi,
I am currently using WPML on my platform. The URL scheme in WPML currently outputs the language as a folder / path. As setting eStore to i18n did not show any result at all (everything remained in English no matter what language I chose) I made up my mind about a different “solution”:
– I added a function get_current_language() to my theme’s functions.php that returns the value of WPML’s ICL_LANGUAGE_CODE constant
– I modified wp_estore1.php (latest version) around line 40 to
/* if (!empty($cart_language))
$language_file = “languages/”.$cart_language;
else
$language_file = “languages/eng.php”; */
$language_file = ‘languages/’.get_current_language().’.php’;
Result: PHP threw me an error saying that there was no function get_current_language()
Can you pls help me here? BTW, I noticed that my i18n.php file is all English, no other language than that inside.. Is that intended?
Thanks for your help in advance!
Best Regards
Thorsten
akaigotchiMemberHi,
thank you for your help. The hint you gave me didn’t lead to a direct solution, but pointed me in the right direction:
When I used my username and password in the credentials settings eMember wasn’t able to communicate with Mailchimp. I got the same PHP error msg as stated before and also got the same debug msg. So I changed my signup credentials to an API-Key from Mailchimp and tada everything worked as expected.
Maybe there is something going on here that needs further inspection on your site. As of now I am using eMember 7.5.8 with WordPress 3.3.
Thank you alot for your fast help! I really appreciate the support you give (which is outstanding compared to other payed WP plugins) and I am happy to be your customer.
akaigotchiMemberHi,
thank you very much for the fast and helpful reply I upgraded eMember following your instructions.
Here’s my debug.log:
[01/25/2012 9:28 AM] – SUCCESS :Processing registration submission…
[01/25/2012 9:28 AM] – SUCCESS :Autoresponder signup if needed…
[01/25/2012 9:28 AM] – SUCCESS :Performing membership level specific autoresponder signup if specified.
[01/25/2012 9:28 AM] – SUCCESS :End of membership level specific autoresponder signup.
[01/25/2012 9:28 AM] – SUCCESS :Performing global autoresponder signup if specified.
[01/25/2012 9:28 AM] – SUCCESS :Subscribing to MailChimp without double opt-in… Name: T K Email: t.k@gmail.com
[01/25/2012 9:28 AM] – FAILURE :Unable to load listSubscribe()!
[01/25/2012 9:28 AM] – FAILURE : Error Code=-90
[01/25/2012 9:28 AM] – FAILURE : Error Msg=You must specify a id value for the listSubscribe method
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp email address to signup:t.k@gmail.com
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp list to signup to:estore customer
[01/25/2012 9:28 AM] – SUCCESS :Mailchimp signup operation performed. returned value:
[01/25/2012 9:28 AM] – SUCCESS :End of global autoresponder signup.
The test registration failed with the following PHP error:
Warning: Invalid argument supplied for foreach() in /httpdocs/wp-content/plugins/wp-eMember/eMember_auto_responder_handler.php on line 40
Here’s the signup page:
http://www.tk-report.de/registrieren/
Thank you very much in advance!
December 13, 2011 at 12:06 pm in reply to: Subscribing to membership trial period: Paypal success, checkout page is empty #39247akaigotchiMemberBump? Any help is greatly appreciated!
December 6, 2011 at 9:48 am in reply to: Subscribing to membership trial period: Paypal success, checkout page is empty #39246akaigotchiMemberThanks for the links.
I did run a test transaction in debug mode and here is what was in the debug log:
[12/06/2011 8:59 AM] – Advisory : Log file reset.
[12/06/2011 9:00 AM] – SUCCESS :Paypal Class Initiated by 66.211.170.66
[12/06/2011 9:00 AM] – SUCCESS :Post string : ********************* (Personal data here)
[12/06/2011 9:00 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[12/06/2011 9:00 AM] – SUCCESS :IPN successfully verified.
[12/06/2011 9:00 AM] – SUCCESS :Creating product Information to send.
[12/06/2011 9:00 AM] – SUCCESS :Subscription signup IPN received… nothing to do here(handled by the subscription IPN handler). Check the “subscription_handle_debug.log” file more details.
[12/06/2011 9:00 AM] – SUCCESS :Paypal class finished.
And this is the output of the subscription_handle_debug.log:
[12/06/2011 8:59 AM] – Advisory : Log file reset.
Post payment log:
[12/06/2011 8:59 AM] – Advisory : Log file reset.
What should be noted: The transaction does not show up neither in eStore customer list nor in eMember member list.
Can you pls tell me what is wrong here? Thank you
-
AuthorPosts