All requests | > | Comment On Post | > | Request new recommendation | > | Featured requests | > | No recommendations |
by abdulmoiz - 2 days ago (2017-08-03)
+1 | There is page in my website where winner is announced by admin now i want that only registered user should comment on that post for saying congratulation etc that is my simple problem and question that how i can do it and how it should be any expert can help? thanks |
1. by zinsou A.A.E.Moïse - 2 days ago (2017-08-04) Reply
have you already a comment system on your website?What kind of post is it, a blog post or a simple page manually updated?Did you already code an user's authentification feature on your website?
2. by abdulmoiz - Yesterday (2017-08-04) in reply to comment 1 by zinsou A.A.E.Moïse Comment
no didn't write any code still because of confusion, it simple page where winner is announced by admin and data coming from database, now what i want is peoples mean user of my website should congrats him/her for winning in announce page by commenting like congratulations , you did it , etc ,
website is not live im working on it in my localhost pc, kindly help me to do , do you have code so please provide that.
thanks
3. by zinsou A.A.E.Moïse - Yesterday (2017-08-04) in reply to comment 2 by abdulmoiz Comment
you said your website's users, so i think you already code an users's authentification system.If it is not the case there are many package that provide secure registration and connexion system in the PHPclasses repository and for comment system too there is this package : https://www.phpclasses.org/package/9494.html so you just need to control the comment form's display by using a simple if condition. just as if(isset($_SESSION[id])){//or your chosen $_SESSION[...]; //here you display the comment form } and you just need to put this code at the end of your page.An advise: you must carefully study the comment system package to know how to adapt it to your site and specially to link it to your page.
0 | by zinsou A.A.E.Moïse 2195 - 23 hours ago (2017-08-05) Comment this package can be a starting point for a comment system based on user's authentification... |
Recommend package | |
|