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 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default Techtuts Uploader and Usersystem.

    I am trying to make it so that you have to enter a password to be allowed access to the file uploader. I dont want random people uploading random stuff. Just family members. I am trying to integrate the usersystem with the uploader but when im logged out and on another PC i can still access the uploader. I am not very good at PHP but there we go. I have integrated Uploadconnect.php and config.php and changed the files to all go to config.php. When i goto the uploader it says You are not logged in. but it doesnt hide the form. Any Help???

    I may have repeated my self a few times there :S
    +REP will be given.

    Thanks,
    :.:Numark:.:
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    I made a user system where you can only upload 2 file types if not logged in, and the full m8 wehen you are

    If you set the user to $admin

    It would be

    if ($user == $admin); Then
    ect

  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    i dont understand. I am going to create the accounts through the register.php page and then delete it. Then if you goto the upload.php it will say you are not logged in. But i have not integrated it properley so it says that but it doesnt hide the uploader form. Isnt it a case of making it hide the uploader form?
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #4
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    If your user system has ranks, then you only set it so a certain rank can view the page

  5. #5
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    it doesnt have ranks.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  6. #6
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Well does it has a admin panel?

  7. #7
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    nup i am just using the basic core part as a login bit.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  8. #8
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    You should get a admin panel, then do what Blob says, i have done this before and its worked fine. Actually i dont think you need a admin panel to be able to do the user ranks :S. Still if you were to get user ranks it would be much easier

  9. #9
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    I was asking about admin panel, cos if it did have there would be a rank for admins so you can set it up so only admins can access the page

    Edit: Or use CPANEL and password protect the directory instead of a user system
    Last edited by :Blob; 27-07-2006 at 09:48 AM.

  10. #10
    Join Date
    Apr 2006
    Location
    West Midlands
    Posts
    3,384
    Tokens
    0

    Latest Awards:

    Default

    Yes blob that would be easiest way to do it

Page 1 of 2 12 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
  •