cotonti.com : Question PFS https://www.cotonti.com Последние сообщения в теме Cotonti en Tue, 16 Dec 2025 14:54:18 -0000 Elgan
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.....]]>
вс, 14 мар 2010 11:52:44 -0000
GHengeveld 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.]]>
вс, 14 мар 2010 08:36:51 -0000
donP
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).]]>
сб, 13 мар 2010 20:39:32 -0000
Trustmaster
  • 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.]]>
сб, 13 мар 2010 13:28:53 -0000
ez
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)]]>
пн, 01 мар 2010 02:44:28 -0000
donP 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... :(]]>
чт, 25 фев 2010 07:19:16 -0000
ez
This was a mixup in terms.]]>
чт, 25 фев 2010 02:38:41 -0000
pieter # 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.]]>
ср, 24 фев 2010 23:57:43 -0000
donP ]]> ср, 24 фев 2010 20:27:20 -0000 pieter 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.]]>
ср, 24 фев 2010 03:43:28 -0000
donP 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...]]>
ср, 24 фев 2010 03:42:42 -0000
ez Later I was thinking.... (what do you mean exactly by multiupload....)
On the current cotonti version you can upload multiple files in one go..
SO you can use this already??

I was a bit puzzled by your remark.]]>
ср, 24 фев 2010 02:51:52 -0000
donP ez:
1) Yes it's multiuploadGREAT!!! ;)
ez:
But i think that Koradhils work is for folders in folders ?????
Yes, Koradhils work was based on folders in folders mode.
So, I actually use folder mode, in other words: datas/users/user_id/files.ext (one folder per user).
Koradhils mode was: datas/users/user_id/subfolder1/files.ext, datas/users/user_id/subfolder1/subsubfolder/files.ext... then FISICAL folders... :/
I think if my website has 1000 users and each has at least 20 subfolders under his PFS folder, the datas/users/ folder on the Server would be a real jam, with many problems...

I think the old lady (but folder mode, not old userid mode) it's good enough.
The only features we need are multi upload, better TPL, better interface when pasting a file in markitUp editor (with the ability to insert also alt and title attributes for images and href description for other files...
Also, I would have the ability to view and use files that are uploaded like plublic by any user, so, if you upload a file in your file space and you set it as public I also can link to that file from my "file insert" module in markitUp...]]>
ср, 24 фев 2010 01:07:52 -0000
ez
tensh:
I might help you with PFS project if you like, Ez. I have some nice ideas.
Great.. Just send me the ideas.. any good stuff is appreciated.
Maybe we can combine forces to make a better pfs :)

@donp
donp:
But, your techniques are for multi-uploads? I think it's a must-have feature...
About Koradhils work, personally I think the actual folder system (one folder per user) is quite enough (a subfolder system would be a traffic jam in Server structure with many users using pfs
1) Yes it's multiupload
2) i think also that a single folder is good enough.. But i think that Koradhils work is for folders in folders ?????]]>
ср, 24 фев 2010 00:45:11 -0000
Trustmaster вт, 23 фев 2010 21:55:36 -0000 tensh

I might help you with PFS project if you like, Ez. I have some nice ideas.
Also, I might further improve the gallery I converted and adjust it to a new PFS. For example, there's one nice working free CGI script that allows uploading of big files despite php restrictions... dunno if it will be helpful, though.]]>
вт, 23 фев 2010 19:29:23 -0000
donP # pieter : That's why I use the gallery Tensh converted to Cotonti.
Also a nice one.

I also use usergallery I personally converted from Sedition, but it has got some bugs in comments and ratings, and needs a core hack to pfs.inc.php... :(

# ez: No I will not be using flash.. (actually i do not like flash app's)
But I will make it nice and good to use. based on good techniques (jquery ajax,json,tpl).

I hope someone can finish koradhils work...

But, your techniques are for multi-uploads? I think it's a must-have feature...

About Koradhils work, personally I think the actual folder system (one folder per user) is quite enough (a subfolder system would be a traffic jam in Server structure with many users using pfs, I think)...
I think your project would be a great goal for the next release (not Siena but 0.6.7 one ;) )]]>
вт, 23 фев 2010 16:49:49 -0000
pieter # donP : I'm very sad... a good PFS system and a simple Gallery (with category structure) system based on Cotonti PFS were the first goals in my wish list... :(

I know the feeling.
That's why I use the gallery Tensh converted to Cotonti.
Also a nice one.]]>
вт, 23 фев 2010 03:39:31 -0000
ez No I will not be using flash.. (actually i do not like flash app's)
But I will make it nice and good to use. based on good techniques (jquery ajax,json,tpl).

I hope someone can finish koradhils work...]]>
вт, 23 фев 2010 02:09:26 -0000
donP :/ :(

Ez, are you implementing a flash multi-upload system?

So, also Koradhil simple gallery (based on his new PFS) is a dead project now?

I'm very sad... a good PFS system and a simple Gallery (with category structure) system based on Cotonti PFS were the first goals in my wish list... :(]]>
вт, 23 фев 2010 02:00:25 -0000
ez пн, 22 фев 2010 18:33:33 -0000 Trustmaster
Currently PFS has no maintainer. If there is nobody to continue PFS 2.0 until, say, 10th of March, we will just roll back to the old version + templates + resources.]]>
пн, 22 фев 2010 18:15:07 -0000
ez : I use folder storage mode...

I know that gert has left cotonti, i 'spoke' to him december... it is really to bad :(

What do you mean by "(we have such a version of it already)" ????
If so i am interested...

Trustmaster:
What are you going to implement in your PFS version?

I only want a better RIA, web20 solution for uploading files and a better selection when using in pages.
BUT I have some nice techniques lying around now... and I could build the whole pfs again...
(based on the old lady.... but only now in RIA and not all in 1 php file and hardcoded html)

BUT I do not want to differ from Cotonti to much.....
So that's why I want to know the status off pfs. ( Is there a time estimation ???)

Kilandor is working on pfs now is he ????]]>
пн, 22 фев 2010 18:02:09 -0000
Trustmaster
For more details on the new PFS, check the topic.

There is a big problem about it, though. As you know, Koradhil has left Cotonti and discontinued work on the PFS 2.0. Currently there are 2 possibilities:
  1. To roll PFS back to "the old lady" and apply TPL & RC support (we have such a version of it already)
  2. To find somebody who will continue Koradhil's work
The first way is very easy. But it means just dropping all the Korad's work, whereas some of it is really good (e.g., I like PFS functions).

What are you going to implement in your PFS version?]]>
пн, 22 фев 2010 17:39:15 -0000
ez
Is the New 0.7 pfs ready for use...? (Because the old pfs should not be used any more)

The reason I ask, is because I am busy building a new pfs based on ajax,json and off course with TPL
I need this (yesterday :D ) for a project off mine... they don't like the pfs (i cannot blame them)
So I am building a new one :) (based on the old lady, but now on a good way).
(I have rebuild the upload files completely now)

But before I go further I would like to know some info about te current status off the new pfs..

By the way (if interested, i could share my stuff)]]>
пн, 22 фев 2010 17:20:08 -0000