I wanna make the DB so only the user logged on can see only theri own profile ....and theri is no search....can I do this?
Oct 27, 2000, 9:08 PM
Enthusiast / Moderator (885 posts)
Oct 27, 2000, 9:08 PM
Post #2 of 6
Views: 3481
Oct 28, 2000, 7:52 AM
Enthusiast / Moderator (885 posts)
Oct 28, 2000, 7:52 AM
Post #4 of 6
Views: 3503
1) You need to have a field named Userid in your default.cfg file.
2) set $auth_user_field (in default.cfg) to the position number for the Userid field.
Example:
Validated => [7, 'alpha', 0, 3, 1, 'Yes', 'Yes|No'],
Popular => [8, 'alpha', 0, 3, 0, '', ''],
Userid => [9, 'alpha',-2,15, 0, '', '']
The 9 above is the position number for the Userid field.
The entry in authorizations then becomes:
$auth_user_field = 9;
2) set $auth_user_field (in default.cfg) to the position number for the Userid field.
Example:
Validated => [7, 'alpha', 0, 3, 1, 'Yes', 'Yes|No'],
Popular => [8, 'alpha', 0, 3, 0, '', ''],
Userid => [9, 'alpha',-2,15, 0, '', '']
The 9 above is the position number for the Userid field.
The entry in authorizations then becomes:
$auth_user_field = 9;
Oct 28, 2000, 8:56 AM
Enthusiast / Moderator (885 posts)
Oct 28, 2000, 8:56 AM
Post #6 of 6
Views: 3477
Yes, this is default unless you've made changes to the fields. You would also need to identify what permissions you want users to have using the permissions settings which is also in the default.cfg file.
Alex has provided several examples on permission settings in the Readme.txt file included with the dbman files.
When making changes in the permission settings,
(1 = "yes", 0 = "no") << Taken from default.cfg file.
Alex has provided several examples on permission settings in the Readme.txt file included with the dbman files.
When making changes in the permission settings,
(1 = "yes", 0 = "no") << Taken from default.cfg file.