Results 1 to 15 of 15

Thread: Adding a login area to a website
      
   

  1. #1
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Smile Adding a login area to a website

    I would like to know how I can add a login area for parents on my website where they can access specific info. They should login with a password preferably generated by the adminstrator than themselves etc. I am not sure if this fals under guestbook or forum and I can't find out how to do this can you help?

    Sarah

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,116

    Default Re: Adding a login area to a website

    Just go into cpanel and use the password protected directory feature. You can put a password on any folder of your site and assign a username/password for a user to login with. All files inside a protected directory can't be viewed until the user logs in

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Watdaflip
    Thanks for your help I checked the control panel but neither the folder or the addon domain is listed do I have to add it ot the list or is it because the website is not published yet?

    Thanks again

    Sarah

  4. #4
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Sarah,

    Firstly you will need to add a folder to be password protected. So for example name this folder 'members'

    Then once it is on your server, then you password protect it by using the method explained above.

    Once protected you then place all your pages you only want seeing by certain people into this folder.

    You do this in this manner:

    When publishing the pages, instead of just publishing to public_html you publish to public_html/members (this being your folder name)

    Then when anyone trys to click on a page within this folder they will be prompted for the username and password.
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  5. #5
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Sorry, I just noticed that this was for an addon domain,

    so slight change to the above...

    when publishing you set the folder to:

    public_html/youraddondomain/members

    'youraddondomain' being the domain name you add without the www or the .com
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  6. #6
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Ramsey,
    Sorry I know I must be a bit thick here but I have created the page I want to password protect and placed it in a a folder within the addon domain folder, but when I open the control panel I can only see the add on domain name folder - that is the whole thing.
    1. How can I separate the particular page from the rest?
    2. Please advise where I should create the folder.


    Thanks very much


    Sarah

  7. #7
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Quote Originally Posted by sarah hk View Post
    Ramsey,
    Sorry I know I must be a bit thick here but I have created the page I want to password protect and placed it in a a folder within the addon domain folder, but when I open the control panel I can only see the add on domain name folder - that is the whole thing.
    1. How can I separate the particular page from the rest?
    2. Please advise where I should create the folder.


    Thanks very much


    Sarah
    Ok, you say you have already placed page within the folder within the addon domain folder so...let's go from here..

    Now I will talk you through the CP process but I am not sure if you have the new or old verson, so hopefully you will grasp it whichever.

    Open CP...

    Click on 'Password protect directories'

    Then if it asks you for a root selection check the 'web root' button

    Now... you should see a folder named public_html.

    Try clicking on the folder icon next to... and NOT the actual link that reads public_html.

    This should then open up your addon domain folder.

    Do the same... click on the icon for this folder and this should open up and show the folder with your page in.

    NOW CLICK ON THE LINK SHOWING THE FOLDER NAME AND NOT THE ICON and then add a password protection.

    Sorry it's a bit vague but I have password protected many folders in the old style panel but not the new one so my explanation is a bit clumsy but should still work ok

    I'll be here for a bit if you need help.
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  8. #8
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Ramsey,
    Hello again, well I tired what you said but this is what happened.

    When I first opened the password protect directory

    Public_html / current folder
    Up one level
    cgi-bin
    pdf
    add on domain

    Then I clicked the icon next to the public _html and got

    Public_html/addon domain/current folder
    Up one level
    cgi-bin

    but I can only see the addon domain name but no the pages of the website and nothing seems to open.


    Any ideas???

    Sarah

  9. #9
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Sarah, what's your website address?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  10. #10
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Ramsey,
    I haven't published it yet. Is this the problem?

    Sarah

  11. #11
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Sarah, if you haven't published the pages yet then you won't see any in the CP, but you SHOULD be able to see the FOLDER that you are going to put these pages in. The folder is what you need to password protect and not the pages, does this make sense?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  12. #12
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Ramsey,
    Thank you for your effort. yes I get it now I need to somehow manage to get the folder visible in the CP so when I save the page I should save it on its own in a folder. Okay, I think I have done that but can't find it in CP but I will try to see what I can do. I don't want to take up any more of your time now as I have a very good general idea but just need a bit of time to make it work, If I really can't sort it then I shall be back!! - famous last words.


    Thanks again,
    Sarah

  13. #13
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    Default Re: Adding a login area to a website

    Sarah, if you get stuck, don't hesitate to email me using the first link site in my signature and I'll set it up for you free of charge. I run several accounts with VH for many clients so can be trusted
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  14. #14
    sarah hk is offline First Lieutenant
    Join Date
    Sep 2006
    Posts
    169

    Default Re: Adding a login area to a website

    Ramsey,

    Thanks alot you are very kind. I will give it my best try first.

    Sarah

  15. #15
    angtvnet is offline Corporal
    Join Date
    Apr 2008
    Location
    Seoul
    Posts
    11

    Default Re: Adding a login area to a website

    Hi! just want to ask if I can organize all the files(images,pages or all the files i published) What I mean here is....after I made a page..I certainly publish it on public folder...on BV server to be viewable on the net. Then When I visited my FTP Manager then connect...it show all the pages including all the files in it on that folder. Image,pages(different kind of pages) etc. Can I make a folder here and move files in its category? video folder,image folder something like that. I did once...but I can't move or drag the files.
    Or make a folder first then instead using the publish buttom on my BV website builder...I use the FTP Manager and drag the page I just made to folder I want?....sorry..if my question or explanaiton is to long....but hope to hear from you..thanks in advance...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49