| Author |
Message |
confuzion

Joined: Jan 12, 2009
Posts: 2
|
Posted:
Mon Jan 12, 2009 1:33 am |
|
im sure this is very easy but i really need help. i jsut installed phpnuke and in the downloads section i want it so visitors cant upload files. i dont even know where to start, i dont know what file to edit, or what to edit in the file. can someone tell me the file to edit and the code i should put in it.
the reason y i wanna do that is becuase its for my underground music page to promote my music so i just want my downloads i put up through the admin viewable/downloadable. i dont want it filled with misc things from viewers |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Mon Jan 12, 2009 9:14 am |
|
If you open the file modules/Downloads/d_config.php you will find a bunch of settings in there.
Toward the top of the file, all the options are explained. Toward the bottom of the file are the actual settings.
The setting you want to change is probably this:
| php: |
$user_adddownload = 0;
|
You can also check out the other settings while you are there, but be sure to not use notepad or wordpad to edit php files. Use a decent editor like dreamweaver, notepad++, ConText, Jedit, etc. |
| |
|
|
 |
confuzion

Joined: Jan 12, 2009
Posts: 2
|
Posted:
Mon Jan 12, 2009 6:06 pm |
|
dude, awesome it worked! thanks thanks thanks. i actually looked at that file before but must have not read it right. |
| |
|
|
 |
|
|