Menu

how do I activate the user name and password

Help
2010-06-30
2012-06-07
  • i9 Soluções em TI

    how do I activate the user name and password for logging can only access the address book?

     
  • chatelao

    chatelao - 2010-07-05

    Just remove the comment in the "config.php". - Did it work?

     
  • Anonymous

    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

     
  • olev

    olev - 2010-07-14

    I got the same problem, can someone please advise?

    thanx in advance, Olev

     
  • chatelao

    chatelao - 2010-07-14

    Sorry, I forgot two comments in the sample entries

    a) // -- Role "readonly": --

    b) // -- A second, independent domain: --

    Regards and have fun

    O.

     
  • Anonymous

    Anonymous - 2010-07-20

    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!

     
  • chatelao

    chatelao - 2010-07-22

    In the "config.php" file under the "$userlist" variable.

     
  • Anonymous

    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.

     
  • chatelao

    chatelao - 2010-07-26

    User: admin

    Pass: secret

     
  • Anonymous

    Anonymous - 2010-07-26

    Thanks I'm a moron. :)

     
  • Antonio Buttiglione

    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

     
  • chatelao

    chatelao - 2010-09-22

    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.

     
  • Antonio Buttiglione

    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?

     
  • Antonio Buttiglione

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.