nope same problem/ i managed to fixc that bottom part. but when i add a motto i get this...http://i.imgur.com/9HPOG.png
Printable View
nope same problem/ i managed to fixc that bottom part. but when i add a motto i get this...http://i.imgur.com/9HPOG.png
Give me youre website url and ill have a look
i cant really give you a url its hosted on my pc atm my vps is being verifyed. you got tv or join,me or if you have hamachi you can look ;;/
Glad to see people are using this and really liking it! Thanks for all the comments, as I don't support any other CMS's, I will not be able to convert this for another CMS... But it wouldn't be too hard to convert it! So good luck guys =)
What exactly does this do? I trust it's epic based on other comments, but I'd like to see some images or something before I add it to my hotel. ;D
ok this is just awesome. fullstop!!
http://gyazo.com/bb9e940139d2ce9f2df5ee1c2bcd7437.png
http://gyazo.com/878939728a9741f41d103f10d7b48504.png
When a user has a certain motto; ie: Crikey!, their avatar image will change on the homepage!!!
You most likely have the original line "<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&size=b&direction=2&head_direction=3&gesture=sml&size=m' />" in the script twice.
Edit - Thought it'll just be easier to give you this.
PHP Code:<div id="habbo-plate">
<a href="%www%/profile">
<?php if($users->GetUserVar(USER_ID, 'motto') == "King of pop!") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/michael_jackson.png' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Crikey!") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/crikey.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Key to Haboa!") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/frank_key.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Frank the gold miner") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/frank_miner.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Frank wants a hug") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/frank_hug.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "He just made a mess!") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/frank_clean.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Lost boy") {
echo "<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=' />";
} else {
echo "<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&size=b&direction=2&head_direction=3&gesture=sml&size=m' />";
}
?>
</a>
</div>
Nice script, but alot of people like n00bs will be complaining they dont have the images.
Try
PHP Code:<?php if($users->GetUserVar(USER_ID, 'motto') == "King of pop!") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/michael_jackson.png' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Crikey!") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/crikey.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Key to Haboa!") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/frank_key.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Frank the gold miner") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/frank_miner.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Frank wants a hug") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/frank_hug.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "He just made a mess!") {
echo "<img alt='%habboName%' src='{url}/images/avatarchanges/frank_clean.gif' />";
} else if($users->GetUserVar(USER_ID, 'motto') == "Lost boy") {
echo "<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=' />";
} else {
echo "<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&size=b&direction=2&head_direction=3&gesture=sml&size=m' />";
}
?>
Nice Release, do they work on RevCMS to?
You have to change some stuff to make it work on Rev.
Thanks for all the amazing comments, I'm suprized people liked this.. =) Thanks for using this guys!
Can I use this for UberCMS 2.0.1, if I can where does it go?
Thanks
Yes you can, and if you're incapable of even knowing where to put this, then you shouldn't be a hotel owner -__-
Not really, I don't know any PHP code (hardly) so I struggle to find where to put things and I've owned loads of hotels in the past but went off them for awhile.
it would be helpful if you tell me where these go
Thanks
Look's good, i'm going to use Uber too and stop working with Rev. I've been working now like 8 months with Revcms. Time for something new!
UberCMS is indeed a great CMS! And I plan to develop from it!
I think phpretro would be alright to start developing again..
From 4.0.10, I mean, groups and home pages etc work & that's what every one seems to be interested in.
Maybe someone should give it a good run through, and improve on it some more.
Anyway, I changed it around for PHPretro & 'cause I thought it was pretty nifty I did the same thing on the profile widget on home pages.
Change (me.php):
to:PHP Code:<div id="habbo-plate">
<a href="<?php echo PATH; ?>/profile">
<img alt="<?php echo $user->name; ?>" src="<?php echo $user->avatarURL("self","b,3,3,sml,1,0"); ?>" width="64" height="110" />
</a>
</div>
& for home pages change (habblet/myhabbo_widgets):PHP Code:<div id="habbo-plate">
<a href="<?php echo PATH; ?>/profile">
<?php if($user->user("mission") == "King of pop!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/michael_jackson.png' />";
} else if($user->user("mission") == "Crikey!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/crikey.gif' />";
} else if($user->user("mission") == "Key to Habbo!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_key.gif' />";
} else if($user->user("mission") == "Frank the gold miner") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_miner.gif' />";
} else if($user->user("mission") == "Frank wants a hug") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_hug.gif' />";
} else if($user->user("mission") == "He just made a mess!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_clean.gif' />";
} else if($user->user("mission") == "Lost boy") {
echo "<img alt='".$user->name."' src='".$user->avatarURL("self","b,3,3,sml,1,0")."' />";
} else{
echo "<img alt='".$user->name."' src='".$user->avatarURL('self','b,3,3,sml,1,0')."' width='64' height='110'/>";
} ?>
</a>
</div>
to:PHP Code:<div class="profile-figure">
<img alt="<?php echo $input->HoloText($userrow[1]); ?>" src="<?php echo $user->avatarURL($userrow[4],"b,4,4,,1,0"); ?>" />
</div>
PHP Code:<div class="profile-figure">
<?php
if(($input->HoloText($userrow[5])) == "King of pop!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/michael_jackson.png' />";
} else if(($input->HoloText($userrow[5])) == "Crikey!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/crikey.gif' />";
} else if(($input->HoloText($userrow[5])) == "Key to Haboa!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_key.gif' />";
} else if(($input->HoloText($userrow[5])) == "Frank the gold miner") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_miner.gif' />";
} else if(($input->HoloText($userrow[5])) == "Frank wants a hug") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_hug.gif' />";
} else if(($input->HoloText($userrow[5])) == "He just made a mess!") {
echo "<img alt='".$user->name."' src='".PATH."/images/avatarchanges/frank_clean.gif' />";
} else if(($input->HoloText($userrow[5])) == "Lost boy") {
echo "<img alt='".$user->name."' src='".$user->avatarURL("self","b,3,3,sml,1,0")."' />";
} else {
echo "<img alt='".$user->name."' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&action=wav' />";
}
?>
</div>
Cheers ^^ Really glad to see users love this as much as I do! I will be releasing another nifty script soon!
Pretty nice how you've made these and they seem to function with your status so pretty nice keep it up and keep making these things.
Not rilly that tempalte or somthing was already like 1 year ago on
Algemeenhabbo: Gesloten
habmoon has it like half a year, they stole it
Algemeenhabbo: Gesloten = down atm XD
but they changed their template so yeah xD
Cheers, thanks for using, if you have any suggestions, feel free to PM me and I will be happy to `try` and code it for yall'!