Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with themes and request #6

Closed
topoldo opened this issue Sep 23, 2020 · 9 comments
Closed

Problems with themes and request #6

topoldo opened this issue Sep 23, 2020 · 9 comments

Comments

@topoldo
Copy link

topoldo commented Sep 23, 2020

Dear developer,
I tried to install your plugin into the latest version of roundcube (1.4.8)
I was successfull and it seems to work using with the elastic theme.
BTW I also made the localization into Italian and I can submit it to you if you're interested in.

Anyway, if I check what happens with classic theme, I get what I report in the image below.
Larry theme has similar problems.
Beside, I would like to ask you if it could be make possible to set the warn "outside of your organization" optional or, at least set mails coming from subdomains of a main domain without any warn.
I mean: we have a main domain which is @unipd.it. However we set roundcube for using it with our subdomain, ie @bio.unipd.it. Moreover, inside our University, we have other subdomains like @math.unipd.it, @dei.unipd.it, @stat.unipd.it etc...
It could be userful if your plugin avoid to warn for emails coming from the main domain and from other subdomains if it is not possible to make optional at all the warn for external organization mails.

Regards,
Topoldo

d302b061

@pulsejet
Copy link
Owner

Hi

I just tested on a fresh installation of Roundcube 1.4.8 and all three skins seem working fine. Are your sure there's no other plugin which is interfering etc.?

For the external warning, you need to configure the following (note that this has to be done in config.inc.php of the plugin in the plugin directory and NOT the global configuration file)

$config['org_email_regex'] = "/@(.*\.|)unipd\.it/i";

This is a regex match that'll mark all mails from the domain or subdomain as internal.

Would be happy to accept any PR for localization. Thanks!

@topoldo
Copy link
Author

topoldo commented Sep 23, 2020 via email

@topoldo
Copy link
Author

topoldo commented Sep 23, 2020 via email

@topoldo
Copy link
Author

topoldo commented Sep 23, 2020

I probably understood what was the problem. There is no conflict with other plugins!
The problem was with avatar!
I set
$config['avatar_images'] = true;
But avatar size of is too large to fit the rows of Larry or Classic themes.
This probably was the sense of the other issue raised for this plugin.
So IMHO there should be something in the code which automatically inhibits the use of avatar in Classic and Larry themes, allowing it only if it is set to the elastic one.
Alternatively, there should be different avatars with different sizes which should be to set depending on the theme used.

Thanks for your attention.
Topoldo

@pulsejet
Copy link
Owner

That's strange. The avatar images are constrained to fit within the container, so they shouldn't be overflowing. I've also tried classic+avatars and larry+avatars and it behaves as expected for me.

@topoldo
Copy link
Author

topoldo commented Sep 24, 2020 via email

@pulsejet
Copy link
Owner

Ahh managed to repro now. The issue occurs when Settings > Mailbox View > Layout is set to Desktop or List instead of 3-column view. Let's see if a fix is possible.

@pulsejet
Copy link
Owner

pulsejet commented Sep 25, 2020

Should be fixed in latest release (1.2.7). Also includes the italian localization.

@topoldo
Copy link
Author

topoldo commented Sep 25, 2020

Fixed!
Tnx
Topoldo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants