Roundcube Community Forum

 

message_to_user plugin

Started by HiperGlow, November 23, 2010, 06:15:07 PM

Previous topic - Next topic

HiperGlow

From time to time, I will need to put a message on the login screen, I was actually first "hacking" the index.php, but then I tried to make it a plugin.

This is what came out.

I am no PHP expert, so comments on the coding is okay :)
There may be a plugin which can do this, then I was unable to locate it.

emmeliv

Hi!

I tried your plugin and it works fine except for one thing: the div shows up after logging in too!
I solved that by specifying which tasks it should act on:
public $task ='login|logout';

HiperGlow

hm, I have never seen that happen?

What version are you running of RC ?