The habbo "Crikey" feature and more!

Results 1 to 18 of 18
  1. #1
    Apprentice ThomasRBang is offline
    MemberRank
    Feb 2014 Join Date
    Padborg, DenmarLocation
    12Posts

    shout The habbo "Crikey" feature and more!

    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: http://dejligt.net

    Without Crikey as motto



    With Crikey as motto


    And with Doge as motto:



    Images used:


    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: http://dejligt.net
    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 :)
    Last edited by ThomasRBang; 02-04-15 at 10:47 PM. Reason: Adding images.


  2. #2
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: The habbo "Crikey" feature and more!

    Moved to the correct section. Watch where you post next time.

  3. #3
    Furnibuilder creator MovieGuy is offline
    MemberRank
    Jul 2012 Join Date
    NLLocation
    245Posts

    Re: The habbo "Crikey" feature and more!

    "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

  4. #4
    Member Sve9n is offline
    MemberRank
    Sep 2013 Join Date
    NorwayLocation
    69Posts

    Re: The habbo "Crikey" feature and more!

    I got this for like 2 years ago, but thanks anyway.

  5. #5
    Account Upgraded | Title Enabled! YoWesty is offline
    MemberRank
    Oct 2012 Join Date
    285Posts

    Re: The habbo "Crikey" feature and more!

    Quote Originally Posted by ThomasRBang View Post
    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: http://dejligt.net

    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: http://dejligt.net
    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.

  6. #6
    Apprentice ThomasRBang is offline
    MemberRank
    Feb 2014 Join Date
    Padborg, DenmarLocation
    12Posts

    Re: The habbo "Crikey" feature and more!

    Its not advertisement for my hotel, its just that im not that much active here, so most likely im unable to answer comments here.

  7. #7
    No need of reading this Rush Retros is offline
    MemberRank
    Dec 2013 Join Date
    DenmarkLocation
    365Posts

    Re: The habbo "Crikey" feature and more!

    You could just of add an image or gif image
    but some 1 would maybe find it usefull good effort

  8. #8
    Rogu3 Wreckless is offline
    MemberRank
    May 2012 Join Date
    The WastelandLocation
    985Posts

    Re: The habbo "Crikey" feature and more!

    What CMS is this for? $_SESSION['user']['motto'] isn't the same for every CMS.

  9. #9
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: The habbo "Crikey" feature and more!

    Quote Originally Posted by Wreckless View Post
    What CMS is this for? $_SESSION['user']['motto'] isn't the same for every CMS.
    I think its revCMS

  10. #10
    Apprentice ThomasRBang is offline
    MemberRank
    Feb 2014 Join Date
    Padborg, DenmarLocation
    12Posts

    Re: The habbo "Crikey" feature and more!

    added!

  11. #11
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: The habbo "Crikey" feature and more!

    Please post screenshot(s) of the feature in-action or the thread will be closed. @ThomasRBang

  12. #12
    Apprentice ThomasRBang is offline
    MemberRank
    Feb 2014 Join Date
    Padborg, DenmarLocation
    12Posts

    Re: The habbo "Crikey" feature and more!

    Added.

  13. #13
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: The habbo "Crikey" feature and more!

    Can you add a screen of doge too?

  14. #14
    Apprentice ThomasRBang is offline
    MemberRank
    Feb 2014 Join Date
    Padborg, DenmarLocation
    12Posts

    Re: The habbo "Crikey" feature and more!

    I've added the images + the Doge preview :)

  15. #15
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,372Posts

    Re: The habbo "Crikey" feature and more!

    LOL! I love it

  16. #16
    Gamma Spamma Liam is online now
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,945Posts

    Re: The habbo "Crikey" feature and more!

    Released this a few years ago for Uber.. Seems like a knock off, of my release tbh?

  17. #17
    Apprentice Glow Hotel is offline
    MemberRank
    Apr 2015 Join Date
    11Posts

    Re: The habbo "Crikey" feature and more!

    Thanks for the release.

  18. #18
    Member Alito is offline
    MemberRank
    Jul 2016 Join Date
    SpainLocation
    97Posts

    Re: The habbo "Crikey" feature and more!

    Not work in phpretro



Advertisement