PHP Classes

Comment On Post: I Want user can comment on post

Recommend this page to a friend!
  All requests RSS feed  >  Comment On Post  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Comment On Post

Edit

Picture of abdulmoiz by abdulmoiz - 4 years ago (2017-08-03)

I Want user can comment on post

This request is clear and relevant.
This request is not clear or is not relevant.

+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 Clarification request
  • 1. Picture of zinsou A.A.E.Mo´se by zinsou A.A.E.Mo´se - 4 years 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. Picture of abdulmoiz by abdulmoiz - 4 years ago (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. Picture of zinsou A.A.E.Mo´se by zinsou A.A.E.Mo´se - 4 years ago (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.

Ask clarification

1 Recommendation

Bootstrap PHP Comment System with MySQL: Comments system with replies and like buttons

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of zinsou A.A.E.Mo´se by zinsou A.A.E.Mo´se Reputation 5815 - 4 years ago (2017-08-05) Comment

this package can be a starting point for a comment system based on user's authentification...


Recommend package
: 
: 
For more information send a message to info at phpclasses dot org.