It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

Comments on a blog - help me get in right mind frame..

Moderator: Malcolm

Comments on a blog - help me get in right mind frame..

Postby kdjuiopo on Mon Jul 18, 2011 4:11 am

I wish to allow users to comment on an article on my site. However I wish to make it so that:

A user writes a comments and then submits it, the comment then goes to an email OR a page where an admin can read through them, and tick and confirm whether they are 'suitable' to be posted. Once a comment is confirmed then to show it on the page.

If I went for the approach of putting it on a page where all comments are, would it be a good idea to put a radio button next to each comment to say 'confirm' or 'reject' and this go straight to the database...also maybe an email when a new comment is posted so that the admin can then go and check new comments....

any ideas or help would be grateful, just trying to get my head round it.

cheers
kdjuiopo
50+ Club
 
Posts: 90
Joined: Fri Jul 01, 2011 1:32 am

Re: Comments on a blog - help me get in right mind frame..

Postby rajmv on Sun Jul 24, 2011 3:54 pm

Why not handle everything via email? When a comment is entered, the admin is mailed and in the mail it has a link to authorize the comment for display.
You're probably entering a field that says when the comment was entered. Any comment not authorized after say a month can be deleted from db.

But if you want to authorize entered comments in a list on a webpage with checkboxes for each comment, then that will work just as well..
rajmv
100+ Club
 
Posts: 103
Joined: Thu Jul 14, 2011 7:22 am


Who is online

Users browsing this forum: No registered users and 1 guest