Just remove the comment in the "config.php". - Did it work?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-10
I've tried to do that it did not work. I get the following error message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting
T_PAAMAYIM_NEKUDOTAYIM in
/home/parkwood/public_html/addressbookv6.1/config/config.php on line 24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the "config.php" file under the "$userlist" variable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-25
$userlist = "secret";
The above is what I have currently. What would I use for a username and a
password. I've tried every combination I could think of. Sorry, I know this is
totally something I'm not doing correctly. I thank you for all your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys I need help about the account permissions of php address book. I'm
trying to customize the application for my use. I want to create three kind of
accounts in there:
1) the first is the administrator, that can do everything he wants, like modify, add, delete contacts, import and export the contact and so on... 2) the secon kind has got the same permissions of the administrator but it can't import and export the contacts 3) the third kind can read, write or delete only the conctacts created by it
I have already modified something in the code, but I need some suggestions to
achieve my target. Thank you for the help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well maybe I've found something, for the second kind of account I can
customize the readonly user, that can read all the contacts, so I have to drop
the "if ( ! read_only)" statements in some files like edit.php, view.php and
index.php. So I will have a second level account borned by a readonly account.
For the third kind you're right chatelao, but I can by-pass this issue
creating a group account for every user (luckily employees are few...), every
group will contain only the group's owner contacts, so every account can read
only the contacs of its group and created by it. What do you think about?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok I created a domain for every user, so every user can see only its domain's
records. But I also need that the administrator user, with a "root" role and a
"0" domain id can read, modify and delete other all the records, although the
other domain records. Does anyone know a solution?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how do I activate the user name and password for logging can only access the address book?
Just remove the comment in the "config.php". - Did it work?
I've tried to do that it did not work. I get the following error message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting
T_PAAMAYIM_NEKUDOTAYIM in
/home/parkwood/public_html/addressbookv6.1/config/config.php on line 24
I got the same problem, can someone please advise?
thanx in advance, Olev
Sorry, I forgot two comments in the sample entries
a) // -- Role "readonly": --
b) // -- A second, independent domain: --
Regards and have fun
O.
Thank you. It worked like a charm. :)
However, now I'm not able to log in. Where is the username and password info
stored?
Thanks in advance!
In the "config.php" file under the "$userlist" variable.
$userlist = "secret";
The above is what I have currently. What would I use for a username and a
password. I've tried every combination I could think of. Sorry, I know this is
totally something I'm not doing correctly. I thank you for all your help.
User: admin
Pass: secret
Thanks I'm a moron. :)
Hello guys I need help about the account permissions of php address book. I'm
trying to customize the application for my use. I want to create three kind of
accounts in there:
1) the first is the administrator, that can do everything he wants, like modify, add, delete contacts, import and export the contact and so on...
2) the secon kind has got the same permissions of the administrator but it can't import and export the contacts
3) the third kind can read, write or delete only the conctacts created by it
I have already modified something in the code, but I need some suggestions to
achieve my target. Thank you for the help
Hi, good point, but the configuration is not that flexible yet. Sorry.
Especially point 3) is quite complex, as you need an owner for every record in
the database.
Good luck to add it
Regards O.
Well maybe I've found something, for the second kind of account I can
customize the readonly user, that can read all the contacts, so I have to drop
the "if ( ! read_only)" statements in some files like edit.php, view.php and
index.php. So I will have a second level account borned by a readonly account.
For the third kind you're right chatelao, but I can by-pass this issue
creating a group account for every user (luckily employees are few...), every
group will contain only the group's owner contacts, so every account can read
only the contacs of its group and created by it. What do you think about?
ok I created a domain for every user, so every user can see only its domain's
records. But I also need that the administrator user, with a "root" role and a
"0" domain id can read, modify and delete other all the records, although the
other domain records. Does anyone know a solution?