FEU and Downloads Manager

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

FEU and Downloads Manager

Post by craftsman »

I have client site running 1.6.6 with FEU and Downloads manager. 

They are a general contractor and they want sub contractors to be able to login and download files - but ONLY the files for the project they are bidding on. There could be 10 different projects at any time.

I set up categories in the downloads manager and uploaded a couple of test files and chose an FEU Group that is allowed access to the files.  I created a content page for the downloads.

It all seems to be working fine - the downloads page lists all the files by project and if I click on a link that I'm NOT allowed to download it tries to redirect to some page and is all screwed up.

I simply want it to say you are not authorized to download this file.

WARNING - I'm a designer, not a programmer (but I can usually fumble around and get it)

Can anyone point me in the right direction?  :)
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: FEU and Downloads Manager

Post by jmcgin51 »

your logic needs to look like this:

IF user is authorized
  show this content
ELSE
  "sorry, you are not authorized"

I've never used the Downloads Manager, but it should be pretty straightforward to set this up.
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

Re: FEU and Downloads Manager

Post by craftsman »

Thanks so much for your response, but I don't know how to implement this correctly.  Can you advise further?
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

Re: FEU and Downloads Manager

Post by craftsman »

Here is the link it's generating when someone clicks on a download they are not authorized for - http://www.jpeinc.com/index.php?mact=Do ... 64&page=64

Here is the code for the template in the downloads manager.  I don't see what's making it redirect to a broken page.
{literal}

.downloads {width:90%;margin:0 5%;}
.downloads h3 {font-size:14px; text-align:center;border-bottom:1px solid black;margin:1em 0.5em 0.5em !important;text-align:right;}
.downloads h4 {text-align:center;border-bottom:1px dotted black;margin:1em 0.5em 0.5em !important;text-align:right;font-size:1.1em;}
.downloads h5 {text-align:center;border-bottom:1px dotted black;margin:1em 0.5em 0.5em !important;text-align:right;font-size:1em;}
.downloads .file {border:1px solid black;margin:2px;padding:5px;}
.downloads .description {width:80%;}
.downloads .icons {display:block;float:right;}
.downloads .small {font-size:0.8em;}
.downloads .title {font-size:14px;background-color:#fff;width:80%;text-align:center;}
.downloads p {margin:0;padding:0;}
.downloads .row1 {background-color:#FFF;}
.downloads .row2 {background-color:#FFF;}

{/literal}

{if $topcategorylink != '' } Upper category: {$topcategorylink} {/if}
{foreach from=$items item=item}
    {if $item->itemtype == 'header' }
      {if $item->itemlevel == 0 }
          Project Name: {$item->name}
      {elseif $item->itemlevel == 1 }
          Project Name: {$item->name}
      {elseif $item->itemlevel == 2 }
          Project Name: {$item->name}
      {/if}
          {if $item->description != '' }Description:
{$item->description} {/if}
  {if count($item->subcategories) > 0 }
          Subcategories:{foreach from=$item->subcategories item=subcat}{if $subcat.filesnb > 0} {$subcat.link}{/if}
  {/foreach}{/if}

    {/if}
    {if $item->itemtype == 'file' }

          rowclass}">

{$item->download}
    {if $item->categories != '' }Categories:
{$item->categories}{/if}
{$item->counterlocale}
{$item->detail}


    {/if}
{foreachelse}
    {$nodownloads}
{/foreach}
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

Re: FEU and Downloads Manager

Post by craftsman »

Anybody?  Please - I'm desperate!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: FEU and Downloads Manager

Post by jmcgin51 »

craftsman - I don't know if what you're seeing in DM is a bug or just a configuration issue.  if you're in a hurry, you might want to use the Uploads module.  I realize it would mean implementing an entirely different file management system, but it has been around longer than Download Manager, and has more users, and is (probably) more stable.  The feature-set is not exactly the same, but is close.

Might be worth contacting the DM developers as well to see if they can offer assistance.
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

Re: FEU and Downloads Manager

Post by craftsman »

I thought the uploads manager was just if you wanted FEU to upload their files.  That's not what I need to do.  The site owner is uploading the files and allowing certain FEU to download certain files.

Will Uploads manager handle that???
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: FEU and Downloads Manager

Post by jmcgin51 »

craftsman wrote: Will Uploads manager handle that???
Yes, absolutely.  That's how I use it.
craftsman
New Member
New Member
Posts: 9
Joined: Fri Mar 27, 2009 2:32 am

Re: FEU and Downloads Manager

Post by craftsman »

Thanks!  I think I can get this working!  I really appreciate your input  :D
Post Reply

Return to “Modules/Add-Ons”