Page 1 of 1

custom page for entering site password

Posted: Wed Jan 13, 2010 2:52 pm
by Mr.Victor
Can we create a custom page where players have to enter the site password? I'd like to add our logo and spice it up just a bit.

Re: custom page for entering site password

Posted: Wed Jan 13, 2010 3:34 pm
by Kent Briggs
Mr.Victor wrote:Can we create a custom page where players have to enter the site password? I'd like to add our logo and spice it up just a bit.
If you link from your own web site, just include a SitePassword parameter in the URL and the built-in password prompt will be bypassed.

Re: custom page for entering site password

Posted: Wed Jan 13, 2010 4:22 pm
by Mr.Victor
Only problem is I want the password there even from my own site. It's not a huge deal. Just wanted to make the page a lil nicer that's all.

Re: custom page for entering site password

Posted: Wed Jan 13, 2010 4:59 pm
by Kent Briggs
Mr.Victor wrote:Only problem is I want the password there even from my own site. It's not a huge deal. Just wanted to make the page a lil nicer that's all.
Just make a form that prompts the user for it. Something like:

Code: Select all

<form action="http://123.123.123.123:8087" method="post">
  <h3>Welcome to My Poker Site</h3>
  <p>This is a private server. Enter the site password to continue.</p>
  Site password:<br>
  <input type="text" size="30" name="SitePassword"> 
  <input type="submit" value="Send">
</form>
The method can be "post" or "get". Pretty that up all you want. :)

Re: custom page for entering site password

Posted: Wed Jan 13, 2010 5:39 pm
by Mr.Victor
Just what I needed. Thanks.