hi mate
please how to restrict user from posting 24 hours from the last post?
restricted user from posting
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: restricted user from posting
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
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering