MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedReply
Upload files directly into the downloads section
AuthorText
Jaanus
Just arrived

Posts: 9
Contributes: 9

Gender: _NEUTRAL_
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?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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)
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Jaanus
Just arrived

Posts: 9
Contributes: 9

Gender: _NEUTRAL_
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.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Jaanus
Just arrived

Posts: 9
Contributes: 9

Gender: _NEUTRAL_
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?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Jaanus
Just arrived

Posts: 9
Contributes: 9

Gender: _NEUTRAL_
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?
Delete Edit Quote
 
d33j4y
Junior Member

Posts: 70
Contributes: 73

Gender: _MALE_
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!!! Smile
Image
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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";
        }

?>
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
d33j4y
Junior Member

Posts: 70
Contributes: 73

Gender: _MALE_
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!!! Smile
Image
Delete Edit Quote
 
Reply
Page 1/2 1 2 >
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.230

Username
Password
MemHT Wiki
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo