User Guide
All the functions use return to let you use the data how you want, other than
showGroupBadge, which displays the badge by giving the correct HTML for the image to the browser.
If you want to see what all the functions are, look in
groupie.inc.php. All the functions have a comment telling you what they do underneath their name.
When you want to run the function, you have to do it like this:
PHP Code:
<?php
require("groupie.inc.php"); /* Bring in the Groupie code, if it isn't there, fail */
$data = habboGroupieFunction("ID OF THE GROUP", "HOTEL TLD AND/OR SLD WITHOUT LEADING DOT"); /* Run the function with necessary parameters */
echo $data; /* Send the result to the browser */
?>
here is a working example of how to echo the description of a group, in this case Habbox Club on Habbo UK:
PHP Code:
<?php
require("groupie.inc.php"); /* Bring in Habbo Groupie */
$desc = getGroupDescription("co.uk", "2847"); /* Get the description for group ID [B]2847[/B] on Habbo.[B]co.uk[/B] */
echo $desc; /* Show the description on the page */
?>
Hopefully, after reading this guide, you should understand what to do ;) If you don't understand, reply or send me a PM.