Posted By

kickjoel on 04/10/09


Tagged

login log in kickapps


Versions (?)

KickApps: Add login box for external page


 / Published in: HTML
 

This code can be used for making an external login area on pages other than KickApps powered pages. Please replace ##### with your AS ID. Also, if you've DNS masked you're site, you'll need to replace affiliate.kickapps.com with your domain info.

  1. <form id="UserLogin" onsubmit="return ka_check_userLogin(this.form);" enctype="application/x-www-form-urlencoded" action="http://affiliate.kickapps.com/user/userLogin.kickAction?optOutUserId=" method="post" name="UserLogin" target="">
  2. <input id="as" type="hidden" name="as" value="#####"/>
  3. <input type="hidden" value="" name="redirectURL" id="redirectURL" />
  4. <label for="UserBoxUserName">Username</label>
  5. <input id="UserBoxUserName" class="textbox" type="text" name="username"/>
  6.  
  7. <label for="UserBoxPassword">Password</label>
  8. <input id="UserBoxPassword" class="textbox" type="password" name="password" onkeydown="var key = event.which || event.keyCode; if (key == 13) { submit()}"/>
  9.  
  10. <input class="ka_button" type="submit" value="Sign in" name="Login"/>
  11.  
  12. </form>

Report this snippet  

You need to login to post a comment.