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 9 of 9
  1. #1
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default Members System Query

    Ok I have set up this members system here:
    www.mymx.ax-hosting.com/site/registration.php

    and it all works fine. Abit like habbos I suppose but I cant seem to be able to say add a page for settings and keep the person logged in and then it goes into a war of loging-in where you just repeatedly have to log in and then comes up another screen Any ideas.. ???


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  2. #2
    Join Date
    Jun 2004
    Posts
    1,809
    Tokens
    0

    Latest Awards:

    Default

    Ahh i tried that one its totally rubbish trust me I have found a better one pm me an i tell you.
    70 Shaman
    70 Mage
    70 Rogue
    70 Druid
    70 Priest
    63 Paladin

  3. #3
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Ye I made it with the help of a Tutorial on phpfreaks but I know what it all does and ive edited it. Its quite interesting especailly the user levels..
    Last edited by splintercell!; 02-04-2005 at 10:17 PM.

  4. #4
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    whats the login system, sessions or cookies?

  5. #5
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    It uses sessions. I think if I just use the database it should work..I think this is the problem when I move it on to a new page it wont stay logged in because of this code <?php
    session_start();
    header("Cache-control: private");
    if (!$_SESSION['username']) {
    echo "You aren't logged in.";
    include("login.html");
    exit();
    }
    ?> but thats needed to make sure you are logged in. So how do I keep an account logged in.
    Last edited by splintercell!; 03-04-2005 at 01:44 PM.


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  6. #6
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    so i take it, that goes at teh top of the page to find out if they have the login session.
    Ok. Im not particlay good with sessions, but id guess ist a problem with transfering the session data from one page to the next. Ipb adds the sessions to the url to do this, but im not siure how its done normaly as ive never got it to work and as i was in a hurry use cookies which are easyer.

  7. #7
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Ok thanks Ill look into it the reason I used sessions is because cookies are being blocked out more now etc. maybe for now i can just try
    <?
    include ('page.php')
    ?> to keep the session..
    Last edited by splintercell!; 03-04-2005 at 03:11 PM.


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  8. #8
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    i am thinking of somthing like this for hte LPR

    http://www.stupidian.com
    (contains mild swearing)

  9. #9
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    yeh like each user could have a profile saying his favourite member and song etc.


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

Posting Permissions

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