meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 62 forks source link

Adding/Editing Users in MRBS #1244

Open jberanek opened 10 years ago

jberanek commented 10 years ago

Facing problems in adding and editing users in MRBS . I have used the url http://trident-mrbs.netii.net/web/edit_users.php

but is gives only Add User option

Could you please help me out

Reported by: *anonymous

Original Ticket: mrbs/support-requests/509

jberanek commented 10 years ago

I don't know what if you've got $auth['type'] set to? I suspect it's the default, ie 'config', in which case edit_users.php is redundant. In the 'config' authentication scheme you add users by editing the config file. However this isn't very convenient and you'd probably be better off setting $auth['type'] to 'db'. In this scheme the users' details are held in a table in the database. When you set the authentication type to 'db' you create your first user, which will be an admin, by clicking on the 'User list' link in the top right hand corner. Then login with the username/password you have just created and create more users.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

Thanks Campbell , but how to edit the existing users ?

Original comment by: *anonymous

jberanek commented 10 years ago

Do I take it that you've just switched $auth['type'] from 'config' to 'db'? It certainly looks like it because the "User list" link has now appeared. If so, then your existing users will have been defined in the config file and you'll need to add them manually by using the "Add User" button.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

Yes Campbell I am able to add users but if I need to modify the user details like password or email address ... is there any option for it

Original comment by: *anonymous

jberanek commented 10 years ago

Is there a table of users? You should be able to click on a user and then edit the details.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

no the table is not visible

Original comment by: *anonymous

jberanek commented 10 years ago

I have added many users

Original comment by: *anonymous

jberanek commented 10 years ago

Can you try turning off JavaScript in your browser and see if you get a table? If you do, then there's something going wrong with the JavaScript. Turn JavaScript back on, turn on Developer Tools in your browser and see if you're getting an error in the JavaScript console.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

Yes by disabling JavaScript , table is visible . Below are the errors in developers tool

SCRIPT5007: Unable to get property 'setDefaults' of undefined or null reference File: datepicker.js.php, Line: 2, Column: 3

SCRIPT438: Object doesn't support property or method 'datepicker' File: datepicker.js.php, Line: 76, Column: 13

Original comment by: *anonymous

jberanek commented 10 years ago

What version of MRBS are you using? And what browser and version?

Original comment by: campbell-m