Jump to content

Terminum

Members
  • Content count

    77
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Brien
  1. Terminum

    How long until v3 is ready?

    Yeah, a freakin' awesome coat. Foreign keys alone make v3 totally worth it. Not to mention how easy it will be to customize with css compared to 2x. However, there are other things to consider beside "when the beta is officially over" if you're switching from v2 to v3. Add-ons, in particular. It will probably be a while before all the contributions you need are updated for v3. In my opinion, the comprehensive module & contribution availability is what makes osC superior to other carts.
  2. Terminum

    Supplier Admin Area Contribution

    I've tried installing this twice now and haven't been able to get it working. If anyone has successfully installed this contribution, can you please post your supplier_area_top.php? I'm still unable to login as a supplier. I'm having the same problem others have mentioned - the login page just refreshes when I hit the submit button.
  3. Terminum

    Supplier Admin Area Contribution

    To make the suppliers_group_id work, find the following code in admin/suppliersadmin.php case 'save': if (isset($HTTP_GET_VARS['hID'])) $suppliers_id = tep_db_prepare_input($HTTP_GET_VARS['hID']); $suppliers_group_name = tep_db_prepare_input($HTTP_POST_VARS['suppliers_group_name']); $suppliers_percentage = tep_db_prepare_input($HTTP_POST_VARS['suppliers_percentage']); $suppliers_name_login = tep_db_prepare_input($HTTP_POST_VARS['suppliers_name_login']); $suppliers_password = tep_db_prepare_input($HTTP_POST_VARS['suppliers_password']); Right below it, add: $suppliers_group_id = tep_db_prepare_input($HTTP_POST_VARS['suppliers_group_id']); Although I'm still not sure what suppliers_group_id does :P
  4. Terminum

    Supplier Admin Area Contribution

    Sorry for double-posting, but it wouldn't let me edit the last post for some reason. There are few things missing in the installation instructions: There are files you have to add from the contrib file to your admin folder. One of these is functions/html_output. Do not replace the file if you are using version 2.2rc2a. Instead, copy the single function it contains and put it at the end of the existing html_output right before the closing php tag. There is one more problem I'm having. When I create a supplier in the admin section, it saves it but does not save an ID number. Also, I cannot log in as the supplier. The installation sql ran successfully and everything else looks fine so I'm not sure what the deal is.
  5. Terminum

    Supplier Admin Area Contribution

    Hi, thanks for making this great contribution, but I haven't been able to get it working yet. I have followed the installation instructions, but I get the following error when I login to the admin tool: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/content/j/u/k/jukebots/html/intuna/admin/includes/functions/compatibility.php:18) in /home/content/j/u/k/jukebots/html/intuna/admin/includes/functions/compatibility.php on line 30 I do not have and other contributions installed and I'm using osC version 2.2rc2a. Thanks
  6. Terminum

    Preventing XSS Attacks

    Ha, thanks that's great. I'm working my way through your other post right now! Thanks for the help.
  7. I'm looking for an add-on that will prevent XSS attacks without diminishing functionality of the Administration Tool. I've read their are problems with Anti XSS, so I was considering [TiM's] Safer Database Input Method. But this says that it filters all html, and I would like to enter HTML in product descriptions through the administration tool. [TiM's] Safer Database Input Method changes the following code from /catalog/includes/functions/database.php: function tep_db_input($string, $link = 'db_link') { global $$link; if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); }: Replaced with: function tep_db_input($string, $link = 'db_link', $skip_stripping = false) { global $$link; // Strip HTML and PHP tags from string if (!$skip_stripping) $string = strip_tags($string); if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } The README says: If you for any reason want to store HTML in the database, make sure you manipulate the tep_db_input() command with the third optional parameter like the following. This... $example_query = tep_db_query("update myTable set column='". tep_db_input($var) ."' where this='that' limit 1;"); Becomes... $example_query = tep_db_query("update myTable set column='". tep_db_input($var, 'db_link', true) ."' where this='that' limit 1;"); I'm not very familiar with sql and I don't know what this means. I just want to be able to use HTML in product descriptions in the admin tool. Any ideas for what I should do?
  8. Terminum

    [contribution] Super Download Store

    Thanks for making this great add-on. Do you have plans to make it compatible with osC 3.0 in the near future? I'm trying to decide if I should use 3.0 or 2.2 for my store and this will be a major deciding factor for me.
  9. Terminum

    SSL Questions

    Under step 4 of installation it says "Enable SSL Connections - if you have ssl enable this" Does Authorize.net require SSL? If I do not have SSL at this time, can I change this configuration later? Thanks
  10. Terminum

    Free Shopping Cart?

    I've never developed for authorize.net, but a number of third parties offer completely free basic shopping carts for Paypal. Essentially it is a chunk of code you host on your own website, including the add to cart buttons and whatnot. Since it's hosted on your own site, you are never charged anything besides paypal fees. It's a very basic cart though, and doesn't have inventory management or fancy tools like that. If you have a pro merchant account, Paypal will also auto-generate add to cart buttons for you which basically do the same thing. It looks like ocs doesn't charge anything in addition to authorize.net fees so that's what I'm looking for. It doesn't say explicitly so I wasn't sure. Thanks.
  11. Terminum

    Free Shopping Cart?

    Is there a free basic shopping cart compatible with Authorize.net? I looked through the list on the Authorize.net site but couldn't find any that were completely free. Thanks
×