Problem with $post['postnum']
#1 18-01-2015 
Hi Lee,
I'm trying to allow only users with = or more than 3 posts to create new thread.

I'm using:

PHP Code:
<elseif ($GLOBALS['fid'] == 115) && ($post['postnum'] <= 3then>
    <
a href="">You need 3 posts before</a>
  
  <elseif (
$GLOBALS['fid'] == 115) && ($post['postnum'] >= 3then>
    <
a href="newthread.php?fid={$fid}">{$lang->post_thread}</a

(elseif because I have many "forumdisplay_newthread")

but it doesn't work on 1.8..I have always "You need 3 posts before" but I have 15.000 posts Confused

Thank you

0
#2 20-01-2015 
Maybe you need to use ($mybb->user['postnum']) ?

1
#3 20-01-2015 
Thank you Lee, works! Big Grin Flower

0


Sorry, that is a members only option