Author Topic: Misc Questions  (Read 8654 times)

Offline techdude

  • Jr. Member
  • **
  • Posts: 38
Misc Questions
« on: June 20, 2009, 10:02:11 PM »
This might sound stupid...but how do I add a plugin to the main.inc.php file?  I understand that you place it in the plugins folder and then you need to add something to the main.inc.php file but I don't know where or how to add it to the main config file.

I see the following in the main config file...do I put something there?


// use this folder to search for plugin sources
$rcmail_config['plugins_dir'] = 'plugins/';

// List of active plugins. Add the name of a directory found in 'plugins_dir'
$rcmail_config['plugins'] = array();

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Misc Questions
« Reply #1 on: June 21, 2009, 06:44:02 AM »
Hi, you need to add the name of the directory you added in the plugins folder to the array in $rcmail_config['plugins'].

For example say you installed the password plugin, you have put a directory called password in the plugins folder so now you goto your main.inc.php and set $rcmail_config['plugins'] = array('password');. If you have multiple plugins when you set it like this: $rcmail_config['plugins'] = array('plugin1','plugin2','plugin3');.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #2 on: June 21, 2009, 07:12:32 AM »
@techdude:

Please notice: There were major changes in RoundCube since v03beta. Please use current SVN trunk release instead of beta to make sure that plugins work as expected! I see you are using beta release because $rcmail_config['plugins_dir'] = 'plugins/'; has been removed meanwhile.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline wesleyh

  • Newbie
  • *
  • Posts: 5
Language selector question
« Reply #3 on: August 27, 2009, 02:30:28 AM »
Hi list,

I installed rcu 0.3-RC1. Everything works fine, when I add the
Language Selection plugin I can login with en_US, but when I select
any other language it just doesn't do anything. I already tried adding
the taskbar and the captcha
plugins because I've seen some warnings about that in the error_log.
This fixes the warnings but not the issue.

Someone had an idea?

Thanks,
Wesley Hof,
Unix system engineer,
KPN Belgium.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #4 on: August 27, 2009, 09:26:30 AM »
Please install exactly that SVN revision which the package is designed for. Refer to link posted @ myroundcube - Project Hosting on Google Code [Project Home].
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline wesleyh

  • Newbie
  • *
  • Posts: 5
Misc Questions
« Reply #5 on: August 31, 2009, 03:46:33 AM »
Hi, I just downloaded the tar.gz 0.3-RC1 and the latest trunk of plugins, so that is nog enough?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #6 on: August 31, 2009, 03:48:55 AM »
No, there is a great difference between 0.3-RC1 and current SVN trunk version which is heading up to stable. My plugins are compatible with the SVN version posted on the project page.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline wesleyh

  • Newbie
  • *
  • Posts: 5
Misc Questions
« Reply #7 on: September 03, 2009, 04:15:58 AM »
Hi Rosali,

Thanks for your reply. I don't get it to work with the lang_sel plugin.

I installed roundcubemail-trunk-r2907-20090901 and took the lang_sel plugin from the r-2908 trunk. I removed the captcha line in the config because I only what the lang sel and the tasksbar.

For some reason when I login in en_US it works, all other languages get me on the same page again. Can you please give me a practical example on how to get this to work ?

Many thanks in advance already for the great plugin development.

-W

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #8 on: September 03, 2009, 05:20:01 PM »
http://mail4us.net/

It is recent SVN trunk with all my plugins enabled. Disable hmail specific plugins, plugins which need database adjustments and those you simply don't want to use and report when the error occurs.

To reproduce the issue is the half way to the solution.
« Last Edit: March 22, 2010, 02:09:32 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline wesleyh

  • Newbie
  • *
  • Posts: 5
Misc Questions
« Reply #9 on: September 04, 2009, 04:09:01 AM »
Rosali,

That I know, but can you tell me exactly what svn roundcube trunk that is and which plugin trunk ? I cannot find a rc version and plugings trunk with exactly the same version (I now have r2907 roundcube and 2908 plugins)

W

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #10 on: September 04, 2009, 07:16:08 AM »
Only the default password plugin was effected by changes in r2908. So it's ok to use SVN r2907 and r2908 plugins.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline wesleyh

  • Newbie
  • *
  • Posts: 5
Misc Questions
« Reply #11 on: September 07, 2009, 02:17:42 AM »
ok, that is what I'm doing now. I disables captcha and taskbar in the lang_sel config. But still only english works ... all the rest gets me to te same page.

Any ideas what I'm doing wrong ?

W

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #12 on: September 07, 2009, 04:11:43 AM »
Should not be related to your problem, but don't change this. It tells the plugin which localizations of other plugins have to be loaded.

Any chance to give me remote access (http to the webmail and full ftp to roundcube folder)? PM'me!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #13 on: September 09, 2009, 12:59:30 AM »
@ weslyh solved by r2916 release
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Misc Questions
« Reply #14 on: January 25, 2010, 05:15:56 AM »
starter - will be deleted
Regards,
Rosali
__________________
MyRoundcube Project (commercial)