Hello everyone. i run a small web community of about 300 active members. Most everything is made from either code/examples released by others or by who used to be my developer.
Sadly, I dont know much of anything about either PHP, or the MSSQL server we use, and my developer has gone MIA.
As of late, we have been trying to run an event within our community in which members are awarded points that can be spent on virtual items, for every 25 votes they make for our community. Sounds easy, right? Once we get another 25 votes, a simple SQL query to add the points value to their existing points. Done.
Well, I figured that part out after my dev ran off on me. However, I face a bigger problem. I now have many members abusing the system we have now by creating account after account after account to receive the points on numerous accounts.
Basically, what I was wondering (and can not find after a few days of searching and some horrid code attempts of my own), is this: is there a way to add just a bit of code to my already existing account creation script that will check for pre-existing IP addresses, and reject the account creation if there are more than say…5 accounts?
I know IP restrictions can cause additional issue, such as numerous users at the same location. However, it is much more effective than limiting account creation to one account per email. With the mass array of free email options out there, it takes but a minute to get a new email.
I am…learning, SQL and PHP now that I have no choice, but I have learnt very little thus far, so please bare with me if I am asking a bit much for a nub like myself. Usually, I would prefer wto do it all the hard way, but my dev left me in a bit of a rough spot.
Any ideas, example, suggestions, or nudges in the proper direction will be greatly appreciated. Thank you.
-Frank