| Upload files directly into the downloads section |
| Author | Text |
Jaanus Just arrived
Posts: 9

Gender:  Online: No |
Date: 09/06/2009 23:22 Upload files directly into the downloads section | #post20544 | Site url: http://kool.jaanus.cc
MemHT version: 4.0.1
Hosting OS: Windows
PHP and MySQL versions: 5.2.7
Installed addons/scripts: imageUP
Error/Problem: Is it possible for users to upload files directly into the downloads section? |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 09/06/2009 23:30 Re: Upload files directly into the downloads section | #post20545 | Users are not allowed to upload any kind of file except forum attachments (security reasons) |
|
 |
| |
Jaanus Just arrived
Posts: 9

Gender:  Online: No |
Date: 09/06/2009 23:32 Re: Upload files directly into the downloads section | #post20546 | I'm using the site as a repository for my school's cheat sheets/conspects. Every (accepted) user needs to be able to upload files and pictures. Is the only way really forum attachments?
I'd have to categorize them all by myself then. I was aiming for a more autonomous tiny community. |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 09/06/2009 23:38 Re: Upload files directly into the downloads section | #post20547 | At the moment it's the only way... but if you need, i can permit to your registered users to upload files. In any case, i suggest you to moderate the users registration or someone could hack you. |
|
 |
| |
Jaanus Just arrived
Posts: 9

Gender:  Online: No |
Date: 09/06/2009 23:43 Re: Upload files directly into the downloads section | #post20548 | | quote | mem:
At the moment it's the only way... but if you need, i can permit to your registered users to upload files. In any case, i suggest you to moderate the users registration or someone could hack you. |
Hacking is not a problem. I'm ready to take that risk.
If you could do that, I'd be really grateful. Do you need my FTP credentials or something? |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 09/06/2009 23:44 Re: Upload files directly into the downloads section | #post20549 | No, just wait few days and i'll reply here with the file |
|
 |
| |
Jaanus Just arrived
Posts: 9

Gender:  Online: No |
Date: 09/06/2009 23:57 Re: Upload files directly into the downloads section | #post20550 | Thanks a lot.
As I'm already bugging you, I have a few more questions.
1) When I enable (select) icons for the navigator block items, why is the text on a different line than the icon?
2) How could I make an image display on the login screen ONLY for guests, but for nobody else? |
|
 |
| |
d33j4y Junior Member
Posts: 70

Gender:  Online: No
Country: Inter-Mountain West, United States Languages: English Version: 4.0.1 |
Date: 10/06/2009 02:56 Re: Upload files directly into the downloads section | #post20551 | | quote | Jaanus:
Site url: http://kool.jaanus.cc
MemHT version: 4.0.1
Hosting OS: Windows
PHP and MySQL versions: 5.2.7
Installed addons/scripts: imageUP
Error/Problem: Is it possible for users to upload files directly into the downloads section? |
If security is a problem, you can specify which types of files can be uploaded! I allow .txt, .zip, and .rar files, everything else gets blocked! This is done through javascript! Perhaps an idea for Mem to implement if Mem hasnt done this already!?! I do look forward to this as well Mem, this would save me some time trying to convert my old submissions page with the one for MemHT!!!  |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 10/06/2009 10:47 Re: Upload files directly into the downloads section | #post20562 | 1) Because the template css style you're using, has a display block rule applied on the link. This means you have to chose between icons and the link rollover effect, you cannot use them both
2) Create a block with this code:
| code | <?php
if (stristr(htmlentities($_SERVER['PHP_SELF']), "block_NAMEOFTHEBLOCK.php")) die();
global $dblink,$userid;
if (!isUser($userid)) {
echo "You're guest";
}
?> |
|
|
 |
| |
d33j4y Junior Member
Posts: 70

Gender:  Online: No
Country: Inter-Mountain West, United States Languages: English Version: 4.0.1 |
Date: 18/06/2009 16:25 Re: Upload files directly into the downloads section | #post20741 | | quote | mem:
No, just wait few days and i'll reply here with the file |
Hey Mem!! I was just checking to see about that file fix for for the download submission page [Uploads] as I too am in need of this!!!  |
|
 |
| |