Roundcube Community Forum

Release Support => Pending Issues => Topic started by: JMV on January 23, 2017, 10:12:18 AM

Title: Insert default signature for new users
Post by: JMV on January 23, 2017, 10:12:18 AM
Hello,

I would like all my new users have a default http signature that they can customize after (name, phone...).
I can't use generic_message_footer because thez can't customize or remove it.

I only want to propose the standard corporate signature

thank you
Title: Re: Insert default signature for new users
Post by: SKaero on January 23, 2017, 05:08:09 PM
I don't think there is an option for that out of the box, but you could use a plugin to do it. Take a look at the new_user_dialog for an example of what could be done.
Title: Re: Insert default signature for new users
Post by: rm13 on January 24, 2017, 11:38:59 PM
The new_user_dialog plugin may give you a place to start. It would need modified to include a boilerplate signature if that's what you want.

Title: Re: Insert default signature for new users
Post by: JMV on January 26, 2017, 03:22:23 AM
Resolved.

The main modification is this line. Is needed i can share my file new_user_dialog.php

ORIGINAL : 'signature'    => rcube_utils::get_input_value('_signature', rcube_utils::INPUT_POST),
MODIFIED : 'signature'    => rcube_utils::parse_input_value('<p><strong>Signature ECOLE en html</strong></p>

Thank you