Author Topic: ident_switch plugin  (Read 435 times)

Offline johnwayne

  • Jr. Member
  • **
  • Posts: 19
ident_switch plugin
« on: March 06, 2017, 03:00:19 AM »
looking for help manually installing the ident_switch plugin. im using rc 1.1.6

Offline johnwayne

  • Jr. Member
  • **
  • Posts: 19
Re: ident_switch plugin
« Reply #1 on: March 06, 2017, 04:44:09 AM »
i answered my own question, but now have a new one.

first, here's the manual installation steps - so that it can help someone else:
unzip the package from the repo and name the folder "ident_switch" and place it in the plugins directory of your rc installation.
add 'ident_switch' to the $config['plugins'] array in the main config.inc.php file.
you may need to edit the $config['identities_level'] value to allow the ident_switch settings for the additional identities to appear.
open your phpmyadmin and import the mysql.initial.sql file to add the necessary table to the database.

my new question, is:
the ident_switch plugin replaces the static display of the email account at the top of the interface in desktop view with the account chooser, but when using the melanie2 mobile rc skin, the static display of the email account is not replaced with the account chooser. any suggestions on how to achieve this?

Offline johnwayne

  • Jr. Member
  • **
  • Posts: 19
Re: ident_switch plugin
« Reply #2 on: March 06, 2017, 07:28:22 AM »
the melanie2 author has sent me a suggestion to potentially complete my second question, i will update once i can test it.
now to list a quirk in the ident_switch plugin itself: the server settings if entered when first creating the additional identity, will not be saved. you must first create the new identity, then thereafter edit the server settings for the then existing new identity.

so on to the next question: in all the places that roundcube allows the user to select between identities prior to this plugin - such as the compose window, etc. can the ability to select the other identities in roundcube be disabled? in effect locking the usage into whichever identity is currently selected by the chooser created by the plugin?

without that restriction, sent items and such can get misplaced into other accounts if the identity choice is made from the compose window instead of from the plugin chooser, and so on.

Offline 5kyy

  • Newbie
  • *
  • Posts: 2
Re: ident_switch plugin
« Reply #3 on: July 12, 2017, 12:26:32 AM »
Hello,
in current Roundcube 1.3.0 the Plugin didnĀ“t work...
Code: [Select]
TypeError: $truName.size is not a functionAny solutions?