Jump to content

greree

Members
  • Content count

    315
  • Joined

  • Last visited

Everything posted by greree

  1. Actually, the problem is with my web host, but I know they're not going to change for me. The URL to my site is http://www.mysite.com, but my secure server is https://server.securesite.com/mysite/. So when someone goes to my site at http://www.mysite.com, and then either logs in or creates an account, they're taken to another URL, the secure URL. After they login, they're still on the secure site. Then, if they click on anything that isn't secure, which is just about everything, including product descriptions, they're logged out. If they put something in their cart and try to buy it, they're taken to the login page. If they go to the default page, they see "Welcome, Guest" with an invitation to log in again. I know it's Sid Killer that's doing it, because I did a clean install, then added only Sid Killer. Anyone got any ideas? I'd like to use Sid Killer, but I also need a secure connection.
  2. I want to change the DEFAULT_ORDERS_STATUS_ID for some of the payment methods. For instance, the DEFAULT_ORDERS_STATUS_ID for pm2checkout is "2". I want to change that to "3". With v5.0 and before all I had to do is edit /catalog/includes/languages/english/downloads_controller.php. In v5.3 that file isn't there, and I can't see any other way to change it. Any ideas?
  3. United States format v1.0. This was developed using snapshot 20021211. This changes the My Account Information page to conform with United States Postal Service standards, such as Zip Code at the bottom. It also changes a few fields so as to make them less offensive to people who suffer from Political Correctness. No files to replace, just a long text file of changes. It's divided into three parts. All three are independent of each other. Thanks to Noerd and Mattice for help on understanding parts of the code.
  4. I downloaded and installed Best Sellers scroll, which has a major flaw. If I have ten best sellers, it'll divide the box into ten little windows and each bestseller will scroll in it's own section. You can see an example of the problem at http://www.puresoap.com/. The code that does this is $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_BESTSELLERS ); new infoBoxHeading($info_box_contents, false, false); $rows = 0; $info_box_contents = array(); while ($best_sellers = tep_db_fetch_array($best_sellers_query)) { $rows++; $info_box_contents[] = array('align' => 'left', 'text' => '<center><marquee direction="up" scrollAmount="1" style="width:118;height:65">' . '. <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id'], 'NONSSL') . '">' . $best_sellers['products_name'] . '</a></marquee>'); } new infoBox($info_box_contents); I want something that will generate a list and then scroll the whole thing. Any ideas?
  5. I installed Downloads Controller. I went to Admin.....Localization.....Orders Status. I changed "Delivered" to "Available For Download". I added a fourth order status, "Shipped", and a fifth, "Updated". I went to the database and looked at Order Status. They were appropriately numbered, 1 to 5. Then I went to Admin.....Configuration.....Download. I changed Downloads Controller Update Status Value from 4 to 5, and Downloads Controller Order Status Value from 2 to 3. What I need to do now is assign a default value for each payment method. If someone pays by check or money order, their order status is set to 1, or Pending. When I receive the check, I set it to 2, or Processing. When the check clears, I set it to 3, or Available For Download. If it's a mailed package, I set it to 4, or Shipped. If someone pays by any of the gateways, the default value should be 3, and their product should immediately be available for download. This was easy to do in earlier versions of Downloads Controller. All I need to do was make a few changes in two files. I can't figure out how to do it with the later versions. Any ideas?
  6. greree

    Downloads question!

    I never thought of that. Thanks for the heads up. You might want to send a PM to Linda and ask her about it. Please let me know what you come up with.
  7. greree

    Downloads question!

    Could you explain this in a little more detail? I'm working on a site thet sells downloads and I've never heard of this problem. You also might want to talk to Linda McGrath a.k.a Ajeh. She's the resident expert on downloads.
  8. greree

    download tracking?

    Something like that would be useful for my cart, too. I'll write it tomorrow (Sunday) and post it to this thread.
  9. greree

    download tracking?

    Total downloads per customer or the number of downloads per product? I haven't seen a contribution that does this but it wouldn't be hard to write one.
  10. greree

    Poll Booth - Comments?

    According to the author of Poll Booth, he started on the "add comments" functionality, but never finished it. So comments doesn't work.
  11. greree

    Download Controller problem

    Oh, one more thing. The download doesn't kick in. You have to click on the link at the bottom of the page (checkout_success.php, I think) to start the download. Click on the product name.
  12. greree

    Download Controller problem

    Make sure the Order Status is set properly.
  13. greree

    Account signup management Error

    Account Signup Management was written 8 months ago using a snapshot from over a year ago. The code has changed so much that it won't work anymore. And I don't think it worked even when it was current. Some people have managed to tweak it enough to get rid of the errors, but it doesn't store information correctly. For instance, if you make it so Gender is optional rather than required, and the customer doesn't chose a gender, it'll fill in "Female" on everything. Go to Contributions and download "United States Format". It doesn't do exactly what you want but it'll steer you in the right direction.
  14. greree

    DownLoads Controller v5.3 Problem

    Downloads Controller does several things. One, osCommerce will allow you to download the file without paying for it. DC stops this from happening. DC will also allow you to reset the number of downloads. If a customer uses up all his downloads but wasn't successful in downloading the file, you can set it back to 5 downloads without reentering the sale. You can also have free downloads. osCommerce makes you charge $0.00 for the download and takes you through the payment process. It also does a couple of other things that I don't use.
  15. It's kinda slow this time of night. On the East Coast of U.S. it's 3:45 am. Be patient waiting for an answer.
  16. Oh, yeah. You told me that on Thursday. I guess lack of sleep is starting to affect me.
  17. I'm trying to change Upcoming Products from a line of text at the bottom of the default page to a box in either column right or left with a picture of the product. I took upcoming_products.php from /catalog/includes/modules, changed it around some, and put it in /boxes. The box itself looks and works ok in MSIE. It's pretty screwed up in Netscape and Mozilla. In MSIE the box works fine and everything before it works fine. Everthing after it is screwed up. If I put it as the last box in column left, everything in column left is ok, but the middle appears below column left and stretches all the way across the page. Column right appears below that and is on the left side of the page. You can look at it at http://www.blazondesign.com. No matter where I put it, everything below it screws up. This is the code for upcoming_products.php: <?php /* $Id: specials.php,v 1.30 2003/02/10 22:31:07 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $expected_query = tep_db_query("select p.products_id, p.products_image, pd.products_name, products_date_available as date_expected from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where to_days(products_date_available) >= to_days(now()) and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by " . EXPECTED_PRODUCTS_FIELD . " " . EXPECTED_PRODUCTS_SORT . " limit " . MAX_DISPLAY_UPCOMING_PRODUCTS); if (tep_db_num_rows($expected_query) > 0) { ?> <!-- upcoming_products //--> <tr> <td> <?php $row = 0; while ($expected = tep_db_fetch_array($expected_query)) { $row++; if (($row / 2) == floor($row / 2)) { echo '<tr class="upcomingProducts-even">' . "n"; } else { echo '<tr class="upcomingProducts-odd">' . "n"; } $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_UPCOMING_PRODUCTS); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_UPCOMING_PRODUCTS)); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $expected['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $expected['products_image'], $expected['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $expected['products_id']) . '">' . $expected['products_name'] . '<br>' . tep_date_short($expected['date_expected']) . '</a>'); } new infoBox($info_box_contents); ?> </td> </tr> <!-- upcoming_products_eof //--> <?php } ?> Anyone see anything obvious? Thanks
  18. greree

    Upcoming Products modification

    OK, I figured it out. I deleted this from the code I posted above: echo '<tr class="upcomingProducts-even">' . "n"; } else { Now it works in both MSIE and Netscape. I don't know why that did it. Now I have to figure out how to keep a Coming Soon!!! product from showing up in New Products For [month] section.
  19. greree

    Upcoming Products modification

    The code I used normally writes two lines of text at the bottom of the page. One line is the headers, something like "Product Name" and "Date Expected". The next line is the product name and the date expected. I got that to fit in the box with no problem. I then eliminated the headers and put a picture in, with help from Raj20 in this thread: http://forums.oscommerce.com/viewtopic.php?t=35082 That's when the problems started. I've tried to change some things around, but I can't make it look like I want AND keep it from screwing up the rest of the page. I just don't know enough about php. I'll do some more experimenting, I guess. Thanks for the help.
  20. greree

    Upcoming Products modification

    I changed this: new infoBox($info_box_contents); ?> </td> </tr> <!-- upcoming_products_eof //--> <?php } ?> to this: new infoBox($info_box_contents); } ?> </td> </tr> <!-- upcoming_products_eof //--> It didn't make any difference. I'm not really sure what I'm doing. I don't know PHP at all. I just looked at some other boxes and changed the original upcoming_products.php to make it look like the other boxes. Apparently I did something wrong.
  21. greree

    Problem with Sid Killer v1.2

    What is the output_html spider detector?
  22. Thanks for the update, Ajeh. I miss the Download button, though. Unless there's some major reason not to have it I'm going to put it back.
  23. I installed a contribution called "Download Page For Pending Downloads" that puts a box on the default page indicating pending downloads. Clicking a button in the box takes you to the downloads page. That way customers don't have to navigate through My Account, etc. The only problem is when the downloads are finished the box stays on the page. The reason it stays is because it looks for a value in a field called "order_status" in the "orders" table in the database. When someone buys a downloadable product and pays with a check, the order status is set to 1, and the download isn't enabled, and the box doesn't appear on the default page. When I get the check, I set the order status to 2 to indicate processing. That tells the customer that I received the check and I'm waiting for it to clear the bank. When it clears I set the order status to 3, which tells the customer the download is available, downloads are enabled, and the box appears on the default page. When the customer clicks on the button in the box on the default page and downloads his product, the box stays. That's because the order_status field doesn't reset to 0. I can reset it manually, but that would be a pain. Anyone have any ideas on how to reset this value to 0 after the customer downloads the product or the time expires? Thanks for the help.
  24. I'll see what I can do. If it's possible, I'll figure it out. Think of it as payment for your downloads contribution. Give me a day or two.
×