Author Topic: Integrate RC login form in a box within my homepage..static HTML website  (Read 20678 times)

Offline kamalk

  • Newbie
  • *
  • Posts: 4


I am a complete non-techie with basic web design skills and little HTML. Now I have created a static website and as luck would have it, my hosting provider bluehost offered an automated RC install. I have gone ahead & offered free email to all my website members. Now I need to do the following for which I need your help and would be highly obliged for any/all assistance:

1. How do I integrate RC login form box into a corner of my homepage, so that users can immediately login when they visit?
2. How can a logout bring them out automatically back to the homepage?
3. How can I add my website colors & logos to the webmail interface?

Pls help..I have gone mad looking for specific answers..

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Quote from: kamalk


I am a complete non-techie with basic web design skills and little HTML. Now I have created a static website and as luck would have it, my hosting provider bluehost offered an automated RC install. I have gone ahead & offered free email to all my website members. Now I need to do the following for which I need your help and would be highly obliged for any/all assistance:

1. How do I integrate RC login form box into a corner of my homepage, so that users can immediately login when they visit?
2. How can a logout bring them out automatically back to the homepage?
3. How can I add my website colors & logos to the webmail interface?

Pls help..I have gone mad looking for specific answers..

Yeah, what he said!!!

Same problem here - would like users in my phpBB web site to be able to jump straight to their RC email account and bypass login, and be able to jump back.

Can this be done??? Securely, of course!! ;)

Thanks for any help, much appreciated.

Offline Yann

  • Jr. Member
  • **
  • Posts: 46
Quote from: kamalk


I am a complete non-techie with basic web design skills and little HTML. Now I have created a static website and as luck would have it, my hosting provider bluehost offered an automated RC install. I have gone ahead & offered free email to all my website members. Now I need to do the following for which I need your help and would be highly obliged for any/all assistance:

1. How do I integrate RC login form box into a corner of my homepage, so that users can immediately login when they visit?
2. How can a logout bring them out automatically back to the homepage?
3. How can I add my website colors & logos to the webmail interface?

Pls help..I have gone mad looking for specific answers..

#1) http://my_path_to_rc/?_task=mail" method="post">
User:
Password:






#2) login.html in head section:

 " class="bbc_link" target="_blank" rel="noopener noreferrer">http://www.Your_Home_page/"'>

and/or



#3 answer should be somewhere in the forum ;D

Offline kamalk

  • Newbie
  • *
  • Posts: 4
thank you Yann!
form integrated successfully!!!! 8)
on point 2, which file do I need to edit..or add that line of code to?
I have an index.php in my RC root folder..no login.html..
pls help!

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Quote from: kamalk
thank you Yann!
form integrated successfully!!!! 8)
on point 2, which file do I need to edit..or add that line of code to?
I have an index.php in my RC root folder..no login.html..
pls help!

did you find it at:

public_html/RCM/skins/default/templates/login.html

Offline Yann

  • Jr. Member
  • **
  • Posts: 46
Quote from: sfreemanRCM
Quote from: kamalk
thank you Yann!
form integrated successfully!!!! 8)
on point 2, which file do I need to edit..or add that line of code to?
I have an index.php in my RC root folder..no login.html..
pls help!

did you find it at:

public_html/RCM/skins/default/templates/login.html

Yes, .../skins/default/templates/login.html. You can use the html code or the java code. I think the java code is much more quicker(for me, it redirected the page quicker). You can test both. Just insert one of the codes anywhere in the section of the login.html file.

Offline kamalk

  • Newbie
  • *
  • Posts: 4
Hey Yann
thanks a lot...but, a bit of a trouble with this form. It does not accept the password when entered. I end up with the RC login page with a password error message. When I log in there, it works. kinda irritating.
I have PM'd you a test email ID and the domain details. Could you check & help?
thanks in advance!


Quote from: Yann


#1)
er should be somewhere in the forum ;D

Offline kamalk

  • Newbie
  • *
  • Posts: 4
The code that I am using:


Email:
Password:





do note that the host value has been changed as well. Is that correct?

Offline Yann

  • Jr. Member
  • **
  • Posts: 46
Quote from: kamalk
The code that I am using:


Email:
Password:





do note that the host value has been changed as well. Is that correct?

this line my domain/email" type="hidden"> should be my domain" type="hidden">

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
still issues with password
« Reply #9 on: May 15, 2008, 03:35:31 PM »
Yann/or anyone else...

The password apparently is not being passed to the email log in - the user name is being passed just fine, but I get a login error because no password is there--- login fails---

also, if you install #2 code, I notice that trying to return to the forum from RCM, this code only sends you back to the login page of the forum--- not the page you came from---

so, it goes something like this...

user visits forum site, and logs in--- user wants to check e-mail, so user fills in name and password into form, and is taken to RCM-- password fails - invalid login --- form immediately closes and sends user back to login page, not to the page that they cam from--- any ideas / any fix???

Thanks!
« Last Edit: May 15, 2008, 06:40:11 PM by sfreemanRCM »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Integrate RC login form in a box within my homepage..static HTML website
« Reply #10 on: May 16, 2008, 12:48:42 AM »
The form code was originally posted by me in another topic in this forum. It should work. I use it myself.

If you are on IIS maybe you have to use: action="http://path_to_rc/index.php?_task=mail".

Also put into index.php at the very top just after "
print_r($_POST);
exit;

[debugging code ... remove after tests again !!!]

This will show you what was posted.

-Roland
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
thanks for trying, but still not working...
« Reply #11 on: May 16, 2008, 04:00:42 PM »
Hi Roland, thanks for trying to help, but I still have a problem-- I did what you suggested- the debug outputs all of the variables as expected - username, password, and domain--

but when you run the code, no password is inputted into the password field - you can just type in the password and it works, but that kinda defeats the whole idea--

by the way, the variable "My Domain" means to insert my own forum domain ie "myforum/forums.com", right?

any ideas??  I hate to give up on this as it is really cool in design and function -- just need to get the password to take--

thanks again, Sam

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Integrate RC login form in a box within my homepage..static HTML website
« Reply #12 on: May 17, 2008, 01:43:51 AM »
Sorry, I did not read carefully ... Give me some details about the forum you use. Maybe there is a cookie to pick up and to pass into the password field as hidden value?

-Roland
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Integrate RC login form in a box within my homepage..static HTML website
« Reply #13 on: May 17, 2008, 01:27:10 PM »
Quote from: rosali;12066
Sorry, I did not read carefully ... Give me some details about the forum you use. Maybe there is a cookie to pick up and to pass into the password field as hidden value?

-Roland


Hey, Roland--- thanks for answering--

My forum is a pretty standard phpBB - using the prosilver style- not sure what else to tell you about it---

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Integrate RC login form in a box within my homepage..static HTML website
« Reply #14 on: May 18, 2008, 05:08:28 AM »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)