Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Du kannse es beispielsweise auch so lösen: if (ACCOUNT_GENDER == 'true') { if ($gender == 'm') { $email_text = sprintf(EMAIL_GREET_MR, $lastname); } else { $email_text = sprintf(EMAIL_GREET_MS, $lastname); } } else { $email_text = sprintf(EMAIL_GREET_NONE, $firstname); } Beachte zu dem die Anpassung in der Sprachdatei define('EMAIL_GREET_NONE', 'Guten Tag ' . stripslashes($HTTP_POST_VARS['firstname''lastname]) . ',' . "\n\n"); Erfolg: Gibt weisse Seite aus, sonst nichts. ist ja klar, hier fehlt etwas. Du musst dir erstmal ansehen wie die Variablen für Vor- und Nachname definiert werden und wie diese in der Datenbank abgrspeichert werden. Erst dann kannst du die richtige Formatierung für die E-Mail vornehmen
  3. FYI - It seems that every time I edit/add a Featured Product in Phoenix 1.0.5.0, it requires another Admin login and form re-submission. Is this normal? I haven't noticed it with any other Admin tool.
  4. burt

    Emails not sending

    The to address or the from address must be your domain name on a number of hosts, else they silently put emails into /dev/null In english: If your domain name is (say) mygreatshop.com but you use hotmail for your osc admin area (eg) mygreatshop@hotmail.com email from mygreatshop@hotmail.com TO info@mygreatshop.com SHOULD work one end of the email chain is your domain name email from mygreatshop@hotmail.com TO customer@customer-email.com WILL NOT WORK neither end of the email chain is your domain name To combat this, ensure to use your actual domain name in your emails.
  5. ecartz

    Emails not sending

    Call it email_test.php and put it in either the root of your store (where files like create_account.php or product_info.php and directories like includes/ and ext/ are) or in your admin directory. If you put it in the root of your store, delete it after using. Because it allows sending emails to arbitrary addresses.
  6. zefeena

    Emails not sending

    Where do I put this script? is it a file I create, in which case, what do I call it and where do I put it? thank you
  7. zefeena

    Emails not sending

    I honestly don't think its ever worked since I changed hosts. They were restricting my emails, but I told them I need at least 100 per hour (or I'm going!), and they assured me they had updated it, but I have placed a couple of orders to myself and not had any emails.
  8. hungryfrank

    NEW! Complete Order Editing Tool!

    use. the order editor that is the heart of it. create account page part is just a form.
  9. radhavallabh

    NEW! Complete Order Editing Tool!

    Yes it has stopped working for 1.0.5.1 😟
  10. yahalimu

    NEW! Complete Order Editing Tool!

    I echo the above, 1.0.5.1 broke the version of this code I eventually got working for Phoenix.
  11. CGIFTER

    IMAGE DOES NOT EXIST

    OK, I will double check this also. This has brought so much frustration within the last 24 hours. Thanks JcMagpie
  12. JcMagpie

    IMAGE DOES NOT EXIST

    This can also happen if the image has a bad file name, ie invalid characters or long names. Here is an example
  13. CGIFTER

    IMAGE DOES NOT EXIST

    Thank you very much my friend, I will do so and report my findings. Thank you.
  14. JcMagpie

    IMAGE DOES NOT EXIST

    This you get in the admin side yes? if so then the image has failed to load to the required dir. 1) check you have the images/ dir and that permissions are set corectly 2) Check your paths in your confg file to be sure they are set correctly. 3) to check just fpt over one of the images and see if it shows..... If it's not a path issue in your config or a permisions issue ............. check with your host as to see if image upload is restricted? check error logs to see if they point to anything.
  15. CGIFTER

    IMAGE DOES NOT EXIST

    Please someone help me with this problem. I installed the Phoenix 1.0.5.0 successfully But when I try to add a product I will receive an ERROR message that says IMAGE DOES NOT EXIST with a broken image in the store front. I am not sure what I am doing wrong. I have searched the forums for solution. Please your help will be appreciated. Thank you in advance.
  16. Need to know more? https://library.oscommerce.com/Online&en&oscom_2_4&developers&hooks
  17. Yes simply copy over the files. As mentioned above check as you may simply need to turn on the existing module. Hahhh.... Good question. "A rose by any other name would smell as sweet" So what is a "hook" strictly speeking php has no such thing and osC is writen in php. So for our purpose a "hook" is just a something that can plug some aditional code into an existing part of the code to change or extend it's function. So in simple terms you can consider it as and extention or module or plugin. To use in php you have to build your own extention/class and to make use of it and the programmer has to place code into the existing system to recive these new bit's of code. Hook's are not new to osC they have been used for some time...
  18. ecartz

    quickbooks integration with phoenix

    In admin/includes/boxes and admin/includes/languages/english/modules/boxes, you can find a number of examples. E.g. tools_newsletters.php You probably want to make files called something like tools_quickbooks.php in each of those directories with similar entries to those of the existing files. If that's insufficient, please explain more about what you would have done in the old system so that we can show you how to do it in the new system. Or join the Phoenix Club. I believe there are some existing posts there that might be helpful.
  19. Hello, I support our OSC environment and we are wanting to move to phoenix from 2.3.4. I have the new install set up on a new linux server and I am just adding modules at this point but ran into a snag on the EZ quickbooks installation. Admin/includes/column_left.php is different in phoenix and i was wondering if there were new instructions or a new version i am missing for phoenix. I am sure i am missing something obvious but been searching for some time. Thanks in advance for any help that is provided! Jason
  20. Okay so I need to install this. I think I just download the files then upload them to my server, correct? What is a hook?
  21. Yesterday
  22. BrockleyJohn

    AIM and SIM have reached End of Life

    You might be right about it being supported - if the existing AIM module has a 'rebill' option then maybe that's what's being withdrawn. There's a set of APIs covering Payment Transactions, Customer Profiles, Rebilling and eChecks. Whether these are different APIs or different aspects of the same one remains to be seen. First impression is there's a lot of groundwork to do.
  23. ecartz

    Emails not sending

    Newer version of Harald's test script, updated for PHP 7: <?php if ('send' === ($_POST['action'] ?? null)) { define('SEND_EMAILS', 'true'); } require 'includes/application_top.php'; if ('send' === ($_POST['action'] ?? null)) { mail($_POST['to_address'], '[PHP] ' . $_POST['subject'], 'This email has been sent from the native php mail() function.' . "\n\n" . $_POST['body']); tep_mail($_POST['to'], $_POST['to_address'], '[osCommerce] ' . $_POST['subject'], 'This email has been sent from the email class osCommerce uses.' . "\n\n" . $_POST['body'], $_POST['from'], $_POST['from_address']); echo 'E-Mails Sent!<br /><br />'; } ?> <html> <body> <form name="emailtest" action="email_test.php" method="post"> E-Mail From: <?php echo tep_draw_input_field('from'); ?><br /> E-Mail From Address: <?php echo tep_draw_input_field('from_address'); ?><br /><br /> E-Mail To: <?php echo tep_draw_input_field('to'); ?><br /> E-Mail To Address: <?php echo tep_draw_input_field('to_address'); ?><br /><br /> Subject: <?php echo tep_draw_input_field('subject'); ?><br /><br /> Body:<br /> <?php echo tep_draw_textarea_field('body', 'virtual', 50, 7); ?> <br /><br /> <input type="hidden" name="action" value="send"><input type="submit"><br /><br /><input type="reset"> </form> </body> </html>
  24. Peper

    Add More Fields

    @Jack_mcs Thanks Jack, that was close enough for me <?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . tep_draw_textarea_field($field['field_name'] . '[' . (int)$field['language_id'] . ']', 'soft', 30, 5, $field['field_value']) . '&nbsp; ' . $languages[$field['language_id']-1]['name']; ?>
  25. ecartz

    AIM and SIM have reached End of Life

    I read that as "Go to our website and use the tool there." Not use an API at all. So you shouldn't have to call your customers, but you will have to manually hit the rebill button somewhere that Authorize.net has it.
  26. phi148

    AIM and SIM have reached End of Life

    I need to find out for sure. You may be right. Assuming you are correct, then it looks like I need to implement Authorize.net "CIM". Which doesn't exist either right now
  27. don't feel bad I didn't mean to hurt our feeling. I am about 70 years old and can't stop myself I apologize😉
  1. Load more activity
×