Author Topic: plugins zipdownload  (Read 22327 times)

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
plugins zipdownload
« on: May 30, 2012, 06:23:43 AM »
Hi all,
I just add the plugins zipdownload, and i add it in $rcmail_config['plugins'] , but it's not appear in my email when i have more than one file to download.
There is any thing that i forgot ??
Thank's for help.

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #1 on: May 31, 2012, 05:58:23 AM »
hi again,
I  have this error in file log: roundcube: PHP Error: No plugin class zipdownload
Thank's for help


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: plugins zipdownload
« Reply #2 on: May 31, 2012, 09:48:26 AM »
Did you put the zipdownload folder in the plugins directory?

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #3 on: May 31, 2012, 03:40:38 PM »
Hi,
Yes the zipdowload is in my plugins folders.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: plugins zipdownload
« Reply #4 on: June 01, 2012, 04:21:51 AM »
And the folder is named zipdownload?

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #5 on: June 02, 2012, 03:09:17 AM »
Hi again,
Yes , the same name .... :'(

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: plugins zipdownload
« Reply #6 on: June 02, 2012, 03:30:39 AM »
Can you post the top of the main plugin file?

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #7 on: June 04, 2012, 03:21:44 AM »
hi ;
Here is the config file of zipdonwload.

<?php
  2
  3 /**
  4  * ZipDownload configuration file
  5  */
  6
  7 // Zip attachments
  8 // Only show the link when there are more than this many attachments
  9 // -1 to prevent downloading of attachments as zip
 10 $rcmail_config['zipdownload_attachments'] = 1;
 11
 12 // Zip entire folders
 13 $rcmail_config['zipdownload_folder'] = false;
 14
 15 // Zip selection of messages
 16 $rcmail_config['zipdownload_selection'] = false;
 17
 18 // Charset to use for filenames inside the zip
 19 $rcmail_config['zipdownload_charset'] = 'ISO-8859-1';
 20
 21 ?>

Thank's for help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: plugins zipdownload
« Reply #8 on: June 04, 2012, 12:52:02 PM »
I ment the the main plugin php file it should be titled something like zipdownload.php

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #9 on: June 04, 2012, 01:17:57 PM »
There is it in attachement.
Thank's a lot for help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: plugins zipdownload
« Reply #10 on: June 04, 2012, 01:32:25 PM »
And your still getting the "No plugin class zipdownload" error in your error log?

Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #11 on: June 04, 2012, 02:44:02 PM »
Hi again,
Yes still have the same error
Thank's again

Offline Yoni

  • Full Member
  • ***
  • Posts: 164
    • MyRoundcube
Re: plugins zipdownload
« Reply #12 on: June 05, 2012, 12:43:06 AM »
Remove the zipdownload plugin you have in your .../plugins/   folder and try this one out... I have configured the config.inc.php file for you as well. try it and let us know.


Offline tulipe

  • Jr. Member
  • **
  • Posts: 22
Re: plugins zipdownload
« Reply #13 on: June 05, 2012, 05:29:47 AM »
Hi,
It's works ,thank's a lot.
Now i have this error if u can help me again:  roundcube: PHP Error: Deprecated hook name. user_preferences
Thank's again.

Offline Yoni

  • Full Member
  • ***
  • Posts: 164
    • MyRoundcube
Re: plugins zipdownload
« Reply #14 on: June 05, 2012, 10:03:06 AM »
Hmmm... are you running the latest version? The last version uses the preferences_list hook instead of user_preferences that's why you see that php error. It is nothing serious though. Most likely you have a plugin installed that calls user_preferences instead of preferences_list. Update your plugins and this error should be gone.