View Single Post
Old October 8th, 2005, 01:19 PM   #1 (permalink)
Johnny Doomo
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Exclamation Unregistered users "bug" / problem letting them upload

I noticed the bulk upload fix for unregistered users didn't make it into 5.2. I applied the same fix: unregistered users unable to use multiple upload fields(FIXED) that was given before and it works. Maybe it turns into a problem if you don't allow unreggs to upload.

Anyhow, the actual "bug" I noted, though you may call it a feature just because you can't fix it is this:

I noticed that before I fixed the bug above, where I would use multiple upload fields as the unregged user that it would error out, but it was still uploading the images to the folder on the server. Then when I fixed the bug using the url posted above, and I tested it to see if it was fixed, it showed all the images that I had previously tried to upload as a unregistered user. This brought to mind a serious problem using this software and allowing unregistered users to upload.

Say my site is a huge success and I get 20+ unregistered users online at a time all uploading images. As far as I can see, there is nothing to stop Photopost from puting other peoples uploaded images onto the image processing page after a bulk upload has been done. So one unregistered users could in fact see another unregistered users images on their processing list. I think the really cool thing to do would be to make it so that everytime an unregistered user uploaded it put them in a new directory on the server and then once all the specs of title, description, keywords, etc. were set, then the server move it over to the universal unregistered users image directory. This way it would prevent the problem... BUT since it's unlikely that will happen since appearantly not to many people allow unregisterd users can you please give me this work around.

I was hoping to get a code modification that would allow me to set it so that unregistered users are only shown 1 upload field. Since single images are immediately processed this would completely solve the problem. I would really like to keep the allowing of unregistered users to upload even if it's one image at a time, because I believe it's a strong attraction in getting people to the site and then registering later.

Can you please please PLEASE tell me how I could go about getting it so unregistered users only see 1 upload field, while registered users continue to see how ever many are specified from the AdminCP? I would really appreciate this.

Thanks for any type of code, direction or advice you can give me on this subject, as it's very important to the overall idea of my site.
Johnny Doomo is offline   Reply With Quote