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 4 1234 LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default How would I get DJ Says in a box on my fansite?

    I want the DJ says in a certain box on my fansite.

    This box doesnt have iFrames.

    This is the link thing for the DJ says:
    http://www.wavehabbo.byethost24.com/staff/says.php

    How would i go about getting that to appear as the DJ says on my website?

    This is the box code

    <div class="header"><img src="blue_headerc59d.png?t=THIS IS PHP GD" alt="Anything" /></div>
    <div class="box">
    hello
    </div>
    Last edited by -Adam; 12-12-2008 at 09:16 PM.

  2. #2
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    <?
    include ("staff/says.php");
    ?>

    I think

    [X] [X] [X]

  3. #3
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default

    Sos, Forgot to post the full box code.

    Could you also include where it would go please pazza?

    <div class="header"><img src="blue_headerc59d.png?t=THIS IS PHP GD" alt="Anything" /></div>
    <div class="box">
    hello
    </div>

  4. #4
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by -Adam View Post
    Sos, Forgot to post the full box code.

    Could you also include where it would go please pazza?

    <div class="header"><img src="blue_headerc59d.png?t=THIS IS PHP GD" alt="Anything" /></div>
    <div class="box">
    hello
    </div>
    <div class="header"><img src="blue_headerc59d.png?t=THIS IS PHP GD" alt="Anything" /></div>
    <div class="box">
    <?
    include ("staff/says.php");
    ?>
    </div>

    But the ("staff/says.php") depends on where your index file is, if it is like this:

    PUBLIC_HTML/index.html
    and
    PUBLIC_HTML/staff/

    It should work.

    If it doesn't add a / before staff

    [X] [X] [X]

  5. #5
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default

    Still dont work :S

  6. #6
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by -Adam View Post
    Still dont work :S
    In the middle div put

    <?php include ("/staff/says.php"); ?>
    or
    <?php include ("staff/says.php"); ?>
    or
    <?php include ("http://www.wavehabbo.byethost24.com/staff/says.php"); ?>

    [X] [X] [X]

  7. #7
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default

    Still nothing

  8. #8
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by -Adam View Post
    Still nothing
    post your full page code

    [X] [X] [X]

  9. #9
    Join Date
    Feb 2008
    Posts
    291
    Tokens
    0

    Default

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>habboGEAR</title>
    <link href="css/global.css" rel="stylesheet" type="text/css" />
    <link href="css/anylink.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="anylink.js"></script>
    <script type="text/javascript" src="ajaxcontent.js"></script>
    </head>

    <body>

    <div id="wrapper">
    <div id="container">
    <div id="left_container">
    <div id="breaking_news">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><strong>BREAKING NEWS:</strong> Joe Swash W...</td>
    <td style="width: 17px;"><a href="#"><img src="images/misc/arrow.GIF" alt="More" /></a></td>
    </tr>
    </table>
    </div>
    <div class="header"><img src="blue_headerc59d.png?t=THIS IS PHP GD" alt="Anything" /></div>
    <div class="box">
    <?
    include ("http://www.wavehabbo.byethost24.com/staff/says.php");
    ?>
    <?php include ("http://www.wavehabbo.byethost24.com/staff/says.php"); ?>
    </div>
    <div class="box_bottom"></div>
    <div class="header"><img src="grey_header59e5.png?t=EDIT THE URL" alt="Anything" /></div>
    <div class="box">
    Heloo
    </div>
    <div class="box_bottom"></div>
    <div class="header"><img src="green_header2342.png?t=THIS IS A GD HEADER" alt="Anything" /></div>
    <div class="box">
    Heloo
    </div>
    <div class="box_bottom"></div>
    </div>
    <div id="right_container">
    <div id="banner"></div>
    <div id="navigation_left"></div>
    <div id="navigation_background">
    <div id="nav_wrap">
    <a href="javascript:ajaxpage('home.html', 'content');" class="home"></a>
    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'hiphabs')" class="hiphabs"></a>

    <div id="hiphabs" class="anylinkcss">
    <a href="javascript:ajaxpage('staff.html', 'content');">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'news')" class="news"></a>

    <div id="news" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'community')" class="community"></a>

    <div id="community" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'media')" class="media"></a>

    <div id="media" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'guides')" class="guides"></a>

    <div id="guides" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'goodies')" class="goodies"></a>

    <div id="goodies" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'forum')" class="forum"></a>

    <div id="forum" class="anylinkcss">
    <a href="http://www.dynamicdrive.com/">Staff List</a>
    <a href="http://www.cssdrive.com/">About Us</a>
    <a href="http://www.javascriptkit.com/">Disclaimer</a>
    <a href="http://www.codingforums.com/">Contact Us</a>
    <a href="http://www.javascriptkit.com/jsref/">How We Do It</a>
    <div><img src="images/navigatiom/dropdown/bottom.GIF" alt="Bottom" /></div>
    </div>

    </div>
    </div>
    <div id="navigation_right"></div>
    <div class="clear"></div>
    <div id="divider"></div>
    <div id="content_container">
    <div class="content_top"></div>
    <div class="content_background" id="content">
    <script type="text/javascript">
    ajaxpage('home.html', 'content') //load "test.htm" into "rightcolumn" DIV
    </script>
    </div>
    <div class="content_bottom"></div>
    <div class="disclaimer_top"></div>
    <div class="disclaimer_background" id="disclaimer">
    <script type="text/javascript">
    ajaxpage('disclaimer.html', 'disclaimer') //load "test.htm" into "rightcolumn" DIV
    </script>
    </div>
    <div class="disclaimer_bottom"></div>
    </div>

    <div id="right_side_content">
    <div class="grey_boxes" id="userlogin">
    <form>
    <input type="text" value="username..." style="border: 1px solid #b4b4b4; padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; width: 160px; margin: 0 auto; margin-bottom: 3px; margin-top: 3px;"/>
    <input type="password" value="password" style="border: 1px solid #b4b4b4; padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; width: 160px; margin: 0 auto; margin-bottom: 3px;" /><br />
    <input type="submit" value="login" />
    </form>
    </div>
    <div class="grey_boxes" id="greybox1">
    <script type="text/javascript">
    ajaxpage('radio.html', 'greybox1') //load "test.htm" into "rightcolumn" DIV
    </script>
    </div>
    <div class="grey_boxes" id="greybox2">
    <script type="text/javascript">
    ajaxpage('php/radio_stats.html', 'greybox2') //load "test.htm" into "rightcolumn" DIV
    </script>
    </div>
    <a href="#" class="orange"></a>
    <a href="#" class="blue"></a>
    <a href="#" class="green"></a>
    </div>
    </div>


    <div class="clear"></div>
    </div>
    <div id="bottom"></div>
    </div>

    </body>
    </html>


    Still need to edit nav ect

  10. #10
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    rename index.html to index.php

    [X] [X] [X]

Page 1 of 4 1234 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
  •