4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Sun Zaza on January 28, 2014, 01:50:45 PM

Title: Dropbox User Level always: Registered users instead of empty field
Post by: Sun Zaza on January 28, 2014, 01:50:45 PM
Hi,

When you want to edit users, you have to choose first in the dropbox the user level. I want that the dorpbox automatically select the Registered users instead of empty field. Something like SELECTED, but I could not find it.

Thank you in advance,
Cruxy
Title: Re: Dropbox User Level always: Registered users instead of empty field
Post by: Rembrandt on January 28, 2014, 05:20:58 PM
Hi!
Search in admin/user.php:


show_userlevel_select_row($lang['field_userlevel']);

and replace:

show_userlevel_select_row($lang['field_userlevel'],"user_level",2)


mfg Andi
Title: Re: Dropbox User Level always: Registered users instead of empty field
Post by: Sun Zaza on January 28, 2014, 09:54:41 PM
Hi Andy, Thanks.

I hope you can give me a hint how to add a new User Level. I will do the rest.
Thank you in advace,

Cruxy
Title: Re: Dropbox User Level always: Registered users instead of empty field
Post by: Jan-Lukas on January 28, 2014, 11:00:45 PM
http://www.4homepages.de/forum/index.php?topic=31051.0
http://www.4homepages.de/forum/index.php?topic=17408.0

LG
Title: Re: Dropbox User Level always: Registered users instead of empty field
Post by: Sun Zaza on January 28, 2014, 11:04:32 PM
Thanks JL:)