Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Create a new forum in X forum only if user has minimum post in X forum
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #1
Create a new forum in X forum only if user has minimum post in X forum
Hi,

I would like to ask if there's a code to allow users with minimum X postnum to create a new thread in a specific forum.
I try to write better.

With this code <if $post['postnum'] >= 10 then>Create a new thread</if> users with minimum 10 posts in all forum can create a new thread.

But if I want minimum 10 posts in a specific X forum, how can I do (if it's possible)?

<if $thread['fid'] == 115 || $post['postnum'] >= 10 then>Create new thread
    <else>No
      </if>

But this code takes still postnum for all forums..I need a plugin? Frown

This is for a forum about exchange votes, I would like only users with minimum 10 posts in exchange votes forum can create new thread.

- If user has 10 posts in fid 115 and 0 in all forum = can creates new thread
- If user has 50 posts in all forum but 0 in fid 115 = can't create new thread in fid 115 but he can create new threads in other fids

Thank you in advance
11-13-2014 08:00 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Create a new forum in X forum only if user has minimum post in X forum - nier3 - 11-13-2014 08:00 AM

 Standard Tools
Forum Jump: