How Do You Setup Thehabbos Voting

Status
Not open for further replies.

zMagenta

Posting Freak
Jul 15, 2011
1,414
682
Easiest way to do it;

Create a file called "api.php" in the root of your directory. Inside, add this code (Edit where needed);
Code:
<style type="text/css">body{background-image:url('images/bg.png');font-family:Verdana;font-size:10px;color:#000000;}#contentHolder{width:500px;margin:auto;background-color:#FFFFFF;padding:10px;border:1px solid #CCCCCC;text-align:center;}.contentTitle{color:black;font-size:24px;font-weight:bold;margin-bottom:15px;border-bottom:1px solid #CCCCCC;}</style>
<div id="contentHolder">
<div class="contentTitle">Please Vote</div>
It appears that you have not voted yet today! Please click the button below.<br />
          <br /><center><form action="http://thehabbos.org/vote/THEHABBOSNAME" method="post">
  <input type="hidden" name="api_url" value="http://YOURWEBISTEADRESS/client" />
  <input style="width: 120px; height: 40px; background-image: url('http://thehabbos.org/topsites/button.php'); border: 0px; cursor: pointer;" type="submit" name="votingAPI" value="" />
</form></div></div>

Change anywhere on the CMS where it goes to "/client" to "/api.php". Therefore it should work.

Hope that helped.
 
Status
Not open for further replies.

Users who are viewing this thread

Top