Submit user form only if it`s unique and have not been submitted before - forms

I spent hours researching the best way to do this but so far have no answer. Hope someone can help.
Basically, here is the issue we are trying to solve:
We need to collect information about our products in the company. To do this, we were planning to use some kind of forms (as an example - google forms). Idea is that one product can be submitted only once. How can I do it? Google forms only allow me to limit number of responses from one IP which is NOT what I need...

do you must use some third part service?
i think maybe you need code this logic by yourself. you can use the common way to solve the problem, for example, use the user_id & product_id.

Related

Am I Being Hacked by Redirection?

I don't really know how to explain this, so bare with me. But our Facebook pixel detected traffic from another domain. We only have one domain. We went to see what other domain it could possibly be referencing. It turns out, this other domain was a carbon copy of our site. The only thing that was different was the web address. Does anyone have a clue what is going on? It's as though someone is retargeting our customers to a mirrored website.
We tested the foreign site by placing an order using store credit given to ourselves on the backend of our site. The order went through and instead of showing the order was placed in the US, it said it was placed in Turkey.
This is over my head and I have no clue where to start solving this issue.
I've actually seen this happen to someone else before. I'm not sure what the motive behind doing something like this is - but if the orders from the cloned store are being paid to your gateway, then the upside is that you're not losing money over it. However, I do believe that the intent is somewhat malicious.
The most logical reason I have been able to come up with is that if your store has high amounts of traffic, is well known, and has a good SEO rating, the people that are cloning your store are trying to "SEO-Hijack" you in a sense. Essentially piggybacking off of your site because of the SEO ratings it already has in order to boost their own and potentially turn it into a separate store/website later.
This isn't necessarily something that can be fixed by BigCommerce since the copy of your store isn't on the platform whatsoever, since they are essentially just piggybacking off of your SEO rating. The best option here would be to do a domain WHOIS lookup for their domain and report it as fraud to their registrar as an attempt to get legal action to be taken or a cease & desist.
Sorry that this is happening to you!
Here's a helpful explanation that I was able to find and a helpful blog post on how to prevent it and the steps to take.
Oh no, I'm sorry to hear about this! As blurfus suggested above -- Please the BigCommerce Support team to report this as soon as you can. You can find their contact information here: https://support.bigcommerce.com/s/#contact

Pay to post - Membership site

Im working on a website where users create and account and then have the option to crate "ads" thru a frontend post submission form. I´ve tried different plugins and WPUF by WeDevs are the one I went with.
But the plugin is kind of slow and not great to be fair, so I want to try and build this by myself.
So the front-end posting is no problem. I am used to working with ACF and their its easy to setup. The thing is that I want to charge the user a small amount to post.
But what is the best way to do this? I love Stripe so I think thats the way to go, but how can I set it up?
PS: If anyone got and example of a better plugin than WPUF thats great aswell. If there is any smooth way to do it without me creating it myself thats great aswell!

magento custom order form

Thank you in advance for reading this. Here is the situation. I have been working on a online guitar shop using Magento CE 1.7 for several months. I greatly underestimated the cost of the site and I know that is my fault not the client who by the way is a great guy. There where many issues that took a lot of time including having to move it from a testing server to the real domain, many logo tweaks etc. I am almost done with it and really need to “stop the bleeding” so to speak however there is one feature that he really wants that I am at my whits end with.
Its a custom order form for guitar pickups. He had one on his old site that was don’t in ASP and besides not knowing ASP we are now on a Unix server.
His requirements are “the ability for someone to choose a category (ie: 7-string, Strat Replacement, Tele Replacement, etc) , and then have it be able to only show options that are applicable to what that selection. I want customers to be able to see descriptions of each pickup somewhere on this page. I also want people to be able to see what the covers/colors look like when they choose that.”
I was able to use the way back machine to at least show you guys what he wants, here is the link http://web-beta.archive.org/web/20120127233223/http://www.axepalace.com/pickup_order.asp
Here is my attempt to create it with a product with lots of options. http://axepalace.com/pickups/bare-knuckle/bkp-order-form/bare-knuckle-pickup-order-form.html
So could anyone please give me some feedback / suggestions. My sanity would really appreciate it!

Parsing Google's search results

I'm "working" on a data mining project and I've chosen to parse Google search results. Now before I actually start, I want to consult you - experienced folks.
I did a bit of research on how Google delivers results and I analyzed structure of a result page. That's all alright, I've already figured out regexes and data structures I'll use.
In between I encountered their CAPTCHA because I was searching too fast; oh, the irony. I've also discovered that they limit results to 1000 actually. Now, is there any way I could avoid those peripeties, perhaps slowing the rate of url fetching to solve the first one or reporting when encountering CAPTCHA so that it waits for my input; that might do it, but what about the other one ? Does Google provide some kind of an API that I can use for a workaround? I couldn't find one on their code.* page.
There is a Custom Search API.
It returns results in json or XML, so you won't even need to use regexes. However, you do need to pay for more than 100 searches a day.
What exactly are you trying to do? Maybe there is a better way to accomplish it.
Always look on CPAN first!
https://metacpan.org/pod/REST::Google
If someone hasn't already solved your problem, chances are it's a weird one :-)

How to implement a search system in a database for an iphone application

This is pretty wide question, but I'm hoping to get a push in the right direction (technologies and methodology).
Ok, I have an iphone app (which I am developing) that works with a web service (c#) through http requests. The web service connects to the underlying database, extracts the necessary data depending on the request and feeds it back to the application.
Now, I need to implement a search system in the app. The user searches for some words, and I need to provide the most relevant results. The search must be performed on different tables in the database. Each table can be searched in a number of columns. For example, when searching through the people table I need to search in the first name, lastname, company, and other fields. Other tables have other important columns.
I have so many questions that I don't even know where to start.
How do I make my sql queries to make the search, but still be fast enough. Do I need to make some extra tables with indexed content somehow?
How should I add relevance factor to the results so I can ultimately filter only the most relevant results? For example, if an user searches for Smith, maybe there is a person named Smith or even a Company. They should be displayed before any other content that can have smith in the description.
I know the question is a little vague/wide but I can explain more if somebody desires.
Thank you
This kind of depends on which language/rdbms you are using on your server. You might checkout various DB search solutions like Sphinx which will do all of that indexing for you and provide a simple Search API. Sphinx for example allows you to prioritize columns, define character mappings (ß->s, ä->a) etc.
In the end I have decided to use Lucene. It's a wonderful piece of technology and even if I had some doubts in the beginning, after reading 3/4 of the book called "Lucene in Action" it was clear to me that it had everything I needed (and much more).
I know it's not a fully-functional searching system (with all the elements needed), but merely a library handling the core of a search system. It will need some work to integrate it with my application/webservice/database. I will let you know how it goes :)
Thanks for your input!