Jump to content

olby

♥Ambassador
  • Content count

    341
  • Joined

  • Last visited

Everything posted by olby

  1. Hi fjfa.

    There's a number of Java scripts that can help you do that.

    The hard part is to get the Java selection added to the cart, but as you say - there's no contrib made for that (yet).

    If you look at the source here:

    http://www.plexiglas-shop.com/DE/en/cutter.htm?$product=foxtncj6077%7Ep&comeFrom=detail

    then you'll find a working Java...

  2. alive and cicking

  3. Hi all. I've uploaded a re-work of Guest-accounts by Ian Davidson on this link: http://www.oscommerce.com/community/contributions,1511 This mod allows your customers to checkout, without creating an account (no password/newsletter). When allowed in admin, there will be a new box on the login-page for guests. Guests will not be asked for or see these options: Password, Newsletter Products Notifications The Create Account Success page The Account created mail My Account and Logoff (in header navigation) Please post any bugs or guestions in this topic.
  4. Just added a rewritten version of purchase orders, that works with the new checkout procedure. Enjoy.
  5. Hi EricK. I never use it, but it looks like changing this line in includes/modules/payment/cc.php: 'field' => tep_draw_input_field('cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), to 'field' => tep_draw_input_field('cc_owner', $order->billing['firstname'] . ' ' . addslashes($order->billing['lastname']))), would fix it for you.
  6. bbw: GA is supposed to work on a clean MS2 due to it's sensitivity to sessions I cannot recommend use newer CVS-copies or template-systems. I havn't tested it on any of those options. EricK: It's a rare problem here in DK, but for those of you who needs it. Find these lines in create_account.php: // Guest Account Start if ($guest_account) $sql_data_array['guest_flag'] = '1'; tep_db_query("update " . TABLE_CUSTOMERS . " set customers_email_address = '@_" . $email_address . "' where customers_email_address = '" . $email_address . "' and guest_flag = '1'"); tep_db_query("update " . TABLE_CUSTOMERS . " set customers_lastname = '@_" . $lastname . "' where customers_email_address = '@_" . $email_address . "'"); // Guest Account End and change them to: // Guest Account Start if ($guest_account) $sql_data_array['guest_flag'] = '1'; tep_db_query("update " . TABLE_CUSTOMERS . " set customers_email_address = '@_" . $email_address . "' where customers_email_address = '" . $email_address . "' and guest_flag = '1'"); tep_db_query("update " . TABLE_CUSTOMERS . " set customers_lastname = '@_" . addslashes($lastname) . "' where customers_email_address = '@_" . $email_address . "'"); // Guest Account End
  7. Hi dragon5. The @ shows up the second time you buy on the same email (as guest). Double entry - as long as they work, then just leave them as is. One day you'll know how to remove the extra, and then thats a smal victory in it self. (Hint: Can be done by using phpMyAdmin on table configuration)
  8. Hi dragon5. This happens because the configuration_group_id with number 40 is allready taken. The easiest way would be to change this line: VALUES ( 40, 'Guests', 'Guests settings', 40, 1 ) to VALUES ( 72, 'Guests', 'Guests settings', 72, 1 ) or another id not taken. After that you have to rerun this line with the changes added: INSERT INTO configuration VALUES ('', 'Guests accounts', 'GUEST_ON', 'true', 'Allow Customers to purchase without an account', 72, 1, '2003-09-09 13:07:44', '2003-09-09 12:10:51', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); Finally - if you know how - delete the original line. It's not critical, but it might turn up twice in your admin.
  9. Hi Joel. Temper - temper :angry: First and foremost: As written on ALL contributions: Use contributions at your own risk. Second: As a co-developer of a mod - I and any other developers CANNOT be responsible for anything that can or will happen on 18.000 or more sites. It's not even fair to have that attitude. Third: I - for one - are not getting all mails from all thread I'm involved in from this forum any longer. Used to work flawlessly - but it doesn't anymore. That being said, your problem can be related to many different aspects, but 2 major comes in to mind: 1. Your servers php setup is showing a blank screen in stead of showing the actual error - Parse or syntax error. They are stored in the logfiles in stead, or on windowsservers in errors.txt. Blaim your host, yourself or the world - not me. 2. mySQL is missing a field - maybe guestflag - and will not show anything, but thats not likely here, since theres many other things than data on the forms. Blame yourself. As you can see - NONE of these are related to this mod - only to the way you installed it. Support is supposed to help people use mods, not guess what they have done, that they shouldn't have and so on. Not beeing answered sometimes tells you, that the answer MUST be in another area. You cannot blame the milkman for the prices on gasoline :)
  10. To indafastln. Looks like you should read the instructions once more, because there's other files to change :)
  11. Hi Terry. Looks like you've missed some of the installation in: create_account.php (checks if mail is present) The customer with id 57 is allready present. I suggest you go through your installation - once more.
  12. Hi there. PWA adds new files and functions to osC, so it's more like a new osC when done. Guest account adds code-snippets to existing files, leaving the osC more or less intact. The functionality is more or less the same for both.
  13. By removing the option in Admin - Configuration - Customer details. Change this funtion in general.php: function tep_customer_greeting() { global $customer_id, $customer_first_name; if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id')) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name), tep_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, tep_href_link(FILENAME_LOGIN, '', 'SSL'), tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; } to this: function tep_customer_greeting() { global $customer_id, $customer_first_name, $guest_account; if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id') && ($guest_account == false)) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name), tep_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, tep_href_link(FILENAME_LOGIN, '', 'SSL'), tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; } The above isn't tested - so be sure to backup. By rebuilding the HTML-code in login.php
  14. Hi ozcsys. I looks like you missed the text defenitions in your: languages/english/login.php
  15. Hi again. Identify and delete customers with guest_flag = 1 once in a while. Manually? yes - slow? yes - works? yes :)
  16. HarrietM: Try reading the readme.txt Jayman2: The shipping info has to be stored somewhere, and since were not building new tables for the guests - we use the existing ones. Reoccuring guests will show at the top of your customer customer list due to the @_ and are therefore easy to delete. A good rutine is to delete order and customer, when you have shipped the order. Hope this helps Best Regards olby
  17. Hi jayman2. Do you actually get this message, or do you just think it will show up? A guest will have an account created first time, with the only difference that the guest_flag is set to 1. Next time around, the first account will have @_ added to the email address and last name. So theres no conflict in that. If the @_ isn't added the second time, you'll have to check your installation in the create_account.php in these lines: // Guest Account Start if ($guest_account) $sql_data_array['guest_flag'] = '1'; tep_db_query("update " . TABLE_CUSTOMERS . " set customers_email_address = '@_" . $email_address . "' where customers_email_address = '" . $email_address . "' and guest_flag = '1'"); tep_db_query("update " . TABLE_CUSTOMERS . " set customers_lastname = '@_" . $lastname . "' where customers_email_address = '@_" . $email_address . "'"); Best Regards olby // Guest Account End
  18. Hi Slicks. Hold on a sec Theres many functions included in the osCommerce and one - only one - of these is now called array_merge instead of tep_array_merge. Theres still many functions left, that starts with tep_ So removing all tep_ will leave you with something that cannot work.
  19. Hi Slicks. and greetings to Norway ? The name of that function has changed from: tep_array_merge() to array_merge() So older contributions might use the outdated name, and you have to rename the calls where ever they are.
  20. Hi Slicks. Remove the tep_ from all calls to that function, and it should work.
  21. olby

    Feature Product V1.3 Not Working!

    Hi ant. In MS2 they have moved to: database_tables.php & filenames.php
  22. Version 2.1a uploaded. Besides some bug-fixes in the documentation, the Guest option is now only shown, when checking out from the cart. All other instancies of "members only" just shows the normal login-page.
  23. Just found that a small but important instrution was missing :oops: You have to add a new field to table customers: name: guest_flag type: CHAR Length: 1 Default 0 Sorry about that, will upload a new one to day.
  24. Hi interbikes. Running MS2 I assume, then what errors does your server notice? If you could get a look at your server-logs it sure would help. It must be missing a file or 2
  25. olby

    ms1

    Hi fixitman. I suggest you look at this page then: http://chainreactionweb.com/info/hosting/o...rce-hosting.php It's the MS1 version put together by the man who made the credit class, Ian C. Wilson. The download link is at the buttom of the page.
×