Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: Simple40 on February 05, 2020, 01:24:31 PM

Title: Login Banner
Post by: Simple40 on February 05, 2020, 01:24:31 PM
Hello All,

I would like to add a warning banner to my Webmail that be me acknowledge before the user can enter their username/password.  Does anyone know a good way to do this?  I am using the RoundCube  Plus Outlook skin just as an FYI.

Thanks
Title: Re: Login Banner
Post by: SKaero on February 05, 2020, 03:03:25 PM
That could be done with the plugin api.
Title: Re: Login Banner
Post by: Simple40 on February 05, 2020, 03:06:10 PM
Which one though?  I have not found one that does this other than maintenance.  This is not that a but a user agreement banner.
Title: Re: Login Banner
Post by: SKaero on February 05, 2020, 05:09:10 PM
I don't think there is an existing plugin that would do what you want I think you would need to create a custom plugin that would allow you to have the message.
Title: Re: Login Banner
Post by: Simple40 on February 05, 2020, 05:57:40 PM
oh that sucks...I am not certain how to create one that would do that.  Anyone have one they use now that they wouldn't mind sharing?
Title: Re: Login Banner
Post by: alec on February 06, 2020, 02:38:59 AM
Check this out https://git.kolab.org/diffusion/RPK/browse/master/plugins/logon_page/
Title: Re: Login Banner
Post by: Simple40 on February 06, 2020, 07:32:45 AM
Thank you...I will go take a look.  Appreciate everyone's time and assistance.

Title: Re: Login Banner
Post by: Simple40 on February 26, 2020, 06:56:49 PM
I was able to get the banner installed but note display the text.  Does anyone know what the HTML code would look like as I have never had any experience working with that in the past.

Thanks for your time.
Title: Re: Login Banner
Post by: JohnDoh on March 01, 2020, 01:55:12 AM
Try this: https://html5-editor.net/ type and format what you want in the box on the right and it will show you the HTML in the box on the left.
Title: Re: Login Banner
Post by: prubi on March 01, 2020, 07:42:31 AM
Hello thank you for this, i searched for a solution like this, but now....how to move this "login banner text" to the bottom of the login page, under the login box?

URLS:
https://posta.rubin1.si
https://webmail.t-2.net
Title: Re: Login Banner
Post by: Simple40 on March 02, 2020, 11:41:12 AM
Thanks JohnDoh for that link.  Very much appreciated!!!
Title: Re: Login Banner
Post by: JohnDoh on March 02, 2020, 01:14:11 PM
Hello thank you for this, i searched for a solution like this, but now....how to move this "login banner text" to the bottom of the login page, under the login box?

I looks like the logon_page plugin is very much focused on the Elastic skin so I think you need to modify the code slightly to insert the text where you want it in the skin you are using.
Title: Re: Login Banner
Post by: prubi on March 02, 2020, 01:47:43 PM
Okay im done i think ive solved my problem with the html code....
It looks nice....
Check it out: https://www.posta.rubin1.si/

Thank you anyway for helping me :)