API on PhoenixCF

Status
Not open for further replies.

Joh

Member
Jan 10, 2011
154
20
Well, I have no idea how to put the API on PhoenixCF, if it was uber it'd be no problem :p. But can anyone possibly help me with this?
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Its the exact same thing, read the instructions and try to do it for yourself, if you can't do it, then post the code you have and I will help you.
Also, this is PhoenixCF(for uberEmulator), right?
 

Joe1

Member
Mar 31, 2011
33
4
It's very easy, I know shit about coding PHP and I added the API on my PHX hotel


Note: if you're on PHX then your client is probably located at url/client instead of url/client.php so make sure you remove the .php in the files that it has it if your client isn't located at url/client.php. That is what messed me up alot
 

Kristopher

Photographer
Dec 25, 2010
803
68
(1)Open Note Pad.
(2) Paste:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/client/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML
(3) Save Under File Name: client.php |Then Save As Type: All Files
(4) Then Open thehabbos_api folder
(5) Then Open Config
(6) Make Sure Your $CONFIG['Type'] Looks like:
$CONFIG['Type'] = 'client'; //current options: other or client (thehabbos_api/types)
(7) Fill The Rest In
(8) Your Api Works :)
Btw I Plan To Release This For Others To Under The Habbo Section
Credits: Deluxe :)
 

Joh

Member
Jan 10, 2011
154
20
thank you what if i wanna put it on the index?
Do i just switch
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/client/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML

to

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/index1/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML
 

Kristopher

Photographer
Dec 25, 2010
803
68
Well i dont think thehabbos.org allows the index vote anymore so it would be best to use the client but yeah it would be
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/index.php/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML>
Or The Index You Have Perhaps Index2.php or sumthing
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
You can't put it on the index as it is against TheHabbo's rules to lead to a voting page on the topsites.
So, it's best to put it on client.
 

Joh

Member
Jan 10, 2011
154
20
You can't put it on the index as it is against TheHabbo's rules to lead to a voting page on the topsites.
So, it's best to put it on client.

Thanks Kyptos.

By the way Deluxe, this is PhoenixCF not PhoenixPHP
 

Kristopher

Photographer
Dec 25, 2010
803
68
I know but its still the same i did it for both... just use .cfm at the end.... so
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/index.cfm/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML>

but its not allowed so put

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>YourHotel: Redirect</title>
<meta http-equiv="REFRESH" content="2;url=http://YourURL/client/"></HEAD>
<BODY>
Being redirected!. Thanks For Voting!
</BODY>
</HTML>
 

Joh

Member
Jan 10, 2011
154
20
I found out how to do it the original way, thanks anyways Deluxe, Mod ore Admin can close this thread.
 
Status
Not open for further replies.

Users who are viewing this thread

Top