danil0 1 Posted July 31, 2020 1 hour ago, Jack_mcs said: I'm even more confused at this point. In your original post in another thread you said you have an MS2 shop. But in this post you said you have a 2.3.4 shop. You need to straighten out your files and only use the ones meant for your shop. I can't help until you do that. I noticed also that the Megastore theme that is installed on this custom osc 2.3.4 has its own styles and classes... so I noticed inside contact_us.php that I edited, there was no class="form-horizontal" setting on the echo tep_draw_form line. So I have resolve the fields problem because was Stylesheet matter. Everything works on the admin side settings logs etc. It blocks fake accounts and tries. The only problem is that the contact us form still sending spam mails. When I enabling captcha the spams stops but the captcha image is not loading. The validation of the captcha also works as I get the answer that was wrong the code. So do you believe I should add form-horizontal class to make captcha image work? Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted July 31, 2020 i can't help you with your files because you are using a template. For example, you contact us page is submitting with GET. The code is written to use POST. So you're on your own in getting this to work since it is beyond the scope of free support. Good luck. Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
danil0 1 Posted August 1, 2020 14 hours ago, Jack_mcs said: i can't help you with your files because you are using a template. For example, you contact us page is submitting with GET. The code is written to use POST. So you're on your own in getting this to work since it is beyond the scope of free support. Good luck. everything works perfect except captha image is not loading... I thought it would be easy to resolve... anyway thank you for your time until now Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted August 1, 2020 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. 1 1 valquiria23 and ArtcoInc reacted to this Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
ScaleCreepMinis 6 Posted August 1, 2020 (edited) Okay, was swamped with spam accounts and installed Honeypot. Poof! Like magic they are gone. BUT now the Contact Us and Create Account pages return HTTP ERROR 500 messages. Running OSCOM CE Phoenix v1.0.4.2 PHP Version 7.3.20 (Zend 3.3.20) Is there some blindingly obvious mistake I made suring install? It seemed to just be upload add/replace. Also, I do not have (as far as I can tell) a table called Honeypot_track Edited August 1, 2020 by ScaleCreepMinis Share this post Link to post Share on other sites
ScaleCreepMinis 6 Posted August 1, 2020 Here are my Honeypot settings:Enable Honey PotTruePagescontact_us.phpcreate_account.phpSort Order0Email Addresses AllowedTrueEmail Addresses Show MessageTrueURL's AllowedFalseURL Show MessageTrueCreate Account CheckTrueCreate Account Count2Create Account Period10Block Names with NumbersTrueBlock Phone with LettersTrueName Length - First2Name Length - Last1Verify Postal CodeIgnoreVerify Domain Referer MatchTrueVerify State and Country matchFalseVerify Time to Submit20Show CaptchaNumbersUse IP ListIPListBlock IP AutomaticallyBad WordsExclude IP'sLog TrackerNone Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted August 1, 2020 29 minutes ago, ScaleCreepMinis said: It seemed to just be upload add/replace. Only for the new files. For the files to change, you can only use the included ones if you have the same files, minus the Honey Pot changes. You can use a compare program like Winmerge, which is free, to compare your files with those included. The needed changes are marked for honey Pot. Regarding the tracking file, you won't have one until a block has occurred. Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
ScaleCreepMinis 6 Posted August 1, 2020 I have a standard Phoenix install, with no mods to files beyond the main page etc. So I just used the included files as is? Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted August 1, 2020 That will only work if your version of Phoenix is the same as the one used for the included files. Since Phoenix changes so often and I never alter those files, it is unlikely they are compatible with your shop. Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
ScaleCreepMinis 6 Posted August 1, 2020 Crud, that must be the problem. Share this post Link to post Share on other sites
Psytanium 15 Posted November 8, 2020 Hi, I installed Honeypot 1.8 on OSC2.3.4, installed the module header, enabled everything, and added the word "google" in Bad Words, because i noticed all my bot accounts have the word google as company name. But i tried to create a new account, adding the word google in the company name, but still i can easily create accounts. How can i know if its working or not Thanks Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted November 8, 2020 @PsytaniumYou don't say if the bad word filter worked for the contact us page or not. If not, look in the HP settings and make sure the contact us and create account pages are checked. I've seen in a few older shops where the pages were not being remembered. If they are set, make sure you have the Create Account Check setting checked. It disables all create account checks when off. Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
Psytanium 15 Posted November 8, 2020 2 hours ago, Jack_mcs said: @PsytaniumYou don't say if the bad word filter worked for the contact us page or not. If not, look in the HP settings and make sure the contact us and create account pages are checked. I've seen in a few older shops where the pages were not being remembered. If they are set, make sure you have the Create Account Check setting checked. It disables all create account checks when off. Yes Create_account is checked. Add Honey Pot captcha to the specified pages. Enable Honey Pot TruePages create_account.php tell_a_friend.phpSort Order 0Email Addresses Allowed TrueEmail Addresses Show Message TrueURL's Allowed TrueURL Show Message TrueCreate Account Check TrueCreate Account Count 2Create Account Period 10Block Names with Numbers TrueBlock Phone with Letters TrueCreate Account Notify NoneName Length - First 2Name Length - Last 1Show Math Captcha FalseUse IP List FalseBad Words googleExclude IP'sLog Tracker None Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted November 9, 2020 Then all I can think of is that you didn't make the correct changes in the files. Please compare your files with the ones in the ChangedFiles_Frozen_and_V234 directory, or even use one of those for a quick test. Also, having the "Email Addresses Allowed" and "URL's Allowed" options set to true prevents the code from stopping most spam. I suggest you change to false and then try sending an email from your contact us page with an email address or url in the body. If the email isn't blocked, then there is something wrong in your installation and troubleshooting the contact page will be much easier. If it does work, then it means there is a mistake in the create account file. 1 Psytanium reacted to this Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites