User posts?

Discussion forum for MOD Writers regarding MOD Development.
Locked
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

User posts?

Post 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 -->
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52169
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: User posts?

Post 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.
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

Re: User posts?

Post 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?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52169
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: User posts?

Post by Brf »

Moved to Mod Writers Discussion

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

Return to “[3.0.x] MOD Writers Discussion”

cron