Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
4 posts Page 1 of 1
Hi,

It would be great if 'administrator' level users could add further administrators rather than restricting this to the super admin.

When building sites for clients I tend to keep the super admin login for myself and create a separate administrator login for whoever i'm building the site for. Typically though the client wants multiple admins over time which means either:

1) Doing this for them each time
2) Giving them the super admin credentials

I don't find either of these options to be suitable as it means that either they're not in control (option 1) or i'm not in control (option 2).

Let me know if this is a possibility

Cheers
Daz
There is a possibility for admins to create more admins with a consequence: superadmins will be able to create more superadmins and soon there will be too many of them :lol: :D

Ok, I took a break from my work and found this thing for you.
If you are on 1.4.7 -> open edit-users.php, Line 115.
Find a piece $AUTH->user->access_level - 1, 1 and make it $AUTH->user->access_level, 1
Full string would become for 1.4.7:
Couch 1.4.7, edit-users.php wrote: echo '<p>' . $FUNCS->access_levels_dropdown( $user->access_level, $AUTH->user->access_level, 1 );


For Couch 2.0 it's in field.php, Line 1387. Same change.
Couch 2.0, field.php wrote: $html = $FUNCS->access_levels_dropdown( $this->page->access_level, $AUTH->user->access_level, 1 );


Enjoy :D

P.S. Moved to Tips&Tricks in case someone needs this.
Great :lol:

Thx mate!
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
Haha, thanks trendoman this is great. I guess with great power comes great responsibility so I'll try and keep those superadmins to a minimum!
4 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests