admin to control a comment system

  • iWiGG_2010
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10
  • Loc: Australia

Post 3+ Months Ago

Hi All,

Just wondering how do I set up an admin to control a comment system. I am thinking of something like this:

This is my table:

post table
id int(11) AUTO_INCREMENT Primary
album_id tinyint(4)
topic_id int(11)
post_creator int(11)
post_content text
post_date datetime
admin int(11) defult: 1


An 'admin' row in the 'post' table and when the users post a comment the admin has the option to make it visible or display it.

Would the (isVisible=1) work for this? '1' meaning it is viewed and allowed by admin and '0' not visable?

If so, any idesas how the code would look?

Hope this make sence.

Regards
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 148 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.