Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: HiperGlow on November 23, 2010, 06:15:07 PM

Title: message_to_user plugin
Post by: HiperGlow on November 23, 2010, 06:15:07 PM
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.
Title: Task
Post by: emmeliv on December 14, 2010, 03:25:02 AM
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';
Title: message_to_user plugin
Post by: HiperGlow on December 14, 2010, 12:09:24 PM
hm, I have never seen that happen?

What version are you running of RC ?