Jump to content

Chadduck

Members
  • Content count

    103
  • Joined

  • Last visited

Everything posted by Chadduck

  1. Chadduck

    HoneyPot Captcha

    It seems to have worked BUT I didn't try any hacker things except for http://www.google.com as the email on the page where it asks for the email address. The code sent a password reset email - and I was able to reset the password. Thanks. I just din't know IF it was necessary to do anything besides adding the include(s). It looked like it may be necessary. Thanks again. BJ
  2. Chadduck

    HoneyPot Captcha

    Jack I finally got back to this for doing the password_reset.php. As I was preparing to do it I was looking at the install instructions for the contact_us.php and then I stopped to send these questions. I examined password_reset.php for the OSC 2.3.4 - it does not contain this line $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name); I also noticed that the include statement to be included reads as follows /*** BEGIN HONEYPOT ***/ include('includes/honeypot/modules/honeypot_verify_contact_us.php'); /*** END HONEYPOT ***/ QUESTION 1 Since the $actionRecorder statement does NOT exist - can the include statement be inserted just after the require statement? The file would then read as follows require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PASSWORD_RESET); /*** BEGIN HONEYPOT ***/ include('includes/honeypot/modules/honeypot_verify_contact_us.php'); /*** END HONEYPOT ***/ $error = false; if ( !isset($HTTP_GET_VARS['account']) || !isset($HTTP_GET_VARS['key']) ) { $error = true; QUESTION 2 The include statement says to use the module file "honeypot_verify_contact_us.php" Does this remain "as is" or it necessary to create a "honeypot_verify_password_reset.php" file and correct it internally for the password_reset.php information? Sorry if those are dumb questions BUT Honeypot has been working so well and has made my life so much easier that I am hesitant to change anything without verifying so that I do not BREAK anything. BJ
  3. Chadduck

    Free Shipping Per Product for v2.3

    Tsimi FIRST and foremost THANK YOU for the installation instructions for OSC Bootstrap. They were RIGHT ON. Have used this particular mod for years in an OSC 2.3.4 store and really did NOT want to change. The old saying "IF it ain't broke DON'T fix it" applies. HOWEVER, there is one spot that does not exist in the BS Frozen version (All the rest matched up perfectly) That instruction set is this code *********************************************** catalog/product_info.php NOT AVAIL *********************************************** Find: <div class="page-header"> <div class="row"> <h1 class="col-sm-8"><?php echo $products_name; ?></h1> <h2 class="col-sm-4 text-right-not-xs" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><?php echo $products_price; ?></h2> </div> </div> Replace with: <?php // PRODUCTS SHIP FREE START if(tep_products_ship_free_check($product_info['products_id'])) $freeship_str .= '<br /><span class="smallText">(' . TEXT_PRODUCT_SHIPS_FREE . ')</span>'; ?> <div class="page-header"> <div class="row"> <h1 class="col-sm-8"><?php echo $products_name; ?></h1> <h2 class="col-sm-4 text-right-not-xs" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><?php echo $products_price . $freeship_str; ?></h2> </div> </div> <!-- PRODUCTS SHIP FREE END //--> The FROZEN version of the file reads like this <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!isset($_GET['products_id'])) { tep_redirect(tep_href_link('index.php')); } require('includes/languages/' . $language . '/product_info.php'); $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); require('includes/template_top.php'); if ($product_check['total'] < 1) { ?> <div class="contentContainer"> <div class="row"> <?php echo $oscTemplate->getContent('product_info_not_found'); ?> </div> </div> <?php } else { $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_gtin from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$_GET['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); ?> <?php echo tep_draw_form('cart_quantity', tep_href_link('product_info.php', tep_get_all_get_params(array('action')). 'action=add_product', 'NONSSL'), 'post', 'class="form-horizontal" role="form"'); ?> <?php if ($messageStack->size('product_action') > 0) { echo $messageStack->output('product_action'); } ?> <div class="contentContainer"> <div class="row is-product"> <?php echo $oscTemplate->getContent('product_info'); ?> </div> </div> </form> <?php } require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> Not wanting to "crash" the rest of MY TEST STORE (am upgrading) I must ask Where does the required coding go? Thank you in advance BJ
  4. Chadduck

    HoneyPot Captcha

    Jack I apologize. I was thinking I had read in the beginning of this topic that YOU had discussed the AI bots. It was not you but another user. I was just trying to think outside of the box as to another verification check for those type of bots. Again, apologies. And thank you for not treating my comments /suggestions like they were unwanted or silly. BJ
  5. Chadduck

    HoneyPot Captcha

    My initial thought was elimination by country but since the account is created by data presented to the bot. So that is out. My next thought was abnormally long last name BUT in today's world with hyphenated names (e.g. Drake-Hollingsworth, Browskowski-Loveday, Rodriguez-Hernandez) This is maybe a little outside the box but perhaps a hidden dropdown with three choices empty as the default, then bot and lastly spider. Since it is an abnormal hidden field anything but the default selected would result in a denial.
  6. Chadduck

    HoneyPot Captcha

    I am sorry if that was confusing... That was a cut and paste from the administration page dashboard. The date was the date created since the dashboard only shows the First Name - Last Name and creation date. I probably should have indicated that and I do apologize. BUT it seems that the bot is simply inserting the same first and last name with an additional alpha character or two. The added characters are generally in upper case. Again - THANK YOU my life has gotten much easier thanks to this mod.
  7. Chadduck

    HoneyPot Captcha

    Jack First before I forget - THANK YOU!!! I often forget to say that as I move onto the next module. The Honeypot is stopping registrations like this one First Name What's the most convenient method to gain $79862 a month: https://make-1-btc-per-day.blogspot.co.uk?i=86 Last Name What's the most convenient method to gain $79862 a month: https://make-1-btc-per-day.blogspot.co.uk?i=86 Those type registrations were being done 10 -15 times a day. I do have a question though - Can anything be done regarding the registrations like these? Customers Date Bobbiemof BobbiemofYV 11/05/2019 Marina85waymn Marina85waymnMT 11/05/2019 CarolPhove CarolPhoveIA 11/05/2019 NovostroykiVolgogradDIx NovostroykiVolgogradDIxBN 11/05/2019 Smocnat KaocnatLC 11/05/2019 RandalJub RandalJubMD 11/05/2019 Did I miss a setting? Do I need to set something? BJ
  8. Chadduck

    HoneyPot Captcha

    Another quickie regarding enabling the LOG TRACKER file WHERE is it created and stored?
  9. Chadduck

    HoneyPot Captcha

    Jack My live store is OSC 2.3.4.1 and I just installed the HoneyPot Captcha and it appears to be working. BUT a Quick question - at present I have it enabled for these pages contact_us.php create_account.php password_reset.php tell_a_friend.php SHOULD it also be enabled for any others? There are 57 in the setup - should it be enabled for ALL of them? BTW I am updating to FROZEN and will be installing this in it also. BJ
  10. Thank you for the information.
  11. Mr Petet I feel like an ID-10-T (idiot) I overlook the possibility of the tables being created from the module installation. I located what I was asking for. BUT is it a requirement to run the update25.sql since this will be a FIRST TIME INSTALL? Again - my apologies for being an idiot. BJ
  12. Mr Petet Please forgive my constant posts - I pulled the file from the place you identified "Separate Shipping Per Product v2.5 [SSPP]" and grabbed the one identified as Bug 2.52. I also pulled the file that is identified SSPP v2.51 Full package. I extracted and examined the files... Having said that - one of the first things I do is examine any included sql file to see what changes will be done to the database. The included sql refers to altering three tables shipping_rates shipping_table_rates shipping_mode I checked my OSC Frozen db and my live store db which is OSC 2.3.4.1 Those tables DO NOT exist in either version. The included sql file is titled "update25.sql" in both files. This would indicate that the file expects those tables to already exist BUT since this is the FIRST time install for me which version contains the install table creation sql scripts. I do not mind pulling it from a previous version BUT on the "Separate Shipping Per Product v1.0" version page there are 19 different versions. On the "Separate Shipping Per Product v2.5 [SSPP]" version page there are four versions. Thank you for any insight. BJ
  13. Mr Petet Thank you... I will get the latest. BJ
  14. Mr Petet Good Morning sir. Up front I, like Mikepo above, am working with the OSC FROZEN vsn and under php 7.2. Having said that I went to your module in the contributions section - the latest that is there is SSPP v1.852 which identifies "Bugfix: 1.852 This fixes the installation of the seperate_mode table from not being installed." and was uploaded 11th August 2014. This makes me believe that I am in the WRONG area -OR- the version quoted from your post is not yet available. Could you please confirm my suspicions -AND / OR- direct me to where the newest version resides? Thank you in advance BJ Chadduck
  15. Hello All; At this point, in my migration to OSC Phoenix, I am slowly adding shipping and payment methods. I currently have these modules installed and working Master_Password_v3.1 - INSTALLED USPS Rate V4 Intl Rate V2 r1.8 - INSTALLED (thank you @Kymation) I am now needing to install an UPS Shipping method. On my LIVE store I currently use UPS CHOICE 1.8.3.1. While I understand that XML is the wave of the future and I have the needed keys etc for install I would truly prefer simple rather than complex. Also from what I have read in the forums the module UPSXML version 1.7 does not like php 7.2 or php 7.3. I am currently running under php 7.3. WHICH UPS module WORKS with Phoenix? I have reviewed the forum and there does not seem to be an identified module (old or new) that is recommended. Suggestions? and do you have it operational? BJ
  16. Chadduck

    New UPS XML Shipping Module available

    Trying to install this module on a CLEAN Frozen install Operating System I included a crop of the installation screen The OSC is CE-Phoenix-2341-Frozen The module is UPSXML version 1.7 THIS INSTALL IS RUNNING ON A LOCAL SERVER I do not understand exactly what is happening. When I place the upsxml.php in the includes/modules/shipping directory the shipping modules installation screen fails to load completely. NO there is no other UPS module there, as shown on the BEFORE placing portion of the graphic. After placing the module shows the screen after the upsxml.php is placed. Solutions? Recommendations?
  17. Chadduck

    USPS Rate V4, Intl Rate V2 (official support thread)

    @ArtcoInc THANK YOU... Although I have it installed and working your extra information about HOW the PHOENIX code works is valuable.
  18. Chadduck

    USPS Rate V4, Intl Rate V2 (official support thread)

    Appreciate this but I have one from the LIVE store I run. But others may not.
  19. Chadduck

    USPS Rate V4, Intl Rate V2 (official support thread)

    Jim I was so excited that the array issue was resolved I was NOT paying attention on the Front End. In the module includes/modules/shipping/usps.php on line 32 is this $this->icon = DIR_WS_ICONS . 'shipping_usps.gif'; First there is NO icon in the package and secondly when Phoenix installs there is not a directory created. Additionally there is no define set up in the configure.php for them. As it appears there is a broken graphic that appears. simply commenting that line out removes the broken graphic. BJ
  20. Chadduck

    USPS Rate V4, Intl Rate V2 (official support thread)

    Thank you Jim. I added the line where indicated and it SOLVED the problem. Beyond that little change - everything went as advertised. Comparing the LIVE store vs the Local store - the rates were pulled correctly. The array now works. Attached is a text file containing your code for addition in the download file. THANKS again - onward and upward. Any suggestions for the UPS shipping method? Phoenix.txt
  21. Chadduck

    USPS Rate V4, Intl Rate V2 (official support thread)

    Hello all I am moving from OSC 2.3.4.1 to OSC Phoenix. The specific module and vsn is USPS Rate V4 Intl Rate V2_r1.8 Per kymation's reply in the topic - Which USPS add-on to use?!? https://forums.oscommerce.com/topic/412353-which-usps-add-on-to-use/?tab=comments#comment-1764332 Since it was a CLEAN install I copied the files as directed. This resulted in error code 500 server misconfiguration. Putting back the ORIGINAL admin/modules.php returned me to normal. So I began MANUAL modification. When I attempted to incorporate the admin/modules.php modifications the identified FIND code does not appear in the module.. Since this is the case not incorporating the stated replace/add code is the cause for this issue. Since ALL of the identified FIND code does NOT exist in the Phoenix module.php The beginning portion does exist if (tep_not_null($action)) { switch ($action) { case 'save': However after that the coding is radically different. Additionally I checked modules_actions.php modules_content.php modules_hooks.php modules_content.php also contains if (tep_not_null($action)) { switch ($action) { case 'save': But yet again after that the coding is radically different. As the attached screens show the module DOES install and is read by the PHOENIX code. the first image is the initial screen BEFORE any edit the second is after editing and saving just the User ID However, I have isolated it the fact that as soon as any value is edited and saved the Shipping Methods Extra Services (domestic) Extra Services (International) simply show ARRAY Since this is being setup on a LOCAL testing platform - I used phpAdmin to locate the values in my live store - copied and pasted them into the appropriate areas and the Front end does display the value albeit the amount is incorrect. Additionally AFTER I did the copy and paste I noticed that the columns seemed to be off in the Admin as the TEXT from the values actually partially appears in the max weight value of the selected method. In the db the configuration Table the field configuration_key and these values are the ones copied MODULE_SHIPPING_USPS_TYPES MODULE_SHIPPING_USPS_DMST_SERVICES MODULE_SHIPPING_USPS_INTL_SERVICES The third graphic show the values after the copy and paste. HAS ANYONE SUCCEEDED in this endeavor? BJ
  22. OK I have obviously missed something with my converting of OSC 2.3.4.1 to OSC CE 1.0.2.1 No category product display I can see the textual categories - no items I can see the sub categories - no items Clicking on whatever item is displayed in the Specials box displays the item description and pic Add to Cart puts the item into the cart and display the item name and pic SO - what have I missed?
  23. Chadduck

    OSC CE 1.0.2.1 - Item Display

    @Mikepo I followed the instructions by Jack_MCS in his post Upgrading to the latest version https://forums.oscommerce.com/topic/408979-upgrading-to-the-latest-version/ then did as directed by his post which took me to Burt's posting about database conversion here 2.3.4(normal) to 2.3.4(responsive) database conversion script https://forums.oscommerce.com/topic/399678-234normal-to-234responsive-database-conversion-script/ As of this point - everything seems to be working BUT as with any migration this extensive - what remains is still unknown. Obviously this is a work in progress. As all who know me by my postings - I am not afraid to ask for help and then posting HOW I solved the issue.
  24. Chadduck

    OSC CE 1.0.2.1 - Item Display

    SOLVED Well, I now have images. The issue was what puddlec pointed out. WITHOUT that being in the database nothing displayed. Here is the SQL that I found in the initial barebones OSC 1.0.2.1 oscommerce.sql and inserted into the converted database. INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Product Card Layout', 'IS_PRODUCT_PRODUCTS_LAYOUT', 'card-deck', 'What Layout suits your shop? See https://getbootstrap.com/docs/4.3/components/card/#card-layout <div class="secWarning">card-columns is a special use case that will not suit most shops as card-columns is very difficult to layout and sort by...</div>', '8', '100', 'tep_cfg_select_option(array(\'card-group\', \'card-deck\', \'card-columns\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Products In Each Row (SM)', 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW_SM', '2', 'How many products should display per Row in SM (Small) viewport?', '8', '110', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Products In Each Row (MD)', 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW_MD', '3', 'How many products should display per Row in MD (Medium) viewport?', '8', '120', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Products In Each Row (LG)', 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW_LG', '4', 'How many products should display per Row in LG (Large) viewport?', '8', '130', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Products In Each Row (XL)', 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW_XL', '4', 'How many products should display per Row in XL (Large) viewport?', '8', '140', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Manufacturer Name (0=disable; 1=enable)','PRODUCT_LIST_MANUFACTURER', '0', 'Allow sorting by Manufacturer Name?', '8', '200', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Model (0=disable; 1=enable)', 'PRODUCT_LIST_MODEL', '0', 'Allow sorting by Product Model?', '8', '210', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Name (0=disable; 1=enable)', 'PRODUCT_LIST_NAME', '1', 'Allow sorting by Product Name?', '8', '220', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Price (0=disable; 1=enable)', 'PRODUCT_LIST_PRICE', '1', 'Allow sorting by Product Price', '8', '230', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Stock (0=disable; 1=enable)', 'PRODUCT_LIST_QUANTITY', '0', 'Allow sorting by Product Quantity (Stock)?', '8', '240', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Weight (0=disable; 1=enable)', 'PRODUCT_LIST_WEIGHT', '0', 'Allow sorting by Product Weight?', '8', '250', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Latest Added (0=disable; 1=enable)', 'PRODUCT_LIST_ID', '1', 'Allow sorting by Latest Added?', '8', '260', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Sort Option: Sales (0=disable; 1=enable)', 'PRODUCT_LIST_ORDERED', '1', 'Allow sorting by Number of Sales?', '8', '270', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Product Image (defunct)', 'PRODUCT_LIST_IMAGE', '0', 'This is a defunct setting.', '8', '280', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Buy Now column (defunct)', 'PRODUCT_LIST_BUY_NOW', '0', 'This is a defunct setting.', '8', '290', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Category/Manufacturer Filter (0=disable; 1=enable)', 'PRODUCT_LIST_FILTER', '1', 'Do you want to display the Category/Manufacturer Filter?', '8', '300', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', 'PREV_NEXT_BAR_LOCATION', '2', 'Sets the location of the Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', '8', '310', now()); When I ran that in phpMyAdmin and the variable were available the front end displayed the items and images. THANK YOU to Lee Foster and puddlec for your assistance.
  25. Chadduck

    OSC CE 1.0.2.1 - Item Display

    HOW do I get to what it is supposed to be?
×