Jump to content

trophy

Members
  • Content count

    212
  • Joined

  • Last visited

Profile Information

  • Real Name
    G Andrews

Recent Profile Visitors

12,479 profile views
  1. trophy

    Stop Google adding bogus names

    I think it is version 2.3.1. Have not installed Capcha or honey pot, I do have action recorder that is where I see the IP address.
  2. trophy

    Stop Google adding bogus names

    Wow this guy/s is not going away. Have been away for two weeks and he has loaded 432 false customers & I have blocked 41 IP addresses. I contacted my techy guy for my website but he was of the opinion there is nothing I can do. I delete about 4 false customer names every day since April, it's getting to me. I need some closure on this one. Gee the time it took me to write the above I have another 4 false customers , there has to be a way to stop this it takes too much of my time. Any help appreciated.
  3. trophy

    Stop Google adding bogus names

    Not sure about Google results, they appear in my customers section. I assume it is google as they put google in the company name. The names are bizarre like wise the address .
  4. How can I stop Google adding fake names as customers. They add about 4 a day, I find this annoying.
  5. Under Admin, Catalog, Manufacturers. I have a total of 138 manufacturers and if I load more they will not show when loading a new product. Configuration Catalog Categories/Products when I go into Products Manufacrturer: the new Manf does not show.
  6. Does this add on round up to nearest 10 cents? If not can it be moded to do so?
  7. Yes I am very interested in this as well, it's what I need.
  8. trophy

    QUICK PRICE/STOCK UPDATE

    Hello I would like to know where the files go. I am a greenie and the text with the contribution is a tad vague to me. The following files are affected by this contribution (all in the Admin section): price_updater.php (new file) GOES WHERE? price_updater.php (new file)(language file) GOES WHERE? catalog.php (modify) english.php (modify) filenames.php (modify) ========== New Files: ========== Just drop the files into the correct location. WHICH IS WHERE? The code file goes in your Admin directory WHAT CODE FILE? (Actually, into whatever you have renamed your admin directory to. You have renamed it, haven't you?) The language file goes in <admin>/includes/languages/english/. I haven't included any translations because I don't feel competent to translate this into any other languages. If you do, please include your translation in an updated version of this Contribution. Do I have to rename admin directory? Appreciate any help Gill A
  9. Yes I have that correct but when I look in catalog/includes/application_top.php I see I have loaded in the counter.php which I am thinking is in correct and I need to reload that page. Where can I go to get just that page to reload?
  10. Coopco thank you for the reply. I am confused as you mention catalog . When I connect with my site I see a blank folder, I then expand it and I see admin, cgi-bin, download, images, includes, pub. If I expand admin I see backups, images, includes. Now as I have two includes which one do I post into? Gill A
  11. trophy

    Price updater v1.1

    Instructions below. Where is the correct location? Gill A The following files are affected by this contribution (all in the Admin section): readme.txt (this file) gpl.txt (your license) price_updater.php (new file) price_updater.php (new file)(language file) catalog.php (modify) english.php (modify) filenames.php (modify) ========== New Files: ========== Just drop the files into the correct location. The code file goes in your Admin directory (Actually, into whatever you have renamed your admin directory to. You have renamed it, haven't you?) The language file goes in <admin>/includes/languages/english/. I haven't included any translations because I don't feel competent to translate this into any other languages. If you do, please include your translation in an updated version of this Contribution.
  12. There is a file called price_updater.php (new file). I would like to know where to put it, the instructions are not that clear to me. Gill A
  13. I need some help as I have spent hours trying to get this contribution to work, I keep getting errors. I am confused as to the instructions in the first line, there is no counter in catalog/includes to copy. I don't have a catalog only an admin, is that the same as a catalog and all below it. I can't help feeling the below is missing some words or it has the wrong wording. All help greatly appreciated Gill A These are the instructions that come with the contribution. - Copy the counter.php in the catalog/includes directory. Or change it manually, see file below. - Edit catalog/includes/application_top.php Search for the who's online function call, and remove/remark it: // include the who's online functions // require(DIR_WS_FUNCTIONS . 'whos_online.php'); // tep_update_whos_online(); (Be smart, copy these lines in your clipboard....) - Edit catalog/includes/footer.php Paste the lines (without the remarks :-) just below require(DIR_WS_INCLUDES . 'counter.php'); (Important!! If you place it above this line, your counter will not work!) require(DIR_WS_INCLUDES . 'counter.php'); // include the who's online functions require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); That's all! For the manual freaks, here's the counter.php: <?php /* $Id: counter.php,v 1.5 2003/02/10 22:30:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ $wo_session_id = tep_session_id(); $known_customer_query = tep_db_query("select count(*) as count from " . TABLE_WHOS_ONLINE . " where session_id = '" . $wo_session_id . "'"); $known_customer = tep_db_fetch_array($known_customer_query); $counter_query = tep_db_query("select startdate, counter from " . TABLE_COUNTER); if ($known_customer['count'] > 0) { // User already known, don't add 1... $counter = tep_db_fetch_array($counter_query); $counter_startdate = $counter['startdate']; $counter_now = ($counter['counter']); } else { if (!tep_db_num_rows($counter_query)) { $date_now = date('Ymd'); tep_db_query("insert into " . TABLE_COUNTER . " (startdate, counter) values ('" . $date_now . "', '1')"); $counter_startdate = $date_now; $counter_now = 1; } else { $counter = tep_db_fetch_array($counter_query); $counter_startdate = $counter['startdate']; $counter_now = ($counter['counter'] + 1); tep_db_query("update " . TABLE_COUNTER . " set counter = '" . $counter_now . "'"); } } $counter_startdate_formatted = strftime(DATE_FORMAT_LONG, mktime(0, 0, 0, substr($counter_startdate, 4, 2), substr($counter_startdate, -2), substr($counter_startdate, 0, 4))); ?>
  14. trophy

    Waring, Fatal error.

    Well I am now I am confused as this is what I have. Which inbcludes should I have the counter in? when I log onto my server this is what I see. - folder / - admin backups images + includes cgi -bin download fresh images + includes pub
  15. trophy

    Waring, Fatal error.

    Hi Jared appreciate you help. Yes I have, this is what is in the admin/includes Gill A <?php /* $Id: counter.php,v 1.5 2003/02/10 22:30:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ $wo_session_id = tep_session_id(); $known_customer_query = tep_db_query("select count(*) as count from " . TABLE_WHOS_ONLINE . " where session_id = '" . $wo_session_id . "'"); $known_customer = tep_db_fetch_array($known_customer_query); $counter_query = tep_db_query("select startdate, counter from " . TABLE_COUNTER); if ($known_customer['count'] > 0) { // User already known, don't add 1... $counter = tep_db_fetch_array($counter_query); $counter_startdate = $counter['startdate']; $counter_now = ($counter['counter']); } else { if (!tep_db_num_rows($counter_query)) { $date_now = date('Ymd'); tep_db_query("insert into " . TABLE_COUNTER . " (startdate, counter) values ('" . $date_now . "', '1')"); $counter_startdate = $date_now; $counter_now = 1; } else { $counter = tep_db_fetch_array($counter_query); $counter_startdate = $counter['startdate']; $counter_now = ($counter['counter'] + 1); tep_db_query("update " . TABLE_COUNTER . " set counter = '" . $counter_now . "'"); } } $counter_startdate_formatted = strftime(DATE_FORMAT_LONG, mktime(0, 0, 0, substr($counter_startdate, 4, 2), substr($counter_startdate, -2), substr($counter_startdate, 0, 4))); ?>
×