what is this mod supposed to do...

Makes it possible for admin to create users from admin panel
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

what is this mod supposed to do...

Postby davood on Sat 10. Apr, 2004 16:08

I applyed this mod and when ever i add a user it automatically make tham an admiin....
davood
Poster
Poster
 
Posts: 13
Joined: Sun 23. Nov, 2003 07:23
Location: Chicago, IL

Postby ..::Frans::.. on Sat 10. Apr, 2004 23:43

Code: Select all
// Start add - Admin add user MOD
$lang['Create_user'] = 'Create new user';
$lang['Create_user_explain'] = 'You are about to create a new user, when creating a new user, the script will look up the data from this user %s, the user ID of this user is hard coded into the file admin_users.php, you may change this setting in the top of this file if another user ID should be used.<br />There is 2 exeptions from this: <br />1. users Password will default to "%s" if you do not specify differently into the admin add user page<br />2. users email must be filled into the admin add user page';
// End add - Admin add user MOD


This piece of code is copied directly from the install.txt file. It is text which shows INSIDE the admin panel when creating a new user and gives you the complete answer to your question. In short, open admin.php and change the default id from 2 to any other id you would like to use as the "standard" user to start with.

:wink:
..::Frans::..
Poster
Poster
 
Posts: 4
Joined: Mon 02. Jun, 2003 21:40
Location: Netherlands


Return to Admin add users [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron