Page 1 of 1

restricted user from posting

Posted: Wed Jan 05, 2011 9:44 am
by phppro62
hi mate
please how to restrict user from posting 24 hours from the last post?

Re: restricted user from posting

Posted: Wed Jan 05, 2011 10:01 am
by social_experiment
2 parts to the answer: Identify the user somehow and record the time of the post.

Code: Select all

Pseudo code
//
 if user = same.from.earlier
 {
  if time.from.last.post < (time.from.last.post + 24)
  {
   // take action against user