Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default Popups And Stuff

    Hey, I have the images from habbo for like messages and stuff but how could I get/code a system for the popups apearing like habbos?

    And, I have the techtuts user system, Is there a way to ban just a user? and then display a popup like habbo's ban message saying why you got banned?

    Sorry for posting in here after posting in coding, but nobody uses it

  2. #2
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    There's nothing better than the traditional alert system.
    Yeha you need an Alert System. I wouldn't, myself, use Habbo Alerts (hobba/mod alerts) - instead I would use Javascript Alerts.

    Well heres an outline:-
    You need a form where someone can submit a message.
    An iFrame on the page you want the alert to appear on.
    The contents of the Iframe must refresh every 60 seconds and must show the message that was submitted in an alert. Aka, for a java alert it would be alert("$message");.
    After 60 seconds, you will need a code to delete this from the database. Or, create a table so once the user has seen the alert, it deletes it from the database.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  3. #3
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Halting
    There's nothing better than the traditional alert system.
    Yeha you need an Alert System. I wouldn't, myself, use Habbo Alerts (hobba/mod alerts) - instead I would use Javascript Alerts.

    Well heres an outline:-
    You need a form where someone can submit a message.
    An iFrame on the page you want the alert to appear on.
    The contents of the Iframe must refresh every 60 seconds and must show the message that was submitted in an alert. Aka, for a java alert it would be alert("$message");.
    After 60 seconds, you will need a code to delete this from the database. Or, create a table so once the user has seen the alert, it deletes it from the database.
    yes, use javascript

  4. #4
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    Use thought if you use an iFrame originally you should set its dimensions to 0pxX0px but if you use a Habbo Alert it will not appear.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  5. #5
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    I tried to learn Javascript a while back, Never needed it. Now comes the time when I do need it. Yay, I will have to go re-learn

  6. #6
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by johno01
    I tried to learn Javascript a while back, Never needed it. Now comes the time when I do need it. Yay, I will have to go re-learn
    no dont ill try find u the code somewere

  7. #7
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    lol. I once saw HabboShed use a javascript alert via putting the code into the radio stats. It gave me the idea to make an alert system, which started of the alert system craze.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  8. #8
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Thanks

    I forgot to say + Rep to all that help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •