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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Integrate RC login form in a box within my homepage..static HTML website
« Reply #15 on: May 18, 2008, 05:18:47 AM »
Forgott to mention:

#1- clean PHPBB cache folder. Otherwise you'll get the cached template stuff and it won't work.
#2- PHPBB does not store the password in a way that it can be decrypted. So I had to do the modification by Javascript in the template code. It could be aswell done in the forum php code, if we modify the database and store the forum password in a way that it can be decrypted.

-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 #16 on: May 25, 2008, 05:06:10 PM »
OK, I surrender, cannot get the password to input into the login page---

just doesn't make sense- the username passes just fine--- the password passes in the debug---

BUT it does NOT pass into the password field on the login form and the login fails-

Kamalk was apparenlty having the exact same problem-- thought for sure it was just a simple problem with the code---

frankly, I do not know this code, but I do not see where in the code the password is being passed---  thanks anyway-----

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
one last try, please take a look
« Reply #17 on: May 26, 2008, 08:51:36 PM »
Some pretty basic code--- from my forum, I would like to let the user login to our email---  


  • http://MyForum.com/Mail/?_task=mail" method="post">
    Web Mail User Name:
    Password:

    http://MyForum.com" type="hidden">



  • When I add debug code to show outputs (see below), I get the expected results, i.e. Username, Password, and domain---

    Array ( [_user] => myname@mydomain.com [_pass] => 12345 [_action] => login [_host] => http://mydomain.com )

    What actually HAPPENS is that the username passes to the user name field, BUT the password does NOT  - and login fails--- at that point you can just type in the password and login succeeds---

    Got to be something simple, right??
    PS - Changing host to 'http://mydomain/Mail/' doesn't help---

    Thanks for looking...

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #18 on: May 27, 2008, 12:49:55 AM »
    Remove '_host' input field or insert a valid hostname (localhost ... serverx ... or whatever FQND). Currently you have a URL there. Check what in main.inc.php is in $rcmail_config['default_host']. Same should be here.

    -Roland
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline sidnei.weber

    • Newbie
    • *
    • Posts: 2
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #19 on: May 27, 2008, 01:52:01 PM »
    vEry Thanks

    Offline sfreemanRCM

    • Jr. Member
    • **
    • Posts: 22
    Roland Rules!
    « Reply #20 on: May 27, 2008, 02:43:15 PM »
    Roland!!!

    You da man!!

    I tried everything else and was about to give up--- many thanks to you-- works perfect---

    now I just gotta go back and add back the code that brings you back to the forum---

    anyway, I owe you one!!

    Offline techdude

    • Jr. Member
    • **
    • Posts: 38
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #21 on: June 10, 2008, 11:12:22 AM »
    THe password is not being transfered in mine either!

    Offline smalek

    • Newbie
    • *
    • Posts: 2
    regarding form name
    « Reply #22 on: August 23, 2008, 11:18:19 AM »
    Quote from: Yann;11560
    #1)
    .....


    can someone please explain why the form name is "f", could i change it to something else if i want to?

    thanks for the support.

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #23 on: August 24, 2008, 02:30:32 AM »
    Yes, you can name it whatever.
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline nhomauhoaphuong

    • Newbie
    • *
    • Posts: 9
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #24 on: October 11, 2008, 12:14:03 PM »
    Quote
    Originally Posted by Yann  
    #1)
    .....


    i put this into my main website page... people go to my site then login to their mail straight from my mainpage... but then if they put the wrong username and or password it will direct the login again page to http://www.domain.com/mail/?_task=mail --- is there anyway i can make it come back to the mainpage so user can try to putin there username and password to login again instead?
    also....
    when they logout... it will go http://www.domain.com/mail/?_task=mail also... can i make it go straight to the website mainpage instead?

    [please help me how.
    thanks

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #25 on: October 12, 2008, 02:20:50 AM »
    Posted via Mobile Device

    your question already has been answered in this thread. modify ./skins/templates/login.html as adviced.
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline blackace

    • Jr. Member
    • **
    • Posts: 11
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #26 on: October 14, 2008, 11:40:43 PM »
    How can I change the text for the submit button?
    « Last Edit: October 14, 2008, 11:48:57 PM by blackace »

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #27 on: October 16, 2008, 04:56:22 AM »
    @blackace:
    Code: [Select]

    <input type=&quot;submit&quot; value=&quot;w h a t e v e r&quot;>


    P.S.: Basic HTML/JS/CSS/PHP/MySQL coding skills are required to use RoundCube!
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline blackace

    • Jr. Member
    • **
    • Posts: 11
    Integrate RC login form in a box within my homepage..static HTML website
    « Reply #28 on: October 16, 2008, 01:00:41 PM »
    Thanks rosali!


    I haven't written code in a long while and I forgot what the syntax was.

    Offline MyTaskHelper

    • Newbie
    • *
    • Posts: 1
    You can embed your static site with forms which has database backend
    « Reply #29 on: October 21, 2008, 08:26:17 AM »
    Hi


    If you still need do embed your site with forms, but you don't want/can't do it, using php, or something like it, - you can use Managing your objects together
    - this is free online database.

    You can create any from you need, like Mailing List, make it public and add widget code to your site.


    Please, let me know if you have any questions about it.