Page 1 of 1

User posts?

Posted: Sun Mar 08, 2009 2:20 pm
by Rhine_
Is there any command to check the users post to use in an template file like?

<!-- IF USER_POST = 30> Your Post count is 30<!-- ENDIF -->

Re: User posts?

Posted: Sun Mar 08, 2009 2:51 pm
by Brf
You mean user postcount?
If you mean the postcount of the user that is being displayed, as in the viewtopic author, you could access that the same way it is being displayed: postrow.POSTER_POSTS
If you wanted the postcount of the user who is viewing the page, you would have to make your own template variable for.

Re: User posts?

Posted: Sun Mar 08, 2009 2:58 pm
by Rhine_
Brf wrote:If you wanted the postcount of the user who is viewing the page, you would have to make your own template variable for.
Alright in which file do I create a new template variable?

Re: User posts?

Posted: Mon Mar 09, 2009 12:21 am
by Brf
Moved to Mod Writers Discussion

Put it in whichever file you want to access it in...