Roundcube Community Forum

 

plugins zipdownload

Started by tulipe, May 30, 2012, 06:23:43 AM

Previous topic - Next topic

tulipe

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.

tulipe

hi again,
I  have this error in file log: roundcube: PHP Error: No plugin class zipdownload
Thank's for help


SKaero

Did you put the zipdownload folder in the plugins directory?

tulipe

Hi,
Yes the zipdowload is in my plugins folders.

SKaero

And the folder is named zipdownload?

tulipe

Hi again,
Yes , the same name .... :'(

SKaero

Can you post the top of the main plugin file?

tulipe

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

SKaero

I ment the the main plugin php file it should be titled something like zipdownload.php

tulipe

There is it in attachement.
Thank's a lot for help

SKaero

And your still getting the "No plugin class zipdownload" error in your error log?

tulipe

Hi again,
Yes still have the same error
Thank's again

Yoni

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.


tulipe

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.

Yoni

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.