View Single Post
  #1  
Old 18th December 2009, 15:13
InFeRnO InFeRnO is offline
Senior Member
 
Join Date: Jul 2008
Posts: 29
Default Block members from downloading until they have two posts
Hi looking for a litt;e help on this peice of code

PHP Code:
stdhead("Browse");
if (
$CURUSER['post_count'] <=2)
{
stdmsg("Sorry...""You Need a Minimum Of Two Forum Posts  (Go To The Forums <a href=\"forums.php\">To Make Your Posts</a>)");
stdfoot();
exit;

i want to stop users with under two posts being able to view browse page but this code blocks all users

does any one have an idea as to what im doing wrong thanx
Reply With Quote