User login and groups

Hi Everyone!

I have posted a few topics about this and so far could not get anyone to help me out. SC support does not want to get involved in helping with php scripts. I am new to both SC and PHP. This is my way of learning the language and understanding SC better.

Phase 1: I am looking for a script that when you login, user gets validated and the user groups gets checked and assigned to a global variable. Included into the script must be a time constraint. When user is logged in and there was no activity, user must be logged out automatically.

Phase 1: If I have a GRID with a list of documents that gets stored in a mysql database. The documents is also link to the user groups. When the user access the GRID, he can only see the documents that is link to the user group.

I need some exapmle script, I believe then that I can figure this out on my own.

I would really appreciate it if someone can assist me.

Jacques

Re: User login and groups

Start to design the database. Without the database, you wont get far.
You already have the logic.

First you need to create the database, to implement the login(after you create the database, we can help with the script. how we supposed help if you dont have the tables/fields do help with the sql/script login?).

Then we’ll limit the grid to show only the documents that belongs to that group.

This is how i would start. If someone can help more …