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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default [TUT] Linking CuteNews into Iframes

    Well many people asked for the sript, how to link a full story into a Iframe.
    Just add a template and heres the content.
    Active News
    PHP Code:
    <php Coded By .:Jack120:. (HabboxForum) ></php><html>

    <
    head>
    <
    meta http-equiv="Content-Language" content="en-gb">
    <
    meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <
    title>Title</title>
    <
    p><font face="Verdana" size="1"><b>{date} -
    <
    a target="IFRAMENAME" href="URLTO/shownews.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&">
    {
    title}</a></b><br>
    {
    short-story
    Full Story
    PHP Code:
    <php Coded By .:Jack120:. (HabboxForum) ></php><head>
    <
    title>{title}</title>
    </
    head>

    <
    p>
            <
    font face="Verdana" size="1"><b>{title}</b>, <span style="font-weight: 400">
            <
    i>Written by {author-nameon {date}</i></span><br>
    {
    full-story}</font></p
    Thats it. Just blank the Comment ones and leave News Pagination as it is.
    Rep is apreciated.

    Dont forget, to have this on your page, use:
    PHP Code:
     <?PHP
    $template
    ="TEMPLATENAME";
    $category=CATEGORYID;
    include(
    "/home/CPANELUSERNAME/public_html/URLTO/show_news.php");
    ?>
    Last edited by Moh; 15-02-2007 at 06:31 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    I can't understand still why people need a tutorial for this



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  3. #3
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Post

    Quote Originally Posted by NintendoNews View Post
    I can't understand still why people need a tutorial for this
    well what else is it? Its not a file download, its telling ppl how to. Which is in other words a tutorial

  4. #4
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Why don't we use the wizard already on cutenews, much easier...?

    - T.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  5. #5
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    why have you randomly put

    <php></php>

    tags in? wth.

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  6. #6
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Acting like he knows php, lol
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  7. #7
    Join Date
    Feb 2006
    Location
    Inside your PC
    Posts
    1,626
    Tokens
    0

    Latest Awards:

    Default

    Dont work mate just gives page cannot be displayed for the full news

  8. #8
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    <php Coded By .:Jack120:. (HabboxForum) ></php>
    :eusa_thin
    kinda quit.

  9. #9
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by nets View Post
    :eusa_thin
    Well its to stop ppl from saying its there own code :p

    Dont work mate just gives page cannot be displayed for the full news
    Change the URLTO/shownews.php
    Last edited by Moh; 15-02-2007 at 08:13 PM.

  10. #10
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    Quote Originally Posted by .:Jack120:. View Post
    Well its to stop ppl from saying its there own code :p
    But it isnt there to stop them from deleting the line?

    Also, why would you stop them from saying its their code? Its only a link...

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

Page 1 of 2 12 LastLast

Posting Permissions

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