Hi, I'm sorry this is not available yet. - Regards O.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-07
As a Workaround i copied the configured the readonly addressbook .. to
adressbookadmin.. and modified the the new config again for administration +
login.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-12-25
Can you explain this in more detail?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any way to disable authentication for READ ONLY users?
So that the Read Only users can view the contact list, only administrator can
add/remove the content.
Hi, I'm sorry this is not available yet. - Regards O.
As a Workaround i copied the configured the readonly addressbook .. to
adressbookadmin.. and modified the the new config again for administration +
login.
Can you explain this in more detail?
This is how I did it:
In include\login.inc.php i changed
$user = (isset($_POST) ? $_POST
: (isset($_GET) ? $_GET
: (isset($_SERVER) ? $_SERVER
: "")));
$pass = (isset($_POST) ? $_POST
: (isset($_GET) ? $_GET
: (isset($_SERVER) ? $_SERVER
: "")));
to:
$user = (isset($_POST) ? $_POST
: (isset($_GET) ? $_GET
: (isset($_SERVER) ? $_SERVER
: "read")));
$pass = (isset($_POST) ? $_POST
: (isset($_GET) ? $_GET
: (isset($_SERVER) ? $_SERVER
: "password")));
That makes the user "read" with the password "password" login automatically.
Then I changed:
} elseif(isset($userlist) && $userlist == $pass) {
to:
} elseif(isset($userlist) && $userlist == $pass && !isset($_POST)) {
So that you can logout from the readonly account and logon to a admin account.
Hi nitramh ,
It works!
Many thanks!
Glad I could help. Its not my code so i take no credit for it.
The guy i got it from told me it is a bit of a hack but as long as it works im
happy.
Hi Friends....For me its not work this way....i did the same like nitramh
show...but dont work...what im doing wrong??
Sorry about my english...im from brazil...thanks if somebody help me...
How can this be applied for version 7 of address book? There's something
different with php code now
netoor Im trying for version 7 too....maybe thats the problem....
Somebody can help us??????