[MODDB] ACP Add User MOD 1.0.0

Modules for the Admin Control Panel
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

How do you like this MOD?

I Loved It! (5 stars)
47
78%
I Really Liked It! (4 stars)
9
15%
I Liked It (3 stars)
2
3%
I Didn't Like It (2 stars)
0
No votes
I Hated It (1 star)
2
3%
 
Total votes : 60

Re: [Add-on] ACP Add User MOD 1.0.0

Postby hurry » 19 Mar 2007, 22:29

When I try to Add a User now, I get this error:

Warning: The entered email domain has no valid MX record.

I tried to add a few valid email addresses. Please help. Thanks.
hurry
Lieutenant
Lieutenant
 
Posts: 202
Joined: 09 Mar 2007, 12:26
Gender: Male


Re: [Add-on] ACP Add User MOD 1.0.0

Postby Highway of Life » 23 Mar 2007, 18:17

For some reason, it's either not able to detect (scan) the email addresses, or they really don't have a valid MX record.
You can turn that off in user registration settings.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] ACP Add User MOD 1.0.0

Postby Ash Hi Fi Zone » 11 Apr 2007, 08:48

Thank you for this MOD dude.... I really loved it....

I tried this MOD and it works excellent but is there a way to add permissions to this ACP module....

If anyone were not able to understand my previous sentence correctly then this is what I mean - Is it possible to set permissions for accessing this module which can be set as a part of the Admin Roles...

Actually the thing is I created a new user group and have given them a limited access to Admin Panel and I would not want to give them permissions to access this ADD USER part... So is it possible to do so ?

Well I tried to do it so manually by myself and these are the changes I made....

1. I added a new auth entry in the phpbb_acl_options table by the name a_adduser

2. Then I added this line to language\en\acp\permissions_phpbb.php file :

'acl_a_adduser' => array('lang' => 'Can add users', 'cat' => 'user_group'),

3. Modfied this line in the provided includes\acp\info\acp_add_user.php file :

From : 'auth' => 'acl_a_user',

to : 'auth' => 'acl_a_adduser',

4. Modfied this line in the provided includes\acp\acp_add_user.php file :

From :
$admin_ary = $auth->acl_get_list(false, 'a_user', false);
$admin_ary = (!empty($admin_ary[0]['a_user'])) ? $admin_ary[0]['a_user'] : array();


To :
$admin_ary = $auth->acl_get_list(false, 'a_adduser', false);
$admin_ary = (!empty($admin_ary[0]['a_adduser'])) ? $admin_ary[0]['a_adduser'] : array();


Now i get an option to set permission for adding users but still evn if set to NO that group users are getting the ADD USER panel in ACP.....

So what other changes/modifications need to be done for this plz... :)
My Kool Forum : hifizone.org
My job-related website : catchjobsonline.com
My phpBB 3 Mods : Categorize Announces and Stickies Instant ACP Redirect
My phpBB 3 Stlye Tutorial : How to Add Rounded Corners for your style
Ash Hi Fi Zone
MOD Author
MOD Author
 
Posts: 45
Joined: 05 Apr 2007, 04:09
Location: Right Here!!! Right Now!!!
Gender: Male

Re: [Add-on] ACP Add User MOD 1.0.0

Postby Ash Hi Fi Zone » 23 May 2007, 10:48

[phpBB Debug] PHP Notice: in file /includes/acp/acp_add_user.php on line 313: Undefined index: USERNAME_CHARS_ANY
[phpBB Debug] PHP Notice: in file /includes/acp/acp_add_user.php on line 313: Undefined index: _EXPLAIN
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3666)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3666)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 156: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3666)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 157: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3666)


Gives these errors when i tried with the RC 1....

The line 313 in /includes/acp/acp_add_user.php was this :

Code: Select all
         'L_USERNAME_EXPLAIN'      => sprintf($user->lang[$user_char_ary[str_replace('\\\\', '\\', $config['allow_name_chars'])] . '_EXPLAIN'], $config['min_name_chars'], $config['max_name_chars']),

The correct line should be this :

Code: Select all
         'L_USERNAME_EXPLAIN'      => sprintf($user->lang[$config['allow_name_chars'] . '_EXPLAIN'], $config['min_name_chars'], $config['max_name_chars']),


Making that change removed the Header warnings....
My Kool Forum : hifizone.org
My job-related website : catchjobsonline.com
My phpBB 3 Mods : Categorize Announces and Stickies Instant ACP Redirect
My phpBB 3 Stlye Tutorial : How to Add Rounded Corners for your style
Ash Hi Fi Zone
MOD Author
MOD Author
 
Posts: 45
Joined: 05 Apr 2007, 04:09
Location: Right Here!!! Right Now!!!
Gender: Male

Re: [Add-on] ACP Add User MOD 1.0.0

Postby eFantasy » 23 May 2007, 10:51

Really cool mod!!!! :good: :good: :good: :good: :good:
Dark Blitz - A graphics community
Styles: proFantasy
New ranks: Blue Blitz ranks
Topic icons: More prosilver topic icons
Image
User avatar
eFantasy    
Style Author
Style Author
 
Posts: 528
Joined: 26 Apr 2007, 09:53
Location: Netherlands
Gender: Male
phpBB Knowledge: 5

Re: [BETA] ACP Add User MOD 1.0.B3

Postby Highway of Life » 24 May 2007, 03:07

First post updated.

Beta3 released with new features. (see first post)
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [BETA] ACP Add User MOD 1.0.B3

Postby eFantasy » 24 May 2007, 12:10

This way you can easily make a test user without having to log out, create the test account, log in on admin, add test account to groups,...

:good: :good: :good: again:P
Dark Blitz - A graphics community
Styles: proFantasy
New ranks: Blue Blitz ranks
Topic icons: More prosilver topic icons
Image
User avatar
eFantasy    
Style Author
Style Author
 
Posts: 528
Joined: 26 Apr 2007, 09:53
Location: Netherlands
Gender: Male
phpBB Knowledge: 5

Re: [BETA] ACP Add User MOD 1.0.B3

Postby colegiomission » 26 May 2007, 12:41

Hi, im sorry i think im way to new to this moding thing, and i got stuck in the DIY part of the instructions, i just dont know what to do, do i insert the code that says "Install ACP module ("Add User" [acp_add_user]")"???
colegiomission
Crewman
Crewman
 
Posts: 2
Joined: 26 May 2007, 12:38
Gender: Male

Re: [BETA] ACP Add User MOD 1.0.B3

Postby Ash Hi Fi Zone » 26 May 2007, 13:08

colegiomission wrote:Hi, im sorry i think im way to new to this moding thing, and i got stuck in the DIY part of the instructions, i just dont know what to do, do i insert the code that says "Install ACP module ("Add User" [acp_add_user]")"???


No you need not.... All you need to do is this :

1. Go to ACP --> System --> Module Management ACP
2. Select Add User from the list of modules available in the dropdown list in the bottom right corner and then click Add Module
3. Then in the list of modules the Add User module would also appear. It would be disabled by default. Click the Enable link to the right of it
4. Refresh the page and Voila you have the ADD USER module in the ACP :D
My Kool Forum : hifizone.org
My job-related website : catchjobsonline.com
My phpBB 3 Mods : Categorize Announces and Stickies Instant ACP Redirect
My phpBB 3 Stlye Tutorial : How to Add Rounded Corners for your style
Ash Hi Fi Zone
MOD Author
MOD Author
 
Posts: 45
Joined: 05 Apr 2007, 04:09
Location: Right Here!!! Right Now!!!
Gender: Male

Re: [BETA] ACP Add User MOD 1.0.B3

Postby colegiomission » 27 May 2007, 00:00

Ooooooohhhhhhhh

Thankyou thankyou thankyou Thankyou thankyou thankyouThankyou thankyou thankyou

its just that im really new on phpbb just 3days, and i know a little bit of computers but im just addapting to all the terms, got it working, you saved me to manually register 200 students in a school thx a bunch!!!!!!!! :yahoo:
colegiomission
Crewman
Crewman
 
Posts: 2
Joined: 26 May 2007, 12:38
Gender: Male

PreviousNext

Return to ACP

Who is online

Users browsing this forum: No registered users and 3 guests