M
M
Mikhail Ermolov2015-05-10 08:34:11
PHP
Mikhail Ermolov, 2015-05-10 08:34:11

How to block ad deletion and its re-adding?

We are launching an ad board, where it is very important to control that, for the selfish purpose of artificially raising the ad display position, users cannot delete them and add new ones about the same object. How can this be done through an algorithm on the server or something like that? Moreover, it is necessary that this be recognized in the same way in cases where the deletion comes from one ip of one register. user, and adding - from another ip and user.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Igor Vorotnev, 2015-05-10
@mikayel333

Store deleted messages in the database with the "deleted" status, check for "deleted" matches before adding a new ad. After a certain time, you can / need to collect and cut out this garbage from the database.

K
Konstantin B., 2015-05-10
@Kostik_1993

The only thing now is that drom.ru checks photos. It is impossible to upload the same photo twice (well, at least theoretically for ordinary users (changing the name or file extension will not help)). The way out is not the complete removal of ads, but placing them in an archive. You also need to link accounts to phones and mailboxes. 1 phone - 1 user. When adding, we check if the user has previously submitted a similar ad, if not, then we continue, if so, we offer him to use paid services

K
kstyle, 2015-05-10
@kstyle

keep deleted ads for some time, and add new ones only if they are not among the recently deleted ads

A
AVKor, 2015-05-10
@AVKor

Delete "delete".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question