Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Usergroup set
#1
Not Solved
This user has been denied support. This user has been denied support.
I want to change in below code in a way that rather than all users ,,,specific user or groups are restricted to download attchment until specific posts in forum posted.
Sorry for my poor english.

<if $mybb->user['postnum'] < 100 then>
<em>You need at least 100 Valuable posts to download this file</em>
<else>
<form action="{URL}" method="get">
<input type="submit" value="Download Now" />
</form>
</if>

I think it require only change in this
user['postnum']
code.

Thank you.

Any helper available here????
#2
Not Solved
(2012-11-21, 04:28 AM)WINBOY Wrote: I want to change in below code in a way that rather than all users ,,,specific user or groups are restricted to download attchment until specific posts in forum posted.
Sorry for my poor english.

<if $mybb->user['postnum'] < 100 then>
<em>You need at least 100 Valuable posts to download this file</em>
<else>
<form action="{URL}" method="get">
<input type="submit" value="Download Now" />
</form>
</if>

I think it require only change in this
user['postnum']
code.

Thank you.

Any helper available here????

You shouldn''t bump your topics within 24 hours. And with a little searching you would have found the answer to your question very easily.

That being said, you can either do that with the group promotion or use this plugin.

http://mods.mybb.com/view/min-posts-for-attachments


Forum Jump:


Users browsing this thread: 1 Guest(s)