<search function="dotp">
  <name>dotproject forums login</name>
  <category>Login</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://www.dotproject.net/vbulletin/</link>
  <email></email>
  <description> Login to dotProject forums
    <div class="helpboxDescLabels">Example:</div>
    <table class="helpboxDescTable">
      <tr><td>dotp</td></tr>
    </table>
    <div class="helpboxDescLabels">Variable:</div>
    <table class="helpboxDescTable">
      <tr><td>dotpid('user','pwd');</td><td>An array storing a user and password profile for Dot Project.
  	You SHOULD provide the <em>dotpid()</em> variable.<br /></td></tr>
    </table>
  </description>
  <form name="dotpf"
        method="post"
        action="http://www.dotproject.net/vbulletin/login.php">
    <input type="hidden" name="vb_login_username" value="" />
    <input type="hidden" name="cookieuser" value="1" />
    <input type="hidden" name="vb_login_password" value="" />
    <input type="hidden" name="s" value="" />
    <input type="hidden" name="do" value="login" />
    <input type="hidden" name="forceredirect" value="1" />
    <input type="hidden" name="vb_login_md5password" value="" />
    <input type="hidden" name="vb_login_md5password_utf" value="" />
  </form>
  <script><![CDATA[
    function dotp(q)
    {
      if (q=="?"){
        nullArgs("dotp",q);
        return false;
      }
      var dotpids = dotpid;
      try{
        eval("var dotpids = " + q + ";");
      }catch(e){
        var dotpids = dotpid;
      }
      try{
        document.dotpf.vb_login_username.value = dotpids[0];
        document.dotpf.vb_login_password.value = dotpids[1];
      }catch(e){}

      //document.dotpf.POSTNUKESID.value = "";
      //document.dotpf.rememberme.value = "";
      //document.dotpf.url.value = "";
      //document.dotpf.module.value = "";
      //document.dotpf.op.value = "";
      //document.dotpf.login.value = "";

      submitForm(dotpf);
    }
    
  ]]></script>
</search>
