Download Manager

Creating and modifying plugins.
Smartphoner
Regular
Posts: 17
Joined: Thu Jul 28, 2005 3:21 pm
Contact:

Download Manager

Post by Smartphoner »

I am looking for a download manager. Does it exist ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Download Manager

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Smartphoner
Regular
Posts: 17
Joined: Thu Jul 28, 2005 3:21 pm
Contact:

Post by Smartphoner »

No, downloads like zip files and others.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
alphalogic
Regular
Posts: 14
Joined: Mon Jul 25, 2005 12:11 am

Post 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
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

would be good

Post by Xanthouos »

I would also appreciate such a plug-in. Someone else made a similar request here.
dma147

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post 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. ;)
Alexander Mieland, dma147
http://blog.linux-stats.org
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post 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
Alexander Mieland, dma147
http://blog.linux-stats.org
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

Greatly looking forward to this.

Keep up the good work! :wink:
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post 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.
Alexander Mieland, dma147
http://blog.linux-stats.org
Smartphoner
Regular
Posts: 17
Joined: Thu Jul 28, 2005 3:21 pm
Contact:

Post by Smartphoner »

Fantstic !!!
www.romankeller.ch :: Der Blog für Macuser und die es noch werden möchten
------------------------------------------
Owner of iBook G4 12" & SonyEricsson W800i
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post 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...
Alexander Mieland, dma147
http://blog.linux-stats.org
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

PLUGIN FINISHED!

Post 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.
Alexander Mieland, dma147
http://blog.linux-stats.org
Post Reply