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 6 of 6

Thread: Wordpress Help?

  1. #1
    Join Date
    Sep 2007
    Posts
    188
    Tokens
    0

    Default Wordpress Help?

    Tbh, I dont have a clue and would like some one to help me do the folowing +Rep of course

    // ** MySQL settings ** //
    define('DB_NAME', 'putyourdbnamehere'); // The name of the database
    define('DB_USER', 'usernamehere'); // Your MySQL username
    define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');


    Many thanks
    Michael

  2. #2
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
     // ** MySQL settings ** //
    define('DB_NAME''putyourdbnamehere');    // The name of the database
    define('DB_USER''usernamehere');     // Your MySQL username
    define('DB_PASSWORD''yourpasswordhere'); // ...and password
    define('DB_HOST''localhost');    // 99% chance you won't need to change this value
    define('DB_CHARSET''utf8');
    define('DB_COLLATE'''); 
    Ok, DBNAME is what your database is called
    DBUSER is the name of the acount you use to login
    DBPASSWORD is the password you use to login
    DBHOST, just put "localhost"
    And the last two i have no idea,

    But to make it easy

    1)Make a file called db_connect.php
    2) On everypage use the following code
    PHP Code:
    <?php include "db_connect.php" ?>
    "
    3)On db_connect.php use the following code..

    PHP Code:
    <?php
    $mysql_server 
    "localhost";
    $mysql_user "username";
    $mysql_password "password";
    $mysql_database "databasename";
    $timeoutseconds 300000
    $db mysql_select_db("$mysql_database") or die ("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=../index.php\">");

    ?>
    Hope i helped..

  3. #3
    Join Date
    Sep 2005
    Posts
    5,253
    Tokens
    3,625

    Latest Awards:

    Default

    if your still stuck, there are plenty of sites out there that will create a wordpress blog for you, or Multiuser blogs, www.fango.co.uk is one i use/own XD

  4. #4
    ScottDiamond. Guest

    Default

    Quote Originally Posted by Carbon View Post
    PHP Code:
     // ** MySQL settings ** //
    define('DB_NAME''putyourdbnamehere');    // The name of the database
    define('DB_USER''usernamehere');     // Your MySQL username
    define('DB_PASSWORD''yourpasswordhere'); // ...and password
    define('DB_HOST''localhost');    // 99% chance you won't need to change this value
    define('DB_CHARSET''utf8');
    define('DB_COLLATE'''); 
    Ok, DBNAME is what your database is called
    DBUSER is the name of the acount you use to login
    DBPASSWORD is the password you use to login
    DBHOST, just put "localhost"
    And the last two i have no idea,

    But to make it easy

    1)Make a file called db_connect.php
    2) On everypage use the following code
    PHP Code:
    <?php include "db_connect.php" ?>
    "
    3)On db_connect.php use the following code..

    PHP Code:
    <?php
    $mysql_server 
    "localhost";
    $mysql_user "username";
    $mysql_password "password";
    $mysql_database "databasename";
    $timeoutseconds 300000
    $db mysql_select_db("$mysql_database") or die ("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=../index.php\">");

    ?>
    Hope i helped..
    You made something easy to understand complicated.

    Save, change all the values for what it asks you for. It's not rocket science. You will have to create a database, by the way.

  5. #5
    Join Date
    Sep 2007
    Posts
    188
    Tokens
    0

    Default

    Thanks Scott
    Last edited by Save; 05-10-2007 at 06:25 PM.

  6. #6
    ScottDiamond. Guest

    Default

    I'll highlight in bold what you have to change.

    // ** MySQL settings ** //
    define('DB_NAME', 'putyourdbnamehere'); // The name of the database
    define('DB_USER', 'usernamehere'); // Your MySQL username
    define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');


    Change this to the name of your database.
    Change this to the user of that database.
    Change this to the password for that user to the database.

Posting Permissions

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