Roundcube Community Forum

Third Party Contributions => Old Style Plug-Ins => Topic started by: nolit on January 09, 2007, 06:44:39 PM

Title: Global signature
Post by: nolit on January 09, 2007, 06:44:39 PM
I was just wondering if this plug in has been created already. I think it is a cool idea to force all users to have a signature of a link to your website. Something like what yahoo has at the bottom of each email.

It will be a cool way to really advertise your site.
Title: Re: Global signature
Post by: zorensen on January 09, 2007, 06:50:51 PM
Hi.

This has already been integrated in RoundCube, and you can use it by editing youy main.inc.php config file.
Look after this string :
$rcmail_config['generic_message_footer'] = '';

Edit this to whatever you like, for example:
$rcmail_config['generic_message_footer'] = 'http://www.roundcube.net';


Save and upload to your server when you are done, and you will get this in the footer of every mail sent with your RoundCube system :-)
Title: Re: Global signature
Post by: nolit on January 09, 2007, 07:08:49 PM
COOL THANKS A REALLY LOT!
Title: Re: Global signature
Post by: zorensen on January 09, 2007, 07:19:40 PM
No problem, we are all here to help 8)
Title: Re: Global signature
Post by: jpweb on February 03, 2007, 01:35:34 AM
I have added footer but it will not show in emails
Title: Re: Global signature
Post by: nolit on February 12, 2007, 04:44:16 AM
zorensen's exmple was actually wrong. you need to put in the file name of the text file which will be your footer.

create a text file and put in the footer you want to appear. Then save it as footer.txt or whatever you want to name it then edit your main.inc.php

$rcmail_config['generic_message_footer'] = 'footer.txt';

hope this helps

Title: Re: Global signature
Post by: jpweb on February 12, 2007, 09:22:26 AM
Thanks TXT file worked for me.
Title: Re: Global signature
Post by: minoan on March 23, 2007, 07:10:46 AM
This worked for me too but there is a small problem.

I created the .txt file and it inserts the text from the .txt file in every message with out brakes.

For example the .txt file looks like:
Code: [Select]
__________________________
Here is the footer text

but the sent e-mail looks like:

Code: [Select]
Hello guys!
This is a test e-mail!__________________________Here is the footer text

What can i do to make it have brakes?
Title: Re: Global signature
Post by: Adam on April 24, 2007, 02:49:05 AM
Quote from: minoan
This worked for me too but there is a small problem.

I created the .txt file and it inserts the text from the .txt file in every message with out brakes.

For example the .txt file looks like:
Code: [Select]
__________________________
Here is the footer text

but the sent e-mail looks like:

Code: [Select]
Hello guys!
This is a test e-mail!__________________________Here is the footer text

What can i do to make it have brakes?

Anyone got an answer for this? I'm struggling with the same problem!

Thanks,

Adam
Title: Re: Global signature
Post by: Adam on April 24, 2007, 02:59:15 AM
Ok,

I have put html breaks in (
 ) and that works when composing in html format.

In plain text it displays the
, However if these are taken out it all works ok.

Anyone know how to make it work whether the email is created in HTML or plain text?

Thanks,
Adam
Title: Re: Global signature
Post by: alex@ddd on April 24, 2007, 05:45:14 PM
Use /n
Title: Re: Global signature
Post by: Adam on April 25, 2007, 04:37:53 AM
Quote from: alex@ddd
Use /n

sadly this doesn't work for either.
Title: Re: Global signature
Post by: toby86 on September 05, 2007, 06:16:28 PM
you will have to use \n and NOT /n ...