Jump to content


Photo

manual post validation


  • Please log in to reply
2 replies to this topic

#1 granty77

granty77
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 September 2006 - 03:04 PM

Hello - i've got an idea for a site that i imagine would be bombarded by idiots with irrelevant posts.

Does anyone know of a way of manually validating posts before they are sumbitted to the database? I wouldn't want to plough through tons of spam AFTER they've already been posted. Thanks in advance.

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 22 September 2006 - 03:05 PM

Have a field in the post table called is_validated. Set the default to 0, then on some page you have access too, select all posts where is_validated=0. When displaying posts select all posts where is_validated=1.

#3 granty77

granty77
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 September 2006 - 03:08 PM

good man - why didn't I think of that?!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users