Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Plugin download permission
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Plugin download permission
Your request is quite vague, but if this download is stored as an XThreads attachment, you could use a conditional to hide the link depending on the user's postcount, something like:

Code:
<if $mybb->user['postnum'] > 5 then><a href="{URL}">{FILENAME}</a></if>


This only hides the link, which a user may be able to guess.  You can edit the XTHREADS_EXPIRE_ATTACH_LINK value in cache/xthreads.php to try to stop that.


My Blog
04-02-2017 06:00 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Plugin download permission - nolie - 12-31-2016, 11:24 PM
RE: Plugin download permission - ZiNgA BuRgA - 04-02-2017 06:00 PM

 Standard Tools
Forum Jump: