Forums / Cotonti / Development / Question PFS

<<<12

PFS new system

pieter
#16 2010-02-24 03:43
No he mean that you can select multiple files it you click browse.
eg to upload all files in a directory.

In the current PFS you need to browse and select one file. And do it again for the second file. And so on.
... can we help you ...
donP
#17 2010-02-24 20:27
We've posted together ;)
in [color=#729FCF][b]BLUES[/b][/color] I trust
pieter
#18 2010-02-24 23:57
# donP : Not like that!
With "Multi-upload" I mean selecting more than one file (also 30-40 per time) from an explorer-like window and click one "upload" button to upload them in one turn, viewing a porcess bar while the script uploads selected files to the Server (for that reason I mentioned flash applications, like swfupload).
Actually, with the old lady, if you have to upload a very huge number of files (like the case of a gallery folder) you have to click 8 times the file input form in PFS and select files one by one, and repeat this operation till the end of your hundreds of files :(
Very annoying!

Last but not least, I think it would be a good thing to implement drag&drop feature (with JS/ajax) between PFS window and markitUp...

Indeed,
donP, if you need a lot of files to upload, you can use Import.
... can we help you ...
ez
#19 2010-02-25 02:38
In that case... I am not developing a multi upload.. :(
This was a mixup in terms.
==- I say: Keep it EZ -==
donP
#20 2010-02-25 07:19
pieter:
Indeed,
donP, if you need a lot of files to upload, you can use Import.
With Import plugin you must use FTP first (so the Cotonti CMS is not totally functional from everywhere on the web, via browser, and not even for a simple user, but only a Server-Admin with FTP account must go everytime on his own PC at home to manage files... What about if you were on holiday and you want to upload a photogallery of your travel from an Internet point? And what about if you are a simple user?)...

I think our PFS is a very very poor... a real Achilles heel for Cotonti... :(
in [color=#729FCF][b]BLUES[/b][/color] I trust
ez
#21 2010-03-01 02:44
I have just submitted a working version off my upload part for the pfs replacement i am building.

It will be in the plugin section. it is called ezpfs.


Tell me what you think :)

Added 12 days later:

I think I just saw a trunk rollback for the pfs....
It is a shame that we have to go back.

I found an interesting project for a multiple file upload control:

http://www.swfupload.org/

Maybe someone can use this..... (there are ppl that want this)
==- I say: Keep it EZ -==
This post was edited by ez (2010-03-13 06:26, 14 years ago)
Trustmaster
#22 2010-03-13 13:28
Functionality-wide, the rollback has affected just a few things:
  • no physical file structure, back to the old structure
  • no on-the-fly resizing with SIR (Simple Image Resizer)
Though, the PFS is not the same as in Genoa, it has a better use of templates and resource strings. Probably there will be some other small enhancements.
May the Source be with you!
donP
#23 2010-03-13 20:39
Tpl and resources string are good in PFS. I think a serious PFS (in Siena) must have:

1. Ability do link every public file from other usurs (not only personal files)
2. MultiUpload (I personally use SWFUpload, but we need to integrate better in Cotonti.
3. Better interface in linking images (form PFS or other url, with the ability to specify alt and title tags for W3C and SEO optimizing).
4. A new thumbs system (not like actual, too confusing and with too many files around, but a windows-like system with dynamic thumbindex [one-file] creation).
in [color=#729FCF][b]BLUES[/b][/color] I trust
GHengeveld
#24 2010-03-14 08:36
Interesting topic here. I'm glad most of you like what I was working on.
I've been in contact with Trustmaster and concluded to rollback to PFSv1 + templates for now. I'd really like to continue work on v2 but I really don't have the time to do that at least until May.
When I said I'd leave Cotonti this was intended as a mention of absense. Right now there are some projects that need my attention which are not based on Cotonti. The one project that does use Cotonti doesn't use PFS. When working on the new PFS my main pitfall was the multi upload. I'd really like to see someone else taking on this task (uploading and adding to DB).

Concerning the physical folders, I suggest using mod_rewrite and sed_url() with callback to build fake subfolders, and putting all the actual files in the same folder, all with a random filename. File download should happen through a seperate script so you can track downloadcount and rebuild the filename.
Elgan
#25 2010-03-14 11:52
tis an interesting topic, especially to come back and revisit cotonti on.

will be nice to see new PFS. me site is now really out of date with releases it seems :\

Multi uploader?

it can be done a few ways but i really wanted it to login correctly and not just send stuff. so i spent some time intergrating it into cotonti better. the trouble is cotonti kept changing with new relases...well at least between the releases while i was working on it.

I had it working pretty well with the version of cotonti i built the gallery for. It was just a case of passing the Xp and cookies and stuff to the server and then resending back to the JS the new cookies and P which changes. Not sure how cotonti has changed but it worked fairly ok most of the time....yeah sometimes it failed...im not sure why. dates of cookies and sessions i assumed. As it was then logging in, adding to DB was easy.....

<<<12