Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Miscellaneous
FindRetros
Help & Support
Force voting?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Aruthra" data-source="post: 246711" data-attributes="member: 36602"><p>[CODE]<?php</p><p>////////////////////////////////////////////////////////</p><p>// # TheHabbos Topsites API Script - Release 1.0.3 //</p><p>// # © Copyright TheHabbos 2011. All rights reserved. //</p><p>////////////////////////////////////////////////////////</p><p></p><p>if(!defined('IN_THEHABBOS_API')) {</p><p> die('Sorry, but you can not access this file directly. :(');</p><p>}</p><p></p><p>/* FEEL FREE TO EDIT ANYTHING BELOW */</p><p></p><p>$CONFIG['Username'] = 'SwiftHotel'; //thehabbos topsites username</p><p>$CONFIG['URL'] = 'http://swift-hotel.net/api.php'; //the location to the file api.php on your website (i.e. http://example.com/api.php)</p><p>$CONFIG['Type'] = 'client'; //current options: other or client (thehabbos_api/types)</p><p>$CONFIG['Style'] = 'Habbo Sleek'; //don't change this unless you have created your own style (thehabbos_api/styles)</p><p>$CONFIG['Credits'] = '1000'; //you can use this if you are using a specific type above - your users will be rewarded this many credits for voting</p><p></p><p>/* ADVANCED OPTIONS */</p><p></p><p>$CONFIG['Timeout'] = 2; //max amount of seconds before the api stops trying to connect to votingapi.com</p><p>$CONFIG['Curl_Enabled'] = 1; //mark this 0 if cURL isn't installed/enabled on your server, although cURL is recommended</p><p></p><p>/* DO NOT EDIT ANYTHING BELOW */</p><p></p><p>$votingValidation = new Validate();</p><p>$CONFIG['Status'] = $votingValidation->validateVote();[/CODE]</p><p></p><p>Thats the config.php file</p><p>Please help me how to configure it so it checks the user if they voted or not</p></blockquote><p></p>
[QUOTE="Aruthra, post: 246711, member: 36602"] [CODE]<?php //////////////////////////////////////////////////////// // # TheHabbos Topsites API Script - Release 1.0.3 // // # © Copyright TheHabbos 2011. All rights reserved. // //////////////////////////////////////////////////////// if(!defined('IN_THEHABBOS_API')) { die('Sorry, but you can not access this file directly. :('); } /* FEEL FREE TO EDIT ANYTHING BELOW */ $CONFIG['Username'] = 'SwiftHotel'; //thehabbos topsites username $CONFIG['URL'] = 'http://swift-hotel.net/api.php'; //the location to the file api.php on your website (i.e. http://example.com/api.php) $CONFIG['Type'] = 'client'; //current options: other or client (thehabbos_api/types) $CONFIG['Style'] = 'Habbo Sleek'; //don't change this unless you have created your own style (thehabbos_api/styles) $CONFIG['Credits'] = '1000'; //you can use this if you are using a specific type above - your users will be rewarded this many credits for voting /* ADVANCED OPTIONS */ $CONFIG['Timeout'] = 2; //max amount of seconds before the api stops trying to connect to votingapi.com $CONFIG['Curl_Enabled'] = 1; //mark this 0 if cURL isn't installed/enabled on your server, although cURL is recommended /* DO NOT EDIT ANYTHING BELOW */ $votingValidation = new Validate(); $CONFIG['Status'] = $votingValidation->validateVote();[/CODE] Thats the config.php file Please help me how to configure it so it checks the user if they voted or not [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Miscellaneous
FindRetros
Help & Support
Force voting?
Top