Page 1 of 4
Download Manager
Posted: Thu Aug 04, 2005 7:04 pm
by Smartphoner
I am looking for a download manager. Does it exist ?
Re: Download Manager
Posted: Thu Aug 04, 2005 7:18 pm
by garvinhicking
You need to be a bit more specific...what do you mean?
A plugin manager like Spartacus, which downloads plugins over the web?
Regards,
Garvin
Posted: Fri Aug 05, 2005 1:22 am
by Smartphoner
No, downloads like zip files and others.
Posted: Fri Aug 05, 2005 11:43 am
by garvinhicking
Sorry, I still don't understand what you want.
If you click in the s9y interface on "Add media files" you can download files from HTTP URLs to your media library.
If that is not what you want, you need to explain it so that we know what you want.
Regards,
Garvin
Posted: Fri Aug 05, 2005 12:51 pm
by alphalogic
i think he's looking for something like a downloads plugin/module where you can offer files for downloading - search thrue them and can categorize them
would be good
Posted: Tue Aug 09, 2005 3:51 pm
by Xanthouos
I would also appreciate such a plug-in. Someone else made a
similar request here.
Posted: Thu Sep 08, 2005 1:47 pm
by dma147
I also want to have such a plugin!
I've already tried to write such a plugin by myself, but the plugin-api is really hard to understand...
I've copied the guestbook-plugin and after some major modifications I thought, it will need an own administration for adding files, like the RSS-Aggregator-plugin, and it would be nice to also have a box on the side with the most downloaded downloads... So I have stopped my work at the copied guestbook-plugin again, because this doesn't have such features.
I've thought to copy the rss-aggregator then, but this is really, really hard to understand.
PLEASE, can someone write such a downloadmanager/filemanager plugin with the features above?
Sincerely
--
Alexander Mieland, dma147
http://blog.linux-stats.org
Posted: Thu Sep 08, 2005 3:15 pm
by garvinhicking
You must differ between sidebar plugins and event plugins.
Have a look how the staticpage plugin provides both plugins to show a staticpage and the list of staticpages in the sidebar.
You can have a look at the serendipity_event_thumbnails plugin for a plugin that shows some PHP content in a content pane - or look at other plugins like mycalendar that emit user-defined content in its own page.
Best regards,
Garvin
Posted: Fri Sep 09, 2005 1:38 am
by dma147
okay girls and guys...
I'm now workin on such a downloadmanager plugin. But it wil ltake some time, the whole stuff around serendipity (the api) is very new to me and so I have to learn, how to connect to the plugin-interface of serendipity first.
But I'm learning very fast and the first code has find its way into my plugin.
I've already finiished the stuff for installing and configuring the plugin and nhow I'm working at the code for adding, deleting and modifying download-categories.
I hope, that I'll get this stuff to work.

Posted: Sat Sep 10, 2005 12:14 pm
by dma147
hmmmm....
I love this plugin-interface of serendipity a bit more every minute... *g*
It's not as difficult as I thought before...
The downloadmanager-plugin grows and grows. I've finished the whole stuff with the categories. Now I'm at the point to import files from a incoming directory which would be needed for bigger files which can not be uploaded through php. (This needs safe_mode Off on the target server!)
btw. I've jused nested sets for the categories, so you will be able to add as much categories, subcategories, sub-subcategories, and so on, as you want.
I think I will have finished this plugin in about two or three days, because I also have something other stuff to do than only to code on this plugin. *g*
Sincerely
Posted: Sat Sep 10, 2005 1:02 pm
by Xanthouos
Greatly looking forward to this.
Keep up the good work!

Posted: Sat Sep 10, 2005 4:24 pm
by dma147
just again a status update...
I'm faster in coding this plugin than I thought before... well, because it is much easier, than I thought before. *g*
I've completly finished the work on the admin-part of the downloadmanager-plugin and I've also already finished the output of the categories and files in the user-part.
I'm just working on the last thingy (i think) - the download of the files.
I think, I can release this plugin much sooner, than I thought in the post above. Maybe I can finish the whole work on it today.
Posted: Sat Sep 10, 2005 4:27 pm
by Smartphoner
Fantstic !!!
Posted: Sat Sep 10, 2005 6:41 pm
by dma147
Can someone help me please??
The plugin needs to send some headers to stream the file to the client-browser, before serendipity sends the whole page.... any ideas?
I've made it with a little popup window until now, which starts the download, but this is not self-closing, because I can't check, when to close this window. If I'll close it to early, the download can not start.
The second thing with this popup is, that it is absolutly blank and white, without any text in it which remembers the user to close this window again.
When I'll add such a text into this popup, it will append this to the file-stream.
The popup is really not a good solution, i think...
PLUGIN FINISHED!
Posted: Sat Sep 10, 2005 9:38 pm
by dma147
Yeah! My
very first serendipity plugin is finished and available for download!
You can find the downloadmanager-plugin here:
http://blog.linux-stats.org
(On the left side, click on "DOWNLOADS", which already is this downloadmanager-plugin! *g*)
Enjoy it!
I hope that you're impressed of my really hard work.
Things to do in the next time:
- Add more mime-type icons
- Get rid of that annoying popup when downloading a file.