Jump to content

Jack_mcs

Members
  • Content count

    30,324
  • Joined

  • Last visited

  • Days Won

    140

Reputation Activity

  1. Like
    Jack_mcs got a reaction from pete2007 in Adding Google Recaptcha to Customer Login Form   
    First, take a look at admin->Modules->Action Recorder for the login module. You can set the time between tries as well as how many tries. 
    Second, in the cm_login_form.php file, after 
    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); add this
    if (substr_count($email_address, '@') > 1) { $error = true; } else { and find
    } if ($error == true) { and change to 
    } } if ($error == true) { The above changes will prevent attacks where the spammer tries to enter multiple email addresses. I don't know if a spammer would try that on a login page but it won't hurt to add it just in case.
  2. Thanks
    Jack_mcs got a reaction from ejsolutions in USPS Rate V4, Intl Rate V2 (official support thread)   
    @dculleyThe problem is that the commas are being changed to semi-colons for some reason. Since I don't have to much  time to work on this, I added code to convert them as needed. It's a sloppy fix but seems to work. Please give it a try.
    usps.php
  3. Like
    Jack_mcs got a reaction from valquiria23 in TextMaster   
    A new version has been uploaded. The only changes in this release is to provide a version for Phoenix. If has not been tested with an html editor but should work since that works in other versions. You will need to enable the option for the editor being unsed in the language file.
  4. Like
    Jack_mcs got a reaction from ce7 in Information Pages SEO addon   
    That is defined in the database so you must not have ran the database script with the reset option. Do that and the error should go away.
    I can't help you with getting a certain editor to work. I used the TinyMCE  addon to test it since it doesn't require any core changes and it works fine,
    For the article message showing, enter something in the Pages box. If you don't want it to show at all, enter some invalid item, like pid=999999, assuming that is not valid on your site. I'll add an off option in the next version.
  5. Thanks
    Jack_mcs got a reaction from ArtcoInc in HoneyPot Captcha   
    A new version has been uploaded with these changes:
    Added code to ignore IPV6 IP's. Added a missing sql command for MS2 shops. Added notification code in case the database changes fail. Reported by member @ArtcoInc. Changed the filtering for domains in emails. Changed the defined names still being used. Chanded installation instructions for MS2 shops. Corrected minor spelling and coding mistakes. Reduced the log size limit from 300 KB to 50 KB. Removed the FORM REQUIRED code for pre-2.3.4 shops. Removed the storage engine from the create table command. Found by member @artcoinc. Pro Version Only:
    Added a check to prevent empty emails from being sent.   Added a check in Account Check to see if a customer has made orders.   Added sort options to the Maintenance page. 
  6. Thanks
    Jack_mcs got a reaction from ArtcoInc in HoneyPot Captcha   
    A new version has been uploaded with these changes:
    Added code to ignore IPV6 IP's. Added a missing sql command for MS2 shops. Added notification code in case the database changes fail. Reported by member @ArtcoInc. Changed the filtering for domains in emails. Changed the defined names still being used. Chanded installation instructions for MS2 shops. Corrected minor spelling and coding mistakes. Reduced the log size limit from 300 KB to 50 KB. Removed the FORM REQUIRED code for pre-2.3.4 shops. Removed the storage engine from the create table command. Found by member @artcoinc. Pro Version Only:
    Added a check to prevent empty emails from being sent.   Added a check in Account Check to see if a customer has made orders.   Added sort options to the Maintenance page. 
  7. Thanks
    Jack_mcs got a reaction from valquiria23 in Information Pages SEO addon   
    A new version has been uploaded with these changes:
    Added a left column icon for Phoenix.
    Added a title for the Pages and Redirect boxes in admin to provide instruction for using them.
    Added a Navbar module. Pro Version only.**
    Changed the code for displaying cross-reference links on the product page for a better display.
    Changed name of shops language file from information_pages to information so the shops code loads it automatically.
    Corrected a coding mistake in the footer module that caused the display to not be correct.
    Moved changes for application_top files into hooks (Phoenix only).
    Updated the Version Checker to return correct versions.
    ** The new Navbar module allows messages to be displayed as pages, which greatly increases the flexibility.
  8. Like
    Jack_mcs got a reaction from danil0 in HoneyPot Captcha   
    Yes, that should work.
  9. Thanks
    Jack_mcs got a reaction from ArtcoInc in HoneyPot Captcha   
    @ArtcoIncThat database statement is correct, unless I am missing a small mistake in it. The storage engine is not required. I will remove it in the next version. Thanks for pointing it out .
  10. Like
    Jack_mcs got a reaction from danil0 in HoneyPot Captcha   
    I can't imagine why it wouldn't be created and I've never had it happen. But I just realized that there isn't any notice made in case it does fail. I will add that to the next version. Thanks for mentioning it.
  11. Thanks
    Jack_mcs got a reaction from ArtcoInc in HoneyPot Captcha   
    @ArtcoIncI'm pleased to hear the addon helped. Regarding the file size, you can safely delete it. It will be created again as needed. There is a limit in the code of 300 KB (reduced in the next version). When that limit is reached, a backup of the file is made and the log cleared. For the free version of the addon, it probably doesn't help to keep such large files. In the Pro version, the log can be viewed in different ways, like sorting by IP, so a bigger log gives a better picture of what's happening over time.
  12. Like
    Jack_mcs got a reaction from danil0 in HoneyPot Captcha   
    This is because some versions of oscommerce don't use that item. To fix it, edit the includes/honeypot/modules/honeypot_display.php file and change this
    FORM_REQUIRED_INPUT . ' </div> to this (notice the addition of a single quote)
    '</div> For the captcha, the gd library is required. That is part of php but has to be enabled in it. You need to ask your host if it is enabled. There is an older version of it that, I think, won't work. So if they can enable the latest version, that would be best. But I've mentioned before that the captcha is really not needed and just adds a bother to your customers. Use it if you like. But the blocking should work fine without it.
  13. Like
    Jack_mcs got a reaction from danil0 in Fake accounts   
    @danil0Please post questions/problems, for any addon, in its support thread. The one for Honey Pot is here. Also follow the instructions in the install file for when there is a problem with fake accounts not being blocked.
  14. Like
    Jack_mcs got a reaction from valquiria23 in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    A new version has been uploaded with the following changes:
    Added a check in the Phoenix version to check if search engine friendly setting is present. Added rewrite code for blog articles in Article Manager. Added a new directory for Phoenix versions of 1.0.7.4 and above. Changed code to prevent a warning in Phoenix shops.  
  15. Like
    Jack_mcs got a reaction from danil0 in Fake accounts   
    @danil0The Honey Pot addon will work.
  16. Like
    Jack_mcs got a reaction from cigarsforless in View Counter   
    No, I haven't. There isn't a specific version for Phoenix, so a few core changes would be needed. And those changes would have to be made manually. The instructions for the Frozen version should be close enough to do that.  There is a version for Phoenix in the works but I don't have a date for that.
  17. Thanks
    Jack_mcs got a reaction from ArtcoInc in HoneyPot Captcha   
    I think the last released version, 1.10, will work. Use the files in the NewFiles directory in the Phonex_Frozen_and_v234 directory. And then make the changes using those in the ChangedFiles_Frozen_and_V234 directory.
    If that doesn't work, you may have to use the NewFiles in the MS2 directory.
    Honeypot will work in any version of oscommerce. I recently installed it into an MS2 shop. But the core files differ so much in some of the versions that it might take some playing around with to get it to work in your version.
  18. Like
    Jack_mcs got a reaction from Omar_one in TextMaster   
    No, it isn't. But I have a version that is about 90% converted so I will try to get it uploaded in the not-too-distant future.
  19. Thanks
    Jack_mcs got a reaction from ce7 in Header Tags SEO   
    If you don't make that change, you won't be able to control the title and tags for manufacturers. If you don't use manufacturers, you can skip all of the changes for that file. But if you do, you should make the changes.
    I don't see anything wrong with the code you posted and it should work in your shop but here is the one written for your shop so using it might help:
    $manufacturers_query_raw = "select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, m.date_added, m.last_modified, mi.manufacturers_htc_title_tag, mi.manufacturers_htc_title_tag_alt, mi.manufacturers_htc_title_tag_url from manufacturers m LEFT JOIN manufacturers_info mi on m.manufacturers_id = mi.manufacturers_id where mi.languages_id = '" . (int)$languages_id ."' order by m.manufacturers_name"; But I think you may be using the wrong version for the installation guide. You have a CE shop, as opposed to a Phoenix shop, as i understand it. And the code you mentioned is only in the Phoenix section. You should be using the Frozen directory for the changes so you may want to recheck things using that directory.
  20. Thanks
    Jack_mcs got a reaction from ce7 in Header Tags SEO   
    The above field is part of the core code but it was added in a later version of the CE branch, as i recall.  You can run this command and it should fix that error. But the last version of this addon was based on the Frozen version of CE so you may have to use an older version of this addon to get it to work.
    ALTER TABLE manufacturers_info ADD manufacturers_seo_keywords VARCHAR(255) NULL;  
  21. Thanks
    Jack_mcs reacted to Giner in Header Tags SEO   
    Thank you for the contribution.
    Thank you for clear ansers
  22. Like
    Jack_mcs got a reaction from domiosc in Header Tags SEO   
    A new version has been uploaded with these changes:
    Added a module for the breadcrumb (only for 1.0.7.4 or higher). Added social icons for whatsapp. Changed the database installation script to add back deleted seo keywords fields in 1.0.7.4. Changed the setting for showing the keywords tag to not show it but still allow highlighting to work. Fixed mistake in the currently viewing hook for unique pages that may have parameters. Fixed code in the Social section in admin that was causing the social configuration setting to be reset. This is mainly a release for V 1.0.7.4 but the fixes apply to all versions.
  23. Like
    Jack_mcs reacted to raiwa in Purchase without account for 2.3.4 and BS2334   
    Uploaded PWA 4.3.0
    Purchase without account 4.3.0
     
    Compatibility:
    OSCOM CE Phoenix 1.0.7.5.+.
    PHP 7.0-7.3
    ================================================================
    Changes Version. 4.3.0
    - updated for Phoenix 1.0.7.5
    - updated createaccount_pwa.php to templateable page
    - added MATC hook for create_account_pwa.php page
    - moved store hook to templates
    - updated admin/customers.php hook to customer details sql query and added support for search option
  24. Thanks
    Jack_mcs got a reaction from valquiria23 in Gift Vouchers Secure   
    A new version has been uploaded with these changes:
    Added an option to control the number of coupons that show on the coupon page in admin. Added code to delete multiple coupons at once. Changed the heading sections of the coupon admin for a better appearance for the Phoenix version. Changed the code to return the correctly formatted page entry for the coupon box on the shop side for the CE version. Corrected the link to the support thread. Corrected coding mistake for the Thank You success module for the CE version. Corrected coding mistake in the order total modules. Removed the need to alter the pages module by adding the account module for the CE version. Removed definitions in the CE version. Pro Version:
    Changed code for the automatic coupon code to store the customers name and email address.
     
  25. Like
    Jack_mcs got a reaction from domiosc in Database Optimizer   
    A new version has been uploaded with these changes:
    Changed call to defined location in database_optimizer.php. Found by @raiwa. Fixed some compatibility issues with php 7.3. Added a version for Phoenix. Removed the calls to load the filename and database files in the After 2.3 version. Replaced mysql_error with mysqli_error for php 7 compatibility. Found by @Demitry. Updated the included Version Checker file that works with the new apps section.  
     
×