Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Minimum Post Notification
#1
Not Solved
Hello,

I was wondering if there is any plugin out there that can give a user a message when they are posting a new reply/thread if they have less than x posts.

A message like this:

"Please make sure what you are posting isn't spam. You will not be able to post links, images, videos, and resources until you have more than 8 posts. This message will remove when you have more than 8 posts."

Help or suggestions on how to code something like this is greatly appreciated!

Thank you,
DrBaja
Reply
#2
Not Solved
PHP conditionals would do the trick
Reply
#3
Not Solved
(10-12-2017, 08:42 PM)Noahh Wrote: PHP conditionals would do the trick

Wow! I did not know that was apart of myBB. It's pretty easy to do it. Thank you!

So, I'm kinda new to PHP but I do know how conditionals work, here's a code I've whipped up:




Code:
$posts = ($mybb->user['posts']);
if($posts > 16))
{
    //TRUE
}
else {
//FALSE
}

I'd like to know if this is right and were I would put this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)