Link to Mod (http://mods.simplemachines.org/index.php?mod=267)
this mod is based on simple download from nesian styles,
this mod is modified for SMF 1.1 RC2 /RC3 released
nesian style did not have any upgraded version of this version to use with SMF 1.1 RC2 / RC3
I will upgrade till final release and will add more adjustments at a later time !
How do I upload with this mod ??? I`m missing something I think.
EDIT: Nvm, I forgot you have to add a "Download" folder to your smf directory and then add folders to it for subcatagories and then upload via ftp or cpanel to those folders for the downloads page to work.
just put your files in the download folder
Thanks I got it.
Quote from: Bigguy link=topic=75895.msg515908#msg515908 date=1142716179
b]EDIT:[/b] Nvm, I forgot you have to add a "Download" folder to your smf directory and then add folders to it for subcatagories and then upload via ftp or cpanel to those folders for the downloads page to work.
Bah, should be an admin area for this thing. And MANY more options for it. Like how many posts you have you can download certain folders/categories, ect.
Ermm ... I am still confuse on what does this mod do. Anyone mind explaining it to me again ? :-[
Its a download mod dude. You supposedly make a folder called Downloads in the root of your forum, and make other folders, those being the "categories" and put files into them. Then when you click "Downloads" at the top of your forum, it will show the categories letting you to download the files that you put in there. Not complicated. Actually, TOO simple....dont even try it. You would be better off making forum categories, and limit the forums to certain membergroups. This doesnt even have that....about 3 min.'s work to put this together I suspect...
Quote from: theslam2006 on June 16, 2006, 12:34:55 AM
Its a download mod dude. You supposedly make a folder called Downloads in the root of your forum, and make other folders, those being the "categories" and put files into them. Then when you click "Downloads" at the top of your forum, it will show the categories letting you to download the files that you put in there. Not complicated. Actually, TOO simple....dont even try it. You would be better off making forum categories, and limit the forums to certain membergroups. This doesnt even have that....about 3 min.'s work to put this together I suspect...
Ohh ... A download mod :)
I am using TP. Its included in it ... Thanks for the reply dude :)
Hi
i just installed that mod but cant see page http://ch0ked.sabaki.com.au/forum/index.php?action=downloads
i did add folder call download to forum root dir
and i did file call SteamInstall.exe http://ch0ked.sabaki.com.au/forum/download/SteamInstall.exe
anybody can tell me what can be wrong ?
thank you
Kret
Quote from: Kret on July 22, 2006, 06:28:36 AM
Hi
i just installed that mod but cant see page http://ch0ked.sabaki.com.au/forum/index.php?action=downloads
i did add folder call download to forum root dir
and i did file call SteamInstall.exe http://ch0ked.sabaki.com.au/forum/download/SteamInstall.exe
anybody can tell me what can be wrong ?
thank you
Kret
not that mines working but i think you have to make a folder called 'Downloads' (case sensitive) in your forum director. pretty sure anyway from what i read earlier.
Check the default theme. I was confused about this mod, too until I switched back to the defauly theme...voila a download button.
I guess all that is left is to ftp the files.
A manager of sorts would be a nice feature.
Thanks for this rc2 compatible version.
Rook
in the default and babylon theme there are standard buttons if you use an other theme you have manualy add them to it !!
put your download files in the Directory whats created in de forum root /Downloads
if not you have manually add it to your forum root.
then upload files or create dirs for your download folder via ftp
can i use a different ftp adress for downloads ? i mean Downloads folder would be in a different ftp ? can i do this ? if i can and how plz ?
Quote from: denislici on August 09, 2006, 09:29:06 AM
can i use a different ftp adress for downloads ? i mean Downloads folder would be in a different ftp ? can i do this ? if i can and how plz ?
in this mod that's not yet possible
RC 3 version installed and working fine, thanks for this mod :)
this is my problem when i download a file:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
[email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
what happened? thanks
Using RC3 and finally got this mod "Seemingly" working. Made a Button. Editied my index and CSS files, added permissions, got the button to show up, FTP's a file to the Downloads directory, It shows up in the DOwnloads area and then.................
Left side is there supposed to be an image file there? I have the X Image Box.... when I click on the file to Download I get
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
[email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
i will look at those errors i will fixing someting but i'll guess you email your phpinfo file to me so i can have a look what can maybe wrong at your host side
[email protected]
Very stange things here.. It works now.. I didnt do anything and all of a sudden it fixed itself! Great module!
All I have to do now is tweak my download button... What Font is that?
Thanks
if ya using the babylon theme i have in the 1.1 rc2 module an download image i have desided to not implent that theme in future releases of this mod so that's why it is not there anymore ... if there enough animo i will maybe put it back in the final release....
maybe your host has updated some configs on the server maybe an update for php or something else ?
Duh.. I'm using AA New Damage theme.. Why would you know what Font it is... I'll ask the guy who wrote the theme....
Who knows what happens onthe internet sometimes.... I've stopped trying to figure most stuff out.
Just installed 1.1 RC3....
Going well.
I think it could be a great feature to add more things.
Rate, description, number of downloads.... permissions to upload.
there will be but i am working on a slightly different version right now and that should have an admin backend with lots of features... but will released when SMF status reaches 1.1 Final stage
Thanks for the nice mod. Got a small error on the index.template when I installed on a test board with a ton of mods but it still works just fine.
Can hardly wait for the next version.
Niiiccceeee add-on!
@ greengoat
what's the exact error message ? wich version do you use ?
so i can inprove that version to work smoothly
about the next version there's much to do so i will wait for releasing that so that smf first reaches 1.1 final stage ... after that we need to do a lot of inprovements to work correctly ;)
Quote from: The Burglar! on November 14, 2006, 06:52:39 AM
about the next version there's much to do so i will wait for releasing that so that smf first reaches 1.1 final stage ... after that we need to do a lot of inprovements to work correctly ;)
Would be really great to see a comfortable download mod for 1.1. Keep going! I need it ;)
Is there a way to limit the download speed or make it that users can only download * per day?
no... this is just an simple download addon i am working on an next version but i have to do so much right now before i will implent some other stuff... ;D
Ok,how do i add this to other themes instead of the default?
take a look into the package zip file on your pc *.xml files and there you will see how it's done in the default theme ... so you can manage that also in other theme's.
if you don't know how tell me wich theme so i will take a look at that theme for little modification
I get the Error
Hacking Attempt...
if i try to Download any File..
What is the Problem?
you are requesting a sourcefile directly that is not allowed
Hi
i have this installed and working...except I do not have the relevant section show up in "permissions" to allow members to view.
Any ideas?
Your edits might be missing from the modification.english.php file. I would check that.
Thanks BigGuy..just spent some time on your forum trying to suss this out also.
I looked earlier and traced it back to there but I have yet to try again....if you can help further than I would appreciate it.
I usually manage to stumble my way through these things but I'm at a full stop with this one.
I have The Amber theme and the Helios theme installed and have to make all the edits apply to them.
I never really got my head around seriously modifying themes.
In your modifications.english.php Before the ?> at the end of the file add this:
'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";
Also the Downloads.template.php should go in the theme folder of the theme you are using and the Downloads.english.php should go in the language directory of the theme you use. This should be all the changes you have to make other than adding a tab/button to the index.template.php file which would look something like this:
// How about the [download] button?
if ($context['allow_search'])
echo ($current_action == 'downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=downloads">Download' , '</a>
</td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
depending on the theme you use. This code is for the default theme and might not work in your index.template.php file.
Thanks again... I had managed to get it working properly and came over here to show my appreciation a little too late to catch your post.
cheers
Well, glad you got it. :)
How do I make it that it is automatically in alphabetical order?
i will look at that in the next release but i am a little bussy right now so i haven't got the time to implent it right now just wait and be a little patient
the error log kepps showing this error
mgtmadness April 20, 2007, 06:42:44 PM
24.24.69.254 13c49c60af72e5c43552456ad984610c
http://www.awsomeforum.com/forum/smf/index.php?action=downloads
8: Undefined index: d
File: /home/content/G/P/G/GPGrieco/html/forum/smf/Themes/default/languages/Downloads.english.php (eval?)
Line: 36
this has to do with the the language files are the updated?
My language files are version 1.1
in order that i am changing the project and maybe recode some stuff i need some time to fix those first then i will look at this error !
and have to add some language packs for different languages other than english
so the install should be more smoothly and english users shouldn't get any errors on the dutch languages files coz they don't excists there !
so i praciate emails or pm's with strings for the new language packs...
but still have testing to do with that !!
gr8 mod! works with 1.1.2 as well
are u planning to upgrade this?
features like
--Number if views /hits
--Description of the file
--Details of the file (Lond Description)
--Rating
--Date Added
Dave
i am planning some sort of an upgrade and maybe a total rewrite with other functions
how long is it going to take?
i really don't know yet first have to make an beta before it will be released
and i need my spare time to re create an new mod
yeah..gr8! this would be an amazing mod for a community forums
dave
This modification screws up several of your files due to errors in the install.xml
I recommend that you DON'T install this modification as it stands.
(I'd consider pulling it from the modsection until its safe to use)
Some of the things are put AFTER when they are meant to go BEFORE (because in the xml format, they are reversed) for example the modifications to the language files are meant to go BEFORE the ?>. In order to do that you need to use AFTER.
Position is misspelled as postion
The effect of this is that the modification is made, but it replaces what it was meant to add after, so you lose the ?> from the end of files.
The 'd' bug is one which can easily be fixed
(theres only two changes to your download.template.php
$dir = (isset($_GET['d']) && $_GET['d'] !='') ? 'd='.trim(urldecode($_GET['d'])).'&' : '';
and replaced d='.$_GET['d] .'& in the url for the files with '.$dir .'
So My downloads.template.php now looks like.
<?php
function template_main()
{
global $context, $scripturl, $txt, $user_info;
theme_linktree();
$rurl = 'Downloads/';
$surl = 'Sources/Downloadimg.php?';
function e($s){$p=strrpos($s,'.');return substr($s,$p+1,strlen($s));}
function s ($a,$c,$o='asc',$t=SORT_STRING){if(!isset($a[0][$c]))return $a;for ($i=0;$i<count($a);$i++)$temp[$i]=&$a[$i][$c];$o=($o=='asc')?SORT_ASC:SORT_DESC;array_multisort($temp,$o,$t,$a);return $a;}
$sb=isset($_GET['s'])?$_GET['s']:0;
$so=isset($_GET['o'])?$_GET['o']:'asc';
$st=$sb==='s'||$sb==='m'?SORT_NUMERIC:SORT_STRING;
$d=isset($_GET['d'])?urldecode($_GET['d']):'';
$d=$d!==''&&$d!=='/'?trim($d,'/').'/':'';
$p=$rurl.$d;
$h=@opendir($p);
if(strstr($d,'../'))exit('Denied');
if(!$h)exit('<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="4"><tr><td width="100%" class="titlebg">'.$txt['downloads_6'].'</td></tr></table></div>');
$F=array();$D=array();
while(FALSE!==($f=readdir($h)))if($f[0]!=='.')if(is_dir($p.$f))$D[]=array('n'=>$f,'m'=>filemtime($p.$f),'s'=>filesize($p.$f),'t'=>'Directory');else$F[]=array('n'=>$f,'m'=>filemtime($p.$f),'t'=>e($f),'s'=>filesize($p.$f));
if($sb){$F=s($F,$sb,$so,$st);$D=s($D,$sb,$so,$st);}
print '<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="4"><tr><td colspan="5" class="titlebg">';
print $txt['downloads_8'];
if($d!==''){$t=explode('/',trim($d,'/'));for($i=0,$r=array(),$z='';($r[]=@$t[$i]),$z=@$t[$i];$i++) { print(implode('/',$r)!==trim($d,'/'))? ('<a href="'.$scripturl.'?action=downloads&d='.implode('%2F',$r).'">'.$z.'</a> / ' ):$z;}}
$f=trim($d,'/');
print '</td></tr><tr><td class="catbg"> </td>'
.'<td class="catbg"><a href="'.$scripturl.'?action=downloads&s=n&o='.($so=='asc'?'dsc':'asc').'&d='.urlencode($f).'">'.$txt['downloads_2'].'</a></td>'
.'<td class="catbg"><a href="'.$scripturl.'?action=downloads&s=s&o='.($so=='asc'?'dsc':'asc').'&d='.urlencode($f).'">'.$txt['downloads_3'].'</a></td>'
.'<td class="catbg"><a href="'.$scripturl.'?action=downloads&s=t&o='.($so=='asc'?'dsc':'asc').'&d='.urlencode($f).'">'.$txt['downloads_4'].'</a></td>'
.'<td class="catbg" nowrap="nowrap"><a href="'.$scripturl.'?action=downloads&s=m&o='.($so=='asc'?'dsc':'asc').'&d='.urlencode($f).'">'.$txt['downloads_5'].'</a></td></tr>';
for($i=0,$c='';($c=@$D[$i++]);){print '<tr><td class="windowbg"><center><img src="'.$surl.'i=dir" alt="'.$c['n'].'"/></center></td><td class="windowbg2"><a href="'.$scripturl.'?action=downloads&d='.urlencode($d.$c['n']).'">'.$c['n'].'</a></td><td class="windowbg"> </td><td class="windowbg2"> </td><td class="windowbg">'.date('m/d/Y h:i A',$c['m']).'</td></tr>';}
for($i=0,$c='';($c=@$F[$i++]);){
$dir = (isset($_GET['d']) && $_GET['d'] !='') ? 'd='.trim(urldecode($_GET['d'])).'&' : '';
print '<tr><td class="windowbg"><center><img src="'.$surl.'i='.$c['t'].'" alt="'.$c['n'].'"/></center></td><td class="windowbg2"><a href="download.php?'.$dir.'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>';}
print '<tr><td colspan="5" class="windowbg"></td></tr></table></div>';
}
?>
Because I wanted to use this on my forum, i've fixed as many of the errors as i could (this contains the english strings only)
I have a question about this mod.
Is there any way to set permission for this mode?
To specific user(group) who can download, and who can't
to give access to the downloads
go to permissions --> membergroup --> can view downloads turn on/off
Quote from: The Burglar! on June 04, 2007, 02:35:23 PM
to give access to the downloads
go to permissions --> membergroup --> can view downloads turn on/off
thx!
But now i have a question about permissions
Is there any way to edit that the users can view download zone, with 50 posts?
I hope you understand me ;)
I am using SMF 1.1.3
The execution of the dload package RC3 is alright and everything installs fine.The download section is ok as well,meaning I can see all the files I've uploaded onto my server.However,when I click on the file to try download,I saw a 500 Internal Server error page instead of the stuff being downloaded.
May I know where is wrong??
is the /Download folder writeable 777 and files within that folder 755 ?
Quote from: The Burglar! on August 08, 2007, 06:47:37 AM
is the /Download folder writeable 777 and files within that folder 755 ?
Yes.The 500 internal server Error still occurs.
Here's the errors info I got from
2: opendir(/var/www/html/forums/Packages/temp/Downloads) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /var/www/html/forums/Sources/Subs-Package.php
Line: 1253
2: unlink(Downloads.english.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /var/www/html/forums/Sources/Subs-Package.php
Line: 1047
May I know what is wrong??
create a /temp dir under the /packages dir and make it writeable 777 this is an issue with some php on some hosts or you could use the package parser for manual installation
Quote from: The Burglar! on August 08, 2007, 06:25:25 PM
create a /temp dir under the /packages dir and make it writeable 777 this is an issue with some php on some hosts or you could use the package parser for manual installation
Ther 500 internal server is still present.I've asked my host for help and they quoted me the error from my server error log.This is ther error received -
Premature end of script headers: php-script,
referer from: http://www.website.com/index.php?action=downloads
Previously when I install,the index.template file execution failed so I only install that file manually.Btw,should I refer/use the the dloadRC3 zip file you uploaded OR the modified file on this topic,reply #50?Coz previously I used yours,I also received the "d" error as well.
Can I ask what may be the possible problems if I still face 500 internal server errors persistently while trying to download the uploaded stuff but strangely,this time round,no errors are reported on my smf forum error log??It doesn't make sense to me. :-\
proberly your host is running php in safe_mode or use phpsu
So what request should I made to my host?Close off the safe mode or switch to an alternative mode?So sorry to ask so much qns coz I'm no expert on php stuff. :)
you could ask them to turn of safe_mode for you web account....
and take a look at the log files why the 500 Internal Server error comes from
it has nothing to do with smf or this mod... it's something on server configuration...
i can't produce 500 error so i don't know what happend there !!
Save yourself, and instal Tiny Portal...
If your 500 eror didn't fixed in a one day, don't know...
I have that problem, and it was fixet by himself :D
it has alink problems with the
these mods
prettyurls-base_0_7.tar.gz
prettyurls-actions-ext-none_0_6.tar.gz
plz try to find out whats wrong
i get this error when i try to download the uploaded file:
[test-forum.awardspace.com] [Sat Sep 29 23:28:53 2007] [error] [client 99.225.102.27] Premature end of script headers: download.php | file is writable by others download.php , referer: http://test-forum.awardspace.com/smf/index.php?action=downloads
Error 500: Script Execution Failure
Description: The server encountered an internal error or misconfiguration and was unable to complete your request.
Most common reasons for returning this error message are:
• File Upload Mode
When you upload Perl, CGI scripts via FTP you should use always ASCII mode. If you get "Error 500: Script Execution Failure" you should check whether your FTP client uses ASCII mode when uploading your scripts, because if it uses BINARY mode to upload your scripts they won't work on the server. The problem caused by wrong upload mode is associated with the way different operating systems handle the "end of line" character. Unix system uses a "line-feed" (LF), Windows uses a "carriage-return" (CR) and "line-feed" (LF) pair. That's why it is very important that you set the uploading mode to ASCII.
• File Permissions
When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x
Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.
• Script Errors
This is the third well known reason for getting "Error 500: Script Execution Failure" upon execution of your scripts. Check your scripts for any obvious syntax or programming errors to make sure your code is not broken.
Remember: When you get a "Error 500: Script Execution Failure", you should always check for any file uploading problems (ASCII/BINARY) and the executable permission settings. Once those are checked and verified, it looks like there is a syntax error or some other problem in the script.
any idea what that means?
any ideas?
i really want to get it to work.
everything else seem to work right, i manuly installed 2 of the file that failed to install, they seem to work now, the dutch file was not found cause i don't have a dutch file.
when i try to download a file, i would go to this site:
Quotehttp://sga-forum.awardspace.com/sfm/download.php?d=&name=Testitem.gif
then,i would get a Internal server error
this is driving me nuts, dose anyone hae a clue, the file is set to 755,777 dosn't work either.
its probably cause by a .htaccess file
Love the idea and integration but i have a problem also. "Download" mod. has installed correctly and seems to operate as it should up to the point of actually downloading a file. At that point I get a blank screen and the message "Hacking Attempt". Any ideas?
Ive contacted my host who says everything is ok that end and it should download. They suggested something in the forum security or similar stopping it?
Quote from: The Burglar! on February 13, 2007, 06:36:03 AM
you are requesting a sourcefile directly that is not allowed
I just read this but i am trying to download a normal .exe and a .zip file which i uploaded first into the downloads directory ???
How is this fixed?
have updated the rc3 version with an new one called downloads try that one instead of this one...
No difference i'm afraid Burglar, still getting "hacking attempt" when attempting to d/load anything
UPDATE: later on the "hacking attempt" message dissappeared and now I have the 500 error in its place ???????
UPDATE2" A day later the "hacking attempt" message is back
Quote from: Rafferty on October 02, 2007, 06:26:02 AM
No difference i'm afraid Burglar, still getting "hacking attempt" when attempting to d/load anything
UPDATE: later on the "hacking attempt" message dissappeared and now I have the 500 error in its place ???????
UPDATE2" A day later the "hacking attempt" message is back
i think the hacking attempt
and the 500 error is because the download is not "(!defined('SMF'))" maybe?
i'll will look at it when i have some spare time over this weekend.... ;D
Hi.
I send you a polish and spanish translations of script "Download".
AX
thanks Burglar for your download script
i have problem in download home page
in first enter download page,directory and file name not arranged A-Z,
aranged random ;
Nokia ring tone
Box software
Multimedya
Free software
when click Name category arranged file name A to Z or Z to A
in first enter download page
i want see file A to Z arranged
please help ?
sorry of my bad english ;)
Very simple download mod. Great work!
When I change my websettings from php4 to PHP5.
Everything looks fine. But when I try to download a file, I get a hacking attempt.
Does the script need some modification?
@axscorpio
sorry for the late reply i did recieve them but haven't got time yet to build it in but i promise to do it soon.
@zatara10
hmm... it's just a simple download system but i will take a look at this
@BTC
originally it was written for only php4 maybe i can make changes for it so it will work on php5
I still cant understand what does this mod do
let me say what I think and tell me is it correct ?
1)member attach files in forum
2)then these files are available for download by this mod automatically
it add a download page to your forum from wich users can download files from
how do you use the "keywords" ??
are they seperated by comma or space etc? When i search, and tick "search keywords" it never finds any matches....
coz you can't search within the download page for a specifc file at least in this mod
Quote from: BTC on November 19, 2007, 08:54:47 AM
Very simple download mod. Great work!
When I change my websettings from php4 to PHP5.
Everything looks fine. But when I try to download a file, I get a hacking attempt.
Does the script need some modification?
Same error... any updates? thx
coz the lack of time i dont be able to update anything but i am gonna work on other system... when i have more time to spend on coding
Very nice!!! In Language Romanian of?
This download system is still a great modification, simple and effective. All the other download / archive systems are in my opinion way toooooo fancy. However with the entrance of SMF 2.0 RC1 and php 5, this modification only works with previous versions (1.1.8< and php 4<). I have noticed that The Burgler is a busy men and will not update this mod any time soon, so why not a little help. And ofcoure I really want to use this download system.
2 The Burgler: I updated this mod to work with SMF 2.0RC1 and php5. Also as an addition I made more images for different file extensions (mp3, excel, word, etc). I hope you like it and add it to the modification archive of SMF.
I've used this http://php.holtsmark.no/base64img/demo.php (http://php.holtsmark.no/base64img/demo.php) for encoding the images.
Start manual install:
File: ./index.php
find:
'xmlhttp' => array('Xml.php', 'XMLhttpMain'),
add after:
'downloads' => array('Downloads.php', 'Downloads'),
File: ./Sources/Subs.php
find:
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
),
add after:
'downloads' => array(
'title' => $txt['downloads'],
'href' => $scripturl . '?action=downloads',
'show' => true,
'sub_buttons' => array(
),
),
File: ./Sources/ManagePermissions.php
find:
'who_view',
add after:
'view_downloads',
find:
'who_view' => array(false, 'general', 'view_basic_info'),
add after:
'view_downloads' => array(false, 'general', 'view_basic_info'),
File: ./Themes/default/languages/Modifications.english.php
add:
$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";
$txt['downloads'] = "Downloads";
File: ./Themes/default/languages/Modifications.dutch.php
add:
$txt['cannot_view_downloads'] = "Je bent niet gemachtigd om de downloads te bekijken!";
$txt['permissionhelp_view_downloads'] = "Sta dit toe als u deze groep tot de downloads toegang wilt geven";
$txt['permissionname_view_downloads'] = "Kan downloads bekijken";
$txt['downloads'] = "Downloads";
File: ./Themes/default/languages/Who.english.php
find:
$txt['whoall_activate'] = 'Activating their account.';
add before:
$txt['whoall_downloads'] = 'Viewing the Downloads.';
File: ./Themes/default/languages/Who.dutch.php
find:
$txt['whoall_activate'] = 'Activeert zijn/haar account.';
add before:
$txt['whoall_downloads'] = 'Bekijkt het download archief.';
And ofcourse the rest of the files (see attachments):
Move the file "download.php" to "the root directory".
Move the file "Downloadimg.php" to "./Sources".
Move the file "Downloads.php" to "./Sources".
Move the file "Downloads.template.php" to "./Themes/default".
Move the file "Downloads.english.php" to "./Themes/default/languages".
Move the file "Downloads.dutch.php" to "./Themes/default/languages".
Put all your files in directory ./Downloads
Once again, Thanks for the great mod!