[TUT]How to setup Force Voting API (TheHabbos)
This is a discussion on [TUT]How to setup Force Voting API (TheHabbos) within the Habbo Tutorials forums, part of the Habbo Hotel category; Alot of people requesting on how to do this.So here it is!
Here is quick & small tutorial on how ...
-
This feelings...
[TUT]How to setup Force Voting API (TheHabbos)

Alot of people requesting on how to do this.So here it is!
Here is quick & small tutorial on how to setup API TheHabbos Voting System.
What is API Voting system of Thehabbos?.
Well,Its a php script system which will make players forces themself to vote your hotel at topsite Thehabbos.Then you will be redirected to the client.
Okay,Lets get started!.
1.Go to TheHabbos.ORG - API and download the api script.
2.Extract into your main htdocs or wwwroot.
3.Now into your htdocs or wwwroot and find "thehabbos_api" folder,Then open config.php with notepad file.
Now edit the following parts as you like.
I have named in the code which you need to edit.
PHP Code:
<?php
//////////////////////////////////////////////////////////////
// # TheHabbos Topsites API Script - Release 1.0.0 (BETA 2) //
// # (C) Copyright TheHabbos 2010. 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'] = 'YOUR THEHABBOS TOPSITE ACCOUNT NAME'; //thehabbos topsites username
$CONFIG['URL'] = 'HTTP://YOUR HOTEL URL WITHOUTH ENDING WITH SLASH/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'] = 'PUT VALUE HERE SO WHEN THEY VOTE.THEY GET CREDITS!!(DEFAULT:1000)'; //you can use this if you are using a specific type above - your users will be rewarded this many credits for voting
/* DO NOT EDIT ANYTHING BELOW */
$votingValidation = new Validate();
$CONFIG['Status'] = $votingValidation->validateVote();
Now save it.
4.Now instead of them going to client you need to redirect them to the api.php which is in your htdocs or wwwroot main folder.
5.Replace the link everywhere that goes to \client to api.php.
6.Done!,Simple isn't it?
There you have it :)
Last edited by Nesar; 30-08-11 at 10:38 PM.
-
-
Account Upgraded | Title Enabled!
Re: [TUT]How to setup Force Voting API (TheHabbos)
lmao doesn't work...
Done everything above correctly, even made my dad do it too lool
Doesn't work, Well it does work but when I click vote it just stays there.. The client doesn't...
Also changing the "client/index" to something like "enter.php" how does that make the client load?
Explain In Noobish Language cause some of us aren't smart is this stuff...
Im a designer not a scripter
-
This feelings...
Re: [TUT]How to setup Force Voting API (TheHabbos)
I have fixed that step more easier that they can do the hard one.
-
GFX Designer
Re: [TUT]How to setup Force Voting API (TheHabbos)
Thanks for teh tutorial :)
-
vTown || R3N3G4D3
Re: [TUT]How to setup Force Voting API (TheHabbos)
Thank you for this, quite useful
Posted via BlackBerry Curve 8520
The Sexier Way To Browse The Internet
-
Account Upgraded | Title Enabled!
Re: [TUT]How to setup Force Voting API (TheHabbos)
4.Now instead of them going to client you need to redirect them to the api.php which is in your htdocs or wwwroot main folder.
5.Replace the link everywhere that goes to \client to api.php.
6.Done!,Simple isn't it?
I'm Still A Noob, Explain Further Please... "Where do I Replace (client) For (api.php)?
I Don't understand why no one makes it noob friendly... It's like they think were fucking robots and know all this shit..
-
// Razorlight - America
Re: [TUT]How to setup Force Voting API (TheHabbos)
-
This feelings...
Re: [TUT]How to setup Force Voting API (TheHabbos)

Originally Posted by
shabbzy
I'm Still A Noob, Explain Further Please... "Where do I Replace (client) For (api.php)?
I Don't understand why no one makes it noob friendly... It's like they think were fucking robots and know all this shit..
Like edit headers.php and me.php in Phoenix PHP.
If you don't understand but i can't better way to explain it.
-
Account Upgraded | Title Enabled!
Re: [TUT]How to setup Force Voting API (TheHabbos)
No It Doesn't Work... It Just Stays On The "Vote Us Page" With The Button Image & When You Click It..
It Just Refreshes & Stays The Same... Solution?
-
This feelings...
Re: [TUT]How to setup Force Voting API (TheHabbos)

Originally Posted by
shabbzy
No It Doesn't Work... It Just Stays On The "Vote Us Page" With The Button Image & When You Click It..
It Just Refreshes & Stays The Same... Solution?
Well then thats your Internet IP Problem.
Some of people having problem that redirecting themself again to the vote page.
But others get to client after they vote.
Everything works fine.
-
Account Upgraded | Title Enabled!
Re: [TUT]How to setup Force Voting API (TheHabbos)
hmmm, how about I delete everything from the "habbo api folder and the api.php" and you do it for me?
team view? I might be doing something wrong.. what you say?
-
Working in private usage.
Re: [TUT]How to setup Force Voting API (TheHabbos)

Originally Posted by
shabbzy
lmao doesn't work...
Done everything above correctly, even made my dad do it too lool
Doesn't work, Well it does work but when I click vote it just stays there.. The client doesn't...
Also changing the "client/index" to something like "enter.php" how does that make the client load?
Explain In Noobish Language cause some of us aren't smart is this stuff...
Im a designer not a scripter
Y-Your dad?? \facepalm
-
Account Upgraded | Title Enabled!
Re: [TUT]How to setup Force Voting API (TheHabbos)
Was Bored... Wondering If He Could Do It lool Why Is That Weird?
-
Steve jobbs 1995 - 2011.
Re: [TUT]How to setup Force Voting API (TheHabbos)
-
Custom User Title
Re: [TUT]How to setup Force Voting API (TheHabbos)
Lmao@ this Rasta included instructions on how to set up api in download didn't he?
#I'm out
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules