Results 1 to 2 of 2

Thread: Login/News Question

  1. #1
    Join Date
    Oct 2007
    Posts
    1

    Question Login/News Question

    On the website I am currently working on, I want to have a sections for me, or other administators to login in, and be able to post in a news section. Does anyone have any ideas on how to do this?

  2. #2
    Join Date
    Aug 2007
    Posts
    104
    Are you by chance using a CMS program such as Joomla? Joomla handles this extremely well.

    If you're not using a CMS program, what are you coding in? PHP? MySQL? or ???

    If you're not using CMS then you'll have to code the solution yourself and here is the basic outline of what needs to be done:

    1. Your database will need fields to support users logging in (I don't know if you have a database yet). You will need fields such as:

    user
    password
    account_type (regular, admin, super_admin, etc)

    2. When a user successfully logs in you can check their account_type to see if they are Admins to be able to log into that area and update the news, etc. You should set a global flag for the user so as they move around your site you can control what web pages they have access to.

Similar Threads

  1. A question of content
    By revrandysausage in forum General Questions
    Replies: 0
    Last Post: 26 Sep 2005, 02:25 PM

Posting Permissions

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