Russian  English  All projects

Need a PHP programmer



On our site (wp site) the following system is made:

When you add a comment or review, only the visitor who added it sees it. At the same time, a review or comment
is displayed in the "new reviews" and "last comments" blocks for the writer. Other visitors to the site see
this is only after the comment or review is approved by an administrator. Detection of site visitors is made by cookies
and the ip range, example: the person who wrote the comment under the review ip address 91.215.80.218 means when approaching from the range ip 91.215.75.0 - 91.215.85.255
you will see what he wrote even if you are using a different browser. Users who enter from another IP and without cookies can not see
This is. When deleting a comment or review written by a user, the site forgets his IP and cookies, ceases to follow. Also, if you go through a direct link to an unappealed review, the site remembers the visited user and he becomes visible to this review in the general list, i.e. the site thinks that he left this review.

So, this system works only with ipv-4-addresses, when using ipv-6-addresses, pachets partially - everything should work with both types of addresses.

Plus needs to be fixed

2. If you leave a comment and then delete it in the admin panel so that it is moved to the deleted folder, it will not be visible on the feedback page, but will be visible in the "recent comments" block, it will disappear from there only if it is finally deleted from the recycle bin, it needs to be corrected. If a comment is in the Trash, it does not appear on the site, if you restore it, it begins to appear to the writer.

In the attachment of template files and plugins that previously ruled, look at them to understand whether you can do this task, if you can, write in the application - READ (if you write something else in the application - I do not consider it).

P/S – for work I can provide ipv-6-address
25.11.2021 23:26



 Answers freelancers