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 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default Contact list generator

    Well, as my website still use's Housekeeping V1, and I doubt any other DJ panel has got this feature, but as you know most DJ's contact each other via MSN Messenger, I'd like to make a Contact list generator, that get's from a file (emails_msn.php).

    MSN Contact list is used like this

    <contact level="1">[email protected]</contact>

    or something, is there any chance of someone making a script like this, I'd make it but I don't understand flatfiling.

  2. #2
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    what if when you register a user they have to input their msn
    Post Meter
    ______________________________________________
    400 450 500 550 600 650 700 750 800 850 900-1k
    Green=Done | Orange=Almost | Red=Not Done
    ______________________________________________
    Habbo fury Coming Soon!
    My Img tag has ran away

  3. #3
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    If there is already a page there, the one u mentioned, emails_msn.php please show it, if not, make it so when they register on the panel or whatever, make them enter a msn address, and then make the appropriate field in the database table for it.

    Then on the desired page do the following:

    PHP Code:
    <?php

    include("config.php"); // Whatever your database connect file is.

    // Change msn to the field name you chose, 
    // users to whatever the table holding user info is,
    // and change username to whatever the field for the username is called.
    $msn1 mysql_query("SELECT `msn`,`username` FROM `users`"); 

    echo(
    "<ul>");

    while(
    $msn2 mysql_fetch_array($msn1)) {

    echo(
    "<li><b>".$msn2['username']."</b>:&nbsp;".$msn2['msn']."</li>");

    }

    echo(
    "</ul>");

    ?>
    Something like that that would display them as an unordered list.

    Hope that helps,
    Luke


  4. #4
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by L?KE View Post
    If there is already a page there, the one u mentioned, emails_msn.php please show it, if not, make it so when they register on the panel or whatever, make them enter a msn address, and then make the appropriate field in the database table for it.

    Then on the desired page do the following:

    PHP Code:
    <?php

    include("config.php"); // Whatever your database connect file is.

    // Change msn to the field name you chose, 
    // users to whatever the table holding user info is,
    // and change username to whatever the field for the username is called.
    $msn1 mysql_query("SELECT `msn`,`username` FROM `users`"); 

    echo(
    "<ul>");

    while(
    $msn2 mysql_fetch_array($msn1)) {

    echo(
    "<li><b>".$msn2['username']."</b>:&nbsp;".$msn2['msn']."</li>");

    }

    echo(
    "</ul>");

    ?>
    Something like that that would display them as an unordered list.

    Hope that helps,
    Luke

    Thanks.. +rep

Posting Permissions

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