SimpleDownload

Started by crazystu, March 05, 2005, 02:41:47 AM

Previous topic - Next topic

forumite

Quote from: nesianstyles on June 04, 2005, 05:56:05 PM
As for uninstalling, did you remove the .htaccess from the Downloads directory?

No, but it gets removed by the first step in the uninstall. I even tried copying .htaccess back to the Downloads directory, but get the same result when I try to uninstall.

floating

i am new to this mod, where can i set the permissions. Can anyone tell me?

forumite

Floating

IIRC the permissions were set in Admin|Edit features and options. Just scroll through the list. I don't have it installed right now, so can't verify it for sure, but that's what I remember.

floating

may be i need glasses but i didnt find any permissions for the Downloads  8)

forumite

Apologies, I probably wasn't very clear and probably confused you; It's a checkbox in Admin|Edit_Features_ &_Options.

!Hachi!

its cool mod.can we change icons .i want to edit and give icons for every file.it shows txt icon for swf file....!!
                 if any one knows please tell me. Thanks
Happy Ramadan

floating

Is there a way to see how many times one file is downloaded, cuz i dont wanna waste my bandwidth. Let me know

crazystu

not at the moment because it would have to record it somehow

Champi

QuoteIt's a checkbox in Admin|Edit_Features_ &_Options

i think package manager didnt install everything correctly... i made all modifications manual by the mod info file.. the one concerning permisiions... i cant find no checkbox... did modifications for every language.. can it be that i overlooked something...?

i gave my members permissions..

<edit file>
Themes/default/languages/Modifications.english.php


<search for>
// Version: 1.0; Modifications

<add after>
$txt['permissiongroup_downloads'] = "Downloads";
$txt['cannot_view_downloads'] = "You arent allowed to view the downloads!";
$txt['permissionhelp_view_downloads'] = "Allow this if you want this group to access the downloads";
$txt['permissionname_view_downloads'] = "Can view Downloads";


and also
<edit file>
Sources/ManagePermissions.php


<search for>
         'member_admin' => array(
            'moderate_forum' => false,
            'manage_membergroups' => false,
            'manage_permissions' => false,
            'manage_bans' => false,
            'send_mail' => false,
         ),

<add after>
         'downloads' => array(
            'view_downloads' => false,
         ),   

crazystu

SimpleDownload 1.1.1 has been released.
Upgrade has been added for 1.1.0

chitownjts

I downloaded SimpleDownload-1.1.1.zip [nofollow] but I do not see the install.txt.

Any way I could get a copy?

Also, is it possible to get this to work with the Helios theme?

dtm.exe

Quote from: chitownjts on June 17, 2005, 12:17:34 PM
I downloaded SimpleDownload-1.1.1.zip but I do not see the install.txt.

Any way I could get a copy?

Also, is it possible to get this to work with the Helios theme?


Try a looking for a .mod or .xml file.  And yes, it is possible to get it to work with the Helios theme.

-Dan The Man

floating

I am using ver 1.1.0 where can i find the update to 1.1.1?

anunlike

#53
I  just installed this yesterday and haven't made any changes to it. I keep getting this:

Quote8: Undefined index: d
File: /home/anunlike/public_html/forums/Themes/defaultXT/languages/Downloads.english.php (eval?)
Line: 37

in my Forum Error Log. I get a new error everytime I access the page.

???

anunlike

I think I figured out the problem I was having:

find:
Quote
    for($i=0,$c='';($c=@$F[$i++]);){print '<tr><td class="windowbg"><center><img src="'.$surl.'i='.$c['t'].'" alt="'.$c['n'].'"/></center></td><td class="windowbg2"><a href="download.php?d='.$_GET['d'].'&amp;name='.$c['n'].'">'.$c['n'].'</a></td><td class="windowbg">'.number_format($c['s']/1024,1).'KB</td><td class="windowbg2">'.$c['t'].'</td><td class="windowbg">'.date('m/d/Y h:i A',$c['m']).'</td></tr>';}

replace with:
Quote
    for($i=0,$c='';($c=@$F[$i++]);){print '<tr><td class="windowbg"><center><img src="'.$surl.'i='.$c['t'].'" alt="'.$c['n'].'"/></center></td><td class="windowbg2"><a href="downloads&amp;d='.$c['n'].'">'.$c['n'].'</a></td><td class="windowbg">'.number_format($c['s']/1024,1).'KB</td><td class="windowbg2">'.$c['t'].'</td><td class="windowbg">'.date('m/d/Y h:i A',$c['m']).'</td></tr>';}

A few other things that would make this mod even better is:
1 Having an arrow to show the direction of whatever's being sorted.
2 Being able to show page numbers (using "$context['page_index']" stuff)

forumite

Thanks for updating this mod. It appears to have installed just fine. I have a question about the way it functions ....

If I click on a file name it opens and displays the content of the file. I was expecting to see a Open_with/Save_to_disk dialog. Did I misunderstand the way it's supposed to work?

Also, one suggestion .... when I'm viewing a category, it would be nice to have a link to go back to the Downloads directory. Right now it appears the only way to do that is with the Back button in my browser.

Thanks again for your efforts in producing this mod.

ivo2296

#56
when i try to get a file it shows:  Hacking Attempt...


any ideas?

revgreed

Hi there,

Excellent modification.  Do you think a future version will include an upload feature for permissioned members?

Thanks,

Mike.

Itch™

Hm, still getting: 14.     Execute Modification     Themes/default/languages/Modifications.english.php     Test failed

I'm using 1.1 Beta 3 Public, guess it's not compatible yet..:(

anunlike

#59
QuoteI'm using 1.1 Beta 3 Public, guess it's not compatible yet..

Actually, it is, for the most part. The only item that shows up as "Test failed" is a language file. That's not a critical file or something that will screw up the forums. If that fails, the text won't show up, that's all. You can easily add that in manually, it's not a big deal. Most of the important files for this will be installed, they won't be changing current files, so most don't mess with the current files.

I just installed it on my 1.1 Beta 3 Public and it looks and works perfectly.

Except I get the same error in my Error Log that I posted about before.

Advertisement: