Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

The habbo "Crikey" feature and more!

Newbie Spellweaver
Joined
Feb 22, 2014
Messages
12
Reaction score
3
EDIT: This is for RevCMS!

So, today i´ve coded the Crikey feature, so if your motto is "Crikey" the user profile on the me page will be a crocodile, so this is actually easy and you can add you own hidden secret images!

Live demo:

Without Crikey as motto
kHinlQ3 - The habbo "Crikey" feature and more! - RaGEZONE Forums



With Crikey as motto
J1VBIli - The habbo "Crikey" feature and more! - RaGEZONE Forums


And with Doge as motto:
Mfkc01F - The habbo "Crikey" feature and more! - RaGEZONE Forums



Images used:
ThomasRBang - The habbo "Crikey" feature and more! - RaGEZONE Forums

ThomasRBang - The habbo "Crikey" feature and more! - RaGEZONE Forums

Note: Doge image will automatically be resized to 100px width as seen in the PHP code.
Upload the images to: (yourHabboFolder)/app/tpl/skins/(yourSkin)/images
and then they will automatically work :)


-------------------------------
How to add it:

1.)
Go to the me.php page and open it up i notepad or something, then find the Habbo-Plate where it has {look} in it.

Go ahead and delete that,

2.)
Paste this code instead:


Code:
<?php
    $smart = $_SESSION['user']['motto'];


    switch (strtolower($smart)) {
        case "crikey":
            echo "<img src='{url}/app/tpl/skins/{skin}/images/sticker_croco.gif'/>";
            break;
                             
        case "doge":
            echo "<img src='{url}/app/tpl/skins/{skin}/images/doge.png' width='100px'/>";
            break;
                             
        default:
            echo "<img src='http://www.habbo.nl/habbo-imaging/avatarimage?figure={figure}.gif'/>";
    }
?>

So now, if your motto is "Crikey or CriKEY" it doesnt matter with caps, another image will come instead of your user image (remember to upload your own image)

REMEBER: if you add a new case, the case name MUST BE without caps! so small only, otherwise it wont work!

Credits:
100% Me for making the PHP Switch and the idea :)
---------------------------
Live demo:
Its a danish hotel, but will still work if you change your motto, and im on the hotel with the name "Thomas" so contact me there if you want to :)
 

Attachments

You must be registered for see attachments list
Last edited:
Experienced Elementalist
Joined
Jul 14, 2012
Messages
244
Reaction score
147
"Credits:
100% Me for making the PHP Switch and the idea :)"

idea is from habbo, they've had it before

you should also post the image of the crocodile here, some people won't have it.

but thanks anyway I guess
 
Newbie Spellweaver
Joined
Sep 14, 2013
Messages
69
Reaction score
18
I got this for like 2 years ago, but thanks anyway.
 
Experienced Elementalist
Joined
Oct 12, 2012
Messages
260
Reaction score
37
So, today i´ve coded the Crikey feature, so if your motto is "Crikey" the user profile on the me page will be a crocodile, so this is actually easy and you can add you own hidden secret images!

Live demo:

1.)
Go to the me.php page and open it up i notepad or something, then find the Habbo-Plate where it has {look} in it.

Go ahead and delete that,

2.)
Paste this code instead:


Code:
<?php
    $smart = $_SESSION['user']['motto'];


    switch (strtolower($smart)) {
        case "crikey":
            echo "<img src='{url}/app/tpl/skins/{skin}/images/sticker_croco.gif'/>";
            break;
                             
        case "doge":
            echo "<img src='{url}/app/tpl/skins/{skin}/images/doge.png' width='100px'/>";
            break;
                             
        default:
            echo "<img src='http://www.habbo.nl/habbo-imaging/avatarimage?figure={figure}.gif'/>";
    }
?>

So now, if your motto is "Crikey or CriKEY" it doesnt matter with caps, another image will come instead of your user image (remember to upload your own image)

REMEBER: if you add a new case, the case name MUST BE without caps! so small only, otherwise it wont work!

Credits:
100% Me for making the PHP Switch and the idea :)
---------------------------
Live demo:
Its a danish hotel, but will still work if you change your motto, and im on the hotel with the name "Thomas" so contact me there if you want to :)

This has been released many times. Why not just post images? seems more like an advertisement for your hotel.
 
Newbie Spellweaver
Joined
Feb 22, 2014
Messages
12
Reaction score
3
Its not advertisement for my hotel, its just that im not that much active here, so most likely im unable to answer comments here.
 
Skilled Illusionist
Joined
Dec 20, 2013
Messages
365
Reaction score
64
You could just of add an image or gif image
but some 1 would maybe find it usefull good effort
 
Rogu3
Joined
May 11, 2012
Messages
933
Reaction score
508
What CMS is this for? $_SESSION['user']['motto'] isn't the same for every CMS.
 
Back
Top