timROGERS
14-05-2007, 05:27 PM
http://uploadz.co.uk/638groupie.gif
Habbo Groupie is a brand new PHP script that is great for every fansite that wants to show off it's group on its main site, or even for an amazing dynamic signature when used with GD.
It's like your everyday Habbo Home script, which lots of fansites use for Habbo Imager, and badges and stuff like that - but this time it's for Habbo Groups! On your site or in your signature (or wherever else you can think of) you can have an up to date set of information about your group including current badge (display it or get the URL of it), group name (with correct casing), description, number of members and the date the group was created.
Download: ZIP format (http://www.uploadz.co.uk/439habbogroupie1.0.zip) (provided by Uploadz)
Demo: Click here. (http://www.lolz.co.uk/groupie/testGroupName.php)
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
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
require("groupie.inc.php"); /* Bring in Habbo Groupie */
$desc = getGroupDescription("co.uk", "2847"); /* Get the description for group ID 2847 on Habbo.co.uk */
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.
Habbo Groupie is a brand new PHP script that is great for every fansite that wants to show off it's group on its main site, or even for an amazing dynamic signature when used with GD.
It's like your everyday Habbo Home script, which lots of fansites use for Habbo Imager, and badges and stuff like that - but this time it's for Habbo Groups! On your site or in your signature (or wherever else you can think of) you can have an up to date set of information about your group including current badge (display it or get the URL of it), group name (with correct casing), description, number of members and the date the group was created.
Download: ZIP format (http://www.uploadz.co.uk/439habbogroupie1.0.zip) (provided by Uploadz)
Demo: Click here. (http://www.lolz.co.uk/groupie/testGroupName.php)
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
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
require("groupie.inc.php"); /* Bring in Habbo Groupie */
$desc = getGroupDescription("co.uk", "2847"); /* Get the description for group ID 2847 on Habbo.co.uk */
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.