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
    Mar 2007
    Location
    Livingston
    Posts
    101
    Tokens
    0

    Default Need Help With Cutenews!

    Heyy
    Anyone have a clue why this will not display my news?
    <div id="wrapper">
    <div id="content" align="justify">
    <span class="subject">Blog</span>
    <br>
    <?PHP
    $number=5;
    $template="UrbanDisaster";
    $only_active=TRUE;
    include("/home/www/urbandisaster.awardspace.co.uk/CuteNews/show_news.php");
    ?>
    </div>
    +rep
    Killer Beats Not Bombs
    Proof [x][x]
    Trades: 5
    Successful: 4 Failures: 1

  2. #2
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    i know why... Whats your Account USername?

    Code:
    <div id="wrapper">
    <div id="content" align="justify">
    <span class="subject">Blog</span>
    <br>
    <?PHP
    $number=5;
    $template="UrbanDisaster";
    $only_active=TRUE;
    include("/home/www/USERNAME/CuteNews/show_news.php");
    ?>
    </div>
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  3. #3
    Join Date
    Nov 2006
    Posts
    1,939
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <div id="wrapper">
    <div id="content" align="justify">
    <span class="subject">Blog</span>
    <br>
    <?PHP
    $template 
    "UrbanDisaster";
    $number "5";
    include(
    "CuteNews/show_news.php");
    ?> 
    </div>
    EDIT; it correct now
    Last edited by Puma; 14-09-2007 at 07:26 PM. Reason: redone the coding

  4. #4
    Join Date
    Aug 2007
    Location
    Scotland
    Posts
    1,708
    Tokens
    0

    Latest Awards:

    Default

    the /home/www is for installing on server, if its on your site use http://www.URL.DOMAIN/PATHTOINSTALL.

  5. #5
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Why use that it doesnt work you use something like: /home/username/public_html/cutenews or for windows well i dont know lol

    But the name.domain thing dont work it give an error
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  6. #6
    Join Date
    Aug 2007
    Location
    Scotland
    Posts
    1,708
    Tokens
    0

    Latest Awards:

    Default

    /home/username/public_html/cutenews

    Would be if you owned a server and uploaded it to the home directly of your server, if hes on hosting you use the link to the file

  7. #7
    Join Date
    Aug 2007
    Posts
    31
    Tokens
    0

    Default

    Quote Originally Posted by Galaxay View Post
    /home/username/public_html/cutenews

    Would be if you owned a server and uploaded it to the home directly of your server, if hes on hosting you use the link to the file
    *Message Removed*

    Edited by ActiveVision (Forum Moderator): Please don't be rude.
    Last edited by Johno; 16-09-2007 at 01:24 PM.

  8. #8
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Galaxay View Post
    /home/username/public_html/cutenews

    Would be if you owned a server and uploaded it to the home directly of your server, if hes on hosting you use the link to the file
    your wrong it's /home/username/public_html/cutenews

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


Posting Permissions

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