Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: redirecting users.txt request  (Read 287 times)
0 Members and 1 Guest are viewing this topic.
Ted
Guest
« on: May 22, 2003, 02:34:00 PM »

how could I modify the script to look for a users file at another location. I'm trying to modify it to look at a users file for it's list of users, but am having problems locating exactly where to do this at. I have looked inside users.pm and think that is where i need to do it at, but thought I oughta doublecheck with the designer first. The script is up and running fine, I just want to institute individual calendars with out having to control two lists of users for everything.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: May 22, 2003, 08:37:00 PM »

** I'm trying to modify it to look at a users file for it's list of users, but am having problems locating exactly where to do this at. **

User's information including the encrypted password is kept in the users.txt located in the calendarscript directory. Their permissions are kept in the permissions.txt file located in the calendarscript directory. There are also various supplementary files associated with each, named similarly.

I suggest if you want the calendar to use different lists, you make your other application write to the files in the locations they are now and in the format CalendarScript expects. I don't know which area of the code would be required to be modified for CalendarScript to be able to utilize files in a physically different location and/or format.

Dan O.


[This message has been edited by DanO (edited May 22, 2003).]

Logged
Ted
Guest
« Reply #2 on: May 23, 2003, 09:39:00 PM »

Thanks D! I had noticed the users and their encrypted password was stored in that file, but was looking to point the userlist to another direction (server root)(master list) so as to auto detect a new user and configure them with 'default' permissions. I hope to ultimatley allow them to visit and get the default cal, then can go on to their own cal. I did get confused within the user.pm module, as I believe this is my starting point to cut in the list. thanks for the info, will see if this can be done.
Logged
Pages: [1]   Go Up
Print
Jump to: