Jump to content

how do I limit downloads for logged in clients only?


SilverNodashi

Recommended Posts

heya SoftDux

 

Support -> Downloads -> (select a category) -> (select your download)

 

Now that you're viewing the details of the download : 1) Title 2) Description...

 

Notice at the bottom are two checkboxes:

 

Clients Only [X] Tick this box to only allow logged in clients to download it

Link to comment
Share on other sites

Good Question. I haven't seen a way. As a last resort, you could do manual filtering. Not that good of a solution, but if you need something now...I'm no Smarty expert, but:

 

in downloads.tpl under the following line:

 

{foreach key=num item=dlcat from=$dlcats}

 

add something like

 

{if $dlcat.name != 'NameOfCategoryToHide'}

 

-- Existing content (<table>...</table>)

 

{/if} (place after table)

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated