[TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Requirements:
- TheHabbos.org account
- TheHabbos_API folder
- API.php file
###########################################
Step 1. Go to the TheHabbos_API folder and go to Config.php and fill it out with your TheHabbos.org account name, hotel URL/IP in the examplehotel.com/api.php link it asks you to put in.
So for me, an example would be
PHP Code:
$CONFIG['thehabbos_username'] = ['TestUserName']
$CONFIG['api_link'] = ['TestDeliriousHotel.co.uk/api.php']
###########################################
Step 2. Go to Class.Validate.php in the TheHabbos_API folder and replace
PHP Code:
$CONFIG['Curl_Enabled']
with
PHP Code:
$CONFIG['Curl_Disabled']
###########################################
Step 3. Go to the 'Types' folder within the TheHabbos_API folder and then go to Client.php in 'Types'
Replace "client.php" with "client" INSIDE the client.php file inside the 'Types' folder
###########################################
Reminder!
NOTE: When I say replace, go to "replace" on notepad++ or whatever you use and replace all, not just one.
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Nice Tut even thought adding the API is very simple. Makes it easier for those young ones. Good Job
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Quote:
Originally Posted by
thewaytogo
Nice Tut even thought adding the API is very simple. Makes it easier for those young ones. Good Job
That's stereotypical, some of them are teenagers from 16 - 19 even, they're just new to the Habbo Private Server concept. But I'd say 40 - 70 percent are kids probably.
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Thank you! But I have a question. How dafuq do I remove it? I don't want it..
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Quote:
Originally Posted by
greencreams
Thank you! But I have a question. How dafuq do I remove it? I don't want it..
Go to your me.php, and all other pages where it has the button to enter the client, and replace
PHP Code:
<center><a href="api.php" onclick="mango.client.popup(); return false;">Enter {hotelName} Hotel</a></center>
with
PHP Code:
<center><a href="client" onclick="mango.client.popup(); return false;">Enter {hotelName} Hotel</a></center>
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Ok so I am new to owning a retro, so how do I get a TheHabbos_API folder and a API.php file, or where do I get them?
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Quote:
Originally Posted by
PeytonH
Ok so I am new to owning a retro, so how do I get a TheHabbos_API folder and a API.php file, or where do I get them?
thehabbos.org/api
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Hi, Everything works fine. But on the page with the button from thehabbos there's an error message:
Notice: Undefined index: Curl_Disabled in thehabbos_api\class.validate.php on line 32
But it works fine, I only want to know how to remove that. Good tut :)
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Quote:
Originally Posted by
terrygangster
Hi, Everything works fine. But on the page with the button from thehabbos there's an error message:
Notice: Undefined index: Curl_Disabled in thehabbos_api\class.validate.php on line 32
But it works fine, I only want to know how to remove that. Good tut :)
You need to put quotation marks - 'Curl_Disabled' not Curl_Disabled
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Set everything up (didnt need this tutorial really since I knew how to do it through a friend) but when I goto api.php its gray and when I click on it I get this error : Forbidden
You don't have permission to access /vote/I removed my Hotels API username from here on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8m DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at votingapi.com Port 80
Please help
Re: [TUT] How to add TheHabbos API to RevCMS without any errors! [Noob Friendly]
Women are generally in fashion conscious. Generally, they don’t just see the function of things around her but rather she also looks at the style and the form. As Celine Bagare the must have accessory for women. They used to keep their frequently needed Celine Trapeze Bag in it. With the various designs and styles of the Celine handbags, you would really become a fashion woman.