-
UberCMS Avatar tricks [Coded + COOL]
I'm releasing my little script I made, it can be edited, I just made this in a rush to see if it would work, you can fix it up and what not;
1. In uberCMS, open up comp-me, and under: <div id="habbo-plate"> add:
Quote:
<?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%&action=wav' />";
}
?>
Make sure you also remove the link that's grabbing the avatar, as it's already put into the script for you! And the images download:
avatarchanges.rar
Well, it's pretty self-explanatory..
-
Re: UberCMS Avatar tricks [Coded + COOL]
-
Re: UberCMS Avatar tricks [Coded + COOL]
Pretty nice little script you go there Liam.
I think I'm going to use this!
-
Re: UberCMS Avatar tricks [Coded + COOL]
Nice, thanks, I'll be using this.
-
Re: UberCMS Avatar tricks [Coded + COOL]
Imma add one on to that:
Quote:
<?php
if($users->GetUserVar(USER_ID, 'motto') == "Liam is AWESOME") {
echo "<img alt='%habboName%' src='%www%/images/avatarchanges/liamisawesome.png' />";
?>
-
Re: UberCMS Avatar tricks [Coded + COOL]
Thanks guys! Just thought I'd add it to my hotel, because it would just spice up the CMS a little.. And Habbo has something similar built into their CMS, too! (Hint, change your Habbo motto to: Crikey!)
-
Re: UberCMS Avatar tricks [Coded + COOL]
Nice.
I'll use this. Changing my CMS to Uber soon.
-
Re: UberCMS Avatar tricks [Coded + COOL]
Wow, cool idea mate. Thanks for the release!
-
UberCMS Avatar tricks [Coded + COOL]
Nice one Liam
Sent from Tapatalk
-
Re: UberCMS Avatar tricks [Coded + COOL]
Did something similar in Roc a while back (the Crikey easter egg) :P:
-
Re: UberCMS Avatar tricks [Coded + COOL]
Thanks for the comments guys, once again if the community likes my releases, I'll be releasing more stuff in the future.. Thanks <3
-
Re: UberCMS Avatar tricks [Coded + COOL]
Nice throwback to the 'ol days! Habborator.org had this listed as a secret, really, REALLY cool ;D
But, can anyone help me restore my Habbo plate? <.<
-
Re: UberCMS Avatar tricks [Coded + COOL]
Quote:
Originally Posted by
FullmetalPride
Nice throwback to the 'ol days! Habborator.org had this listed as a secret, really, REALLY cool ;D
But, can anyone help me restore my Habbo plate? <.<
Thanks mate = ) That's where I got the idea from :P
If you want to change back, remove the PHP code, and just paste:
<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&action=wav' />
-
Re: UberCMS Avatar tricks [Coded + COOL]
Quote:
Originally Posted by
Liam
Thanks mate = ) That's where I got the idea from :P
If you want to change back, remove the PHP code, and just paste:
<img alt='%habboName%' src='http://habbo.com/habbo-imaging/avatarimage?figure=%look%&action=wav' />
Lol not what I need, my Habboplate got removed. Halp me restore pl0x?
-
Re: UberCMS Avatar tricks [Coded + COOL]
Currently using it at my website :)
it looks very funny!
Screenshot
-
Re: UberCMS Avatar tricks [Coded + COOL]
Great idea, Liam! I don't use uberCMS, so I edited it so I can use in my CMS. :ott1:
Thanks for this release.
-
Re: UberCMS Avatar tricks [Coded + COOL]
Awhh, Crikey<3' Good old times.
I'm gonna use this :D
-
Re: UberCMS Avatar tricks [Coded + COOL]
Hello, i dont use UberCMS . can someone please convert this into revCMS? ive tried to put it all but i keep getting an error ;/
-
Re: UberCMS Avatar tricks [Coded + COOL]
Habflareh, well i could do it for u.
Just give the directions to the images and ill fix it.
-
Re: UberCMS Avatar tricks [Coded + COOL]
Quote:
Originally Posted by
iOmvuZ
Currently using it at my website :)
it looks very funny!
Screenshot
Wow, stolen from Habmoon.
-
Re: UberCMS Avatar tricks [Coded + COOL]
the directions to the images are the same as released. i just need it converted into revCMS so i ca nuse it.
-
Re: UberCMS Avatar tricks [Coded + COOL]
HablfareH, converted it for u to Revcms.
<?php
$query = mysql_query("SELECT * FROM users WHERE username = '".$_SESSION['user']['username']."'");
$row = mysql_fetch_assoc($query);
$motto = $row['motto'];
?>
<?php
if($motto == "King of pop!") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/michael_jackson.png' />";
} else if($motto == "Crikey!") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/crikey.gif' />";
} else if($motto == "Key to Haboa!") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/frank_key.gif' />";
} else if($motto == "Frank the gold miner") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/frank_miner.gif' />";
} else if($motto == "Frank wants a hug") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/frank_hug.gif' />";
} else if($motto == "He just made a mess!") {
echo "<img alt='{userName}' src='{url}/images/avatarchanges/frank_clean.gif' />";
} else if($motto == "Lost boy") {
echo "<img alt='{userName}' src='http://habbo.com/habbo-imaging/avatarimage?figure=' />";
} else {
echo "<img alt='{userName}' src='http://habbo.com/habbo-imaging/avatarimage?figure={figure}&action=wav' />";
}
?>
-
Re: UberCMS Avatar tricks [Coded + COOL]
This can be used for revcms:
Quote:
<?php if(" . $_SESSION['user']['motto']. ") == "King of pop!") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/michael_jackson.png' />";
} else if(" . $_SESSION['user']['motto']. ") == "Crikey!") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/crikey.gif' />";
} else if(" . $_SESSION['user']['motto']. ") == "Key to Haboa!") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/frank_key.gif' />";
} else if(" . $_SESSION['user']['motto']. ") == "Frank the gold miner") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/frank_miner.gif' />";
} else if(" . $_SESSION['user']['motto']. ") == "Frank wants a hug") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/frank_hug.gif' />";
} else if(" . $_SESSION['user']['motto']. ") == "He just made a mess!") {
echo "<img alt='{username}' src='%www%/images/avatarchanges/frank_clean.gif' />";
} else if(" . $_SESSION['user']['motto']. ") == "Lost boy") {
echo "<img alt='{username}' src='http://habbo.com/habbo-imaging/avatarimage?figure=' />";
} else {
echo "<img alt='{username}' src='http://habbo.com/habbo-imaging/avatarimage?figure={figure}&action=wav' />";
}
?>
- Sidney
-
Re: UberCMS Avatar tricks [Coded + COOL]
-
Re: UberCMS Avatar tricks [Coded + COOL]
Delete
} else if(" . $_SESSION['user']['motto']. ") == "Lost boy") {
echo "<img alt='{username}' src='http://habbo.com/habbo-imaging/avatarimage?figure=' />";
and its fixed
@HabflareH