Landing page

Domande sulle funzionalità di backend: amministrazione utenti e corsi, certificati, iscrizioni, report, ...
User avatar
max
FormaLms Guru
Posts: 2770
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Landing page

Post by max »

ad esempio, quello era il codice x la 3x...

:-(
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Landing page

Post by jasmines »

devi inserire un input type hidden del tipo:

Code: Select all

<input type="hidden" id="authentic_request_login_confirm" name="authentic_request" value="<?php echo md5(uniqid(rand(), true) ."|". mt_rand() ."|". time()); ?>"/>
User avatar
Simbiosi
FormaLms User
Posts: 174
Joined: Thu Sep 20, 2012 6:12 pm
Location: Milano

Re: Landing page

Post by Simbiosi »

e come verrebbe il codice finale?

Ho provato cosi ma non funziona.

Code: Select all

<html>
   <head>
      <title></title>
   </head>
   <body>
      <form action="http://e.frareg.com/doceboLms/index.php?modname=login&op=confirm" method="post" name="login" onsubmit="return login();" style="margin:0px;" target="_blank">
         <table border="0" cellpadding="0" cellspacing="0" width="100%">
		 <input type="hidden" id="authentic_request_login_confirm" name="authentic_request" value="<?php echo md5(uniqid(rand(), true) ."|". mt_rand() ."|". time()); ?>"/>
            <tbody>
               <tr>
                  <td height="19" style="padding-left:45px;" width="57%">
                     <label><input class="testo_grigio" id="login_userid" maxlength="255" name="login_userid" tabindex="1" type="text" value="" /> </label></td>
                  <td align="left" rowspan="2" valign="top" width="43%">
                     <a class="testo_rosso" href="http://e.frareg.com/doceboLms/index.php?modname=login&op=register" target="_blank">Registrati</a><br />
                     <a class="testo_rosso" href="http://e.frareg.com/doceboLms/index.php?modname=login&op=lostpwd" target="_blank">Help</a><br />
                     <div style="padding-top:5px;">
                        <input class="testo_rosso" type="submit" value="Login" /></div>
                  </td>
               </tr>
               <tr>
                  <td height="50" style="padding-left:45px;">
                     <input class="testo_grigio" id="login_pwd" maxlength="255" name="login_pwd" tabindex="2" type="password" /></td>
               </tr>
            </tbody>
         </table>
      </form>
   </body>
</html
aggiungo ho trovato una conversazione che chiedeva proprio questo.

http://www.docebo.com/community/doceboC ... rtale.html
.- Primus inter pares -.
User avatar
Simbiosi
FormaLms User
Posts: 174
Joined: Thu Sep 20, 2012 6:12 pm
Location: Milano

Re: Landing page

Post by Simbiosi »

anyone else?
.- Primus inter pares -.
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Landing page

Post by jasmines »

Mi fai vedere la pagina di login che non funziona?
User avatar
Simbiosi
FormaLms User
Posts: 174
Joined: Thu Sep 20, 2012 6:12 pm
Location: Milano

Re: Landing page

Post by Simbiosi »

E' esattamente quel codice che ho copiato prima.

Se vuoi vedere li link è QUI e la piattaforma è QUI

Oltretutto ho provato a fare anche cosi QUI
.- Primus inter pares -.
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Landing page

Post by jasmines »

Mi dai un utente demo?
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Landing page

Post by jasmines »

Provi esattamente questa?

Code: Select all

<form id="login_confirm" method="post" action="http://e.frareg.com/doceboLms/index.php?modname=login&op=confirm">
<input type="hidden" id="authentic_request_login_confirm" name="authentic_request" value="<?php echo md5(uniqid(rand(), true) ."|". mt_rand() ."|". time());?>" />

<label for="login_userid">Username</label>
<input type="text" id="login_userid" name="login_userid" value="" maxlength="255" tabindex="1" />
<label for="login_pwd">Password</label>
<input type="password" id="login_pwd" name="login_pwd" maxlength="255" tabindex="2" autocomplete="off" />
<input type="submit" id="login" name="log_button" value="Login" tabindex="3" />
</form>
User avatar
Simbiosi
FormaLms User
Posts: 174
Joined: Thu Sep 20, 2012 6:12 pm
Location: Milano

Re: Landing page

Post by Simbiosi »

demophp
demophp

INDIRIZZO

Non funziona ahimè
.- Primus inter pares -.
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Landing page

Post by jasmines »

Posteresti il contenuto della funzione generateSignature, che si trova in /lib/lib.utils.php più o meno a riga 169?
Post Reply