J
Asked
Hi, Do moderators only have post editing functions? can the moderator have a function to accept new members, so that they can help admins in accepting new members.
- MSAnswered
Hello,
No, moderators are not allowed to change status or edit users.
If you want to allow them then you can edit
users
emthod ofapp/controllers/Auth.php
and changeif (!$this->Admin) {
toif (!$this->Admin && !$this->Moderator) {
To allow them to udpate user, you need to edit
edit_user
of same controller and changeif (!$this->loggedIn || !$this->Admin && $id != $this->session->userdata('user_id')) {
toif (!$this->loggedIn || !$this->Admin && !$this->Moderator && $id != $this->session->userdata('user_id')) {
Thank you
- JAnswered
How to add button users in header sir? https://ibb.co/MCyZCwG
- MSAnswered
Hello,
The header view file is
themes/default/views/header.php
Thank you
- Login to Reply