-
Posts
17,340 -
Joined
-
Last visited
-
Days Won
824
Posts posted by burt
-
-
2 minutes ago, raiwa said:
array of existing UPC (gtin)'s is not retrieved if creating a new product. How should the check then work with javascript before submission?
Or do I miss something and you suppose a query to get the list should be added at the top of file?
$.post it to a processing script onBlur.
Similar as this:
http://www.clubosc.com/unique-product-models-in-oscommerce.html -
Or a piece of javascript will do it. So as you enter the UPC it is green, but turns red if the UPC is already used.
-
18 hours ago, kymation said:
The hooks were in the 2.3.5 version that I backported. I assumed that Harald put them there so I left them in. Is this going to cause problems?
It wont hurt anything. My eyes lit up at the prospect of another dev getting heavily into Hooks, that's all.
I didn't even know there is a 2.3.5 ! When was that released?
-
Jim, in the main file, what are the pre-placed Hooks for ?
-
100% NOT compliant.
-
-
-
2 hours ago, valquiria23 said:
If this contribution is so important, why not incorporate it into the version Edge "Final" of @burt ?
You know that thing that the Rock does with the eyebrow...
I'm doing that now
- Dan Cole and valquiria23
- 1
- 1
-
Q1. Do Bots see hidden inputs?
Q2. What would be filled out in this box by a Bot?
Q3. How does the Bot then submit the form? -
3 hours ago, burt said:
Do we think that software is being used to target (eg) the contact_us form in osc, or do we think its software?
This should of course read;
Do we think that software is being used to target (eg) the contact_us form in osc, or do we think its a human?
-
9 hours ago, Jack_mcs said:
I haven't tested it but that looks like a good idea. But a second hook would be needed to add the code to check for emails and url's, if those options were wanted. That is more in-line with not changing the core code and is probably a better solution for the community edition. Actually, it might be a good addition to the stock shop. A generalized package that would protect any form in the shop by just calling a hook with the forms name, or something like that.
I thought a bit more on it...I'm not sure how these spammers actually work (in osc)...
In (eg) wordpress I know there is a whole industry that targets drive by spamming, using software.
Unfortunately, for a period of time over a decade ago I was a part of a similar industry :(In other, less popular, software (eg osc) I've always assumed that someone gets paid a dollar a
day to sit there all day finding form and filling them out and submitting.Do we think that software is being used to target (eg) the contact_us form in osc, or do we think its software?
-
I've been thinking about this and testing some things out...
This code worked best for my needs (which were; stop spammers, use as little code as possible)
<input type="text" name="inputHP" pattern="[0]{0}" aria-describedby="atHP" hidden> <span id="atHP" hidden>This is a Test for weeding out Spammers. You must leave this input box totally blank.</span>
What have I missed by just using that code ?
Note that I did hardcode it, if I was to spend time on it, it'd be a Hook most likely.
-
I had this out for testing on 28d package, results of testing never got back to me, so did not release :(
Didn't know you had already made it @BrockleyJohn !
-
58 minutes ago, w2vy said:
@burt you said you made a captcha v2 addon. I don't see it: https://apps.oscommerce.com/Profile&69-burt
None of my code goes into that Apps download area.
-
1 hour ago, MrPhil said:
What do you mean by "mandatory"? Are earlier versions of reCAPTCHA going to become unsupported? Be aware that various "CAPTCHA" schemes, including reCAPTCHA, are no longer very useful. The spammers can easily defeat them, and cranking up the difficulty high enough to stop most bots means that almost all humans are also blocked! You also have to be careful that visually impaired/blind people aren't excluded from your store, or you could face discrimination charges for failing to make "reasonable accommodations". Unfortunately, almost any anti-bot challenge scheme easy enough for most people to pass seems to also be easy for bots to pass.
Google are stopping their v1 implementation of recaptcha shortly.
That is the one with the road signs or the audio.The v2 implementation is still fine to use.
That is the one with the tickbox (which works for 90% of people and is fine for impaired). The 10% who fail can then go on to see road signs or audio.There is a v3 implementation which has nothing showing at all.
It's a PITA. v2 is the best implementation at this point.4 hours ago, momoxygene18 said:But I can not find a recaptcha 2.0 contribution for the verson osc 2.3.4
You did not look far. There is at least one that is available for standard osc2.3.4, I know as I made it
-
pffffff, as I said at the time, we can revisit this at a later date.
-
2 hours ago, raiwa said:
Are you serious? Fill in product seo title for each product one by one instead of one code change?
The advice to change core code is far from ideal. Preferable advice would be;
- make a hook
- make a replacement module
- etcI do not know if the asker has 1 product, or 100, or 1000.
In any case, it takes 30 seconds to perform a database hit to update seo_title to match name.However, this little conversation is good as I can revisit my piece of code and come up with some changes.
-
1 hour ago, brian_cee said:
the model is still used if the SEO Product Title is left blank.
That is correct, and expected.
Make your "product seo title" the same as your "product name" for each product.
-
Read the underlined and italicised bit in my previous post.
Even your image shows two examples of such. Bloody Hell.
-
URLs are not shown by Google in a properly set up website.
It is not rocket science, but if you are brainwashed into believing something else...it might seem like rocket science.
-
15 hours ago, RMD27 said:
mcmannehan
he is absolutely correct about SEO URLs. i think most people find them helpful and so do search engines to some extent
https://www.searchenginejournal.com/seo-friendly-url-structure-2/202790/
This is Out Of Date. Sites like these post stuff, then don't update it.
These links were good, now not. GOOGLE DOES NOT SHOW URLs.
For context:
-
ALL. Let's not have personal insults. If you have a different viewpoint to someone else, that is fine. Explain why.
More Personal Insults will result in sanctions being taken, which can be as simple as a note (like this post), to outright ban from this forum.
-
On 2/6/2018 at 3:56 PM, Psytanium said:
@burt do you suggest another app ? btw I tried you solution, will wait and see if the error will come back later. thanks
I don't use any of these URL rewriters. Do any search engines show URLs these days ?
-
Manipulating urls for SEO purposes.
Manipulating urls to be Human Readable.Two totally different things.
Addon installer concept
in Add-Ons Development
Posted
It's a nice idea. I think you'll find it difficult to convince addon makers to make addons in the way required...