[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: [BETA] ACP Add User MOD 1.0.B3

Postby x16 » 31 Jul 2007, 03:56

bikesandscooters wrote:I get this format of information after adding user.

2.jpg


The Problem is in "acp_add_user.php". There is a "." on the end of line 267 but it must be ";" !

Find:
$message .= sprintf($user->lang['CONTINUE_EDIT_USER'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&amp;mode=profile&amp;u=' . $user_id) . '">', $data['new_username'], '</a>').

Replace with:
$message .= sprintf($user->lang['CONTINUE_EDIT_USER'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&amp;mode=profile&amp;u=' . $user_id) . '">', $data['new_username'], '</a>');
x16
Crewman
Crewman
 
Posts: 1
Joined: 31 Jul 2007, 03:48
Gender: Male


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

Postby Badal » 31 Jul 2007, 21:29

[phpBB Debug] PHP Notice: in file /includes/acp/acp_add_user.php on line 319: Undefined index: .*_EXPLAIN
[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:3264)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 158: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 159: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 160: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)

Code: Select all
echo '<b>[phpBB Debug] PHP Notice</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
this code is from /includes/functions.php:3264
Code: Select all
header('Content-type: text/html; charset=UTF-8');

        header('Cache-Control: private, no-cache="set-cookie"');
        header('Expires: 0');
        header('Pragma: no-cache');
this code is from /adm/index.php on line 160 and 159

i am getting this error in ACP when i click ADD user, i hope admin 'll reply me soon :)
User avatar
Badal
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 175
Joined: 14 Apr 2007, 15:39
Gender: Male

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

Postby jreilly » 01 Aug 2007, 04:08

Hi,
sorry to be really stupid but I've followed the instructions but still can't get this mod to work. I am new to phpBB3 (but not to php) so please be patient.

I have downloaded the file and unzipped it, copied
adm/style/acp_add_user.html to adm/style/acp_add_user.html
includes/acp/info/acp_add_user.php to includes/acp/info/acp_add_user.php
includes/acp/acp_add_user.php to includes/acp/acp_add_user.php
language/en/acp/permissions_add_user.php to language/en/acp/permissions_add_user.php

edited adm/index.php
and added
$user->add_lang('acp/permissions_add_user');
immediately after
// End session management

When I go to System > Administration Control Panel and look at the drop down list beside Add Module I do not see add_user listed there.

Is there something that I've missed in all this,

thanks,

Jim.
jreilly
Crewman
Crewman
 
Posts: 2
Joined: 01 Aug 2007, 03:56
Gender: Male

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

Postby jreilly » 10 Aug 2007, 04:29

Hello,

I really need to get this to work - can someone please help me ?

regards,

Jim.
jreilly
Crewman
Crewman
 
Posts: 2
Joined: 01 Aug 2007, 03:56
Gender: Male

Re: [MODDB] ACP Add User MOD 1.0.0

Postby Highway of Life » 30 Sep 2007, 09:06

First post updated with the Add User MOD that was validated to the phpBB.com MOD Database.
Version 1.0.0 released!
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: [MODDB] ACP Add User MOD 1.0.0

Postby King Cobra » 31 Dec 2007, 21:28

when i try to add a user i get this error message
Forbidden
You don't have permission to access /ipforum/adm/index.php on this server.
On Dec. 23 it was working then i try a week later to add another user & got that error. i even installed a new forum with only myself on the forum & added this mod & try to add a new user & got the same thing, but i noticed that after installing this mod it updated from v1.0.0 to v1.0.1
i'm running phpBB 3.0.0 with X-Treme style. any idea's why it did this error & won't let me add the new user
p.s. is there a way to not have it update to see if the 1.0.0 will work instead of the update to 1.0.1
Image
User avatar
King Cobra    
Crewman
Crewman
 
Posts: 7
Joined: 30 Dec 2007, 20:19
Gender: Male

Re: [MODDB] ACP Add User MOD 1.0.0

Postby John Hjorth » 01 Jan 2008, 00:12

Hi Richie,

Try to check if you get this error if you change style to proSilver style.
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

Re: [MODDB] ACP Add User MOD 1.0.0

Postby Highway of Life » 01 Jan 2008, 00:39

King Cobra wrote:when i try to add a user i get this error message
Forbidden
You don't have permission to access /ipforum/adm/index.php on this server.
On Dec. 23 it was working then i try a week later to add another user & got that error. i even installed a new forum with only myself on the forum & added this mod & try to add a new user & got the same thing, but i noticed that after installing this mod it updated from v1.0.0 to v1.0.1
i'm running phpBB 3.0.0 with X-Treme style. any idea's why it did this error & won't let me add the new user
p.s. is there a way to not have it update to see if the 1.0.0 will work instead of the update to 1.0.1
Ah! you found the topic! :tease:

Okay, since the MOD is an ACP Module, it doesn?t have anything to do with what style you have installed on your board -- unless that style has modified your admin style (and I doubt it has).

  1. The directory structure looks odd to me, what is the URL of your board?

  2. Do you get this error with other actions in the ACP? ensure this is the case by adjusting options in the user management or board configuration.

  3. When does the error occur? Does the error occur AFTER you?ve typed in the information for the new user you?ve clicked submit. -- i.e. does it error on the confirmation page -- or does it error on one of the links that you click on in the confirmation page?

  4. What version of PHP are you running on, and have you or your host updated recently to your knowledge (double check in the PHP Information page in the ACP).

  5. What version of phpBB3 are you running on?
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: [MODDB] ACP Add User MOD 1.0.0

Postby King Cobra » 01 Jan 2008, 18:11

Highway of Life wrote:
  1. The directory structure looks odd to me, what is the URL of your board?

  2. Do you get this error with other actions in the ACP? ensure this is the case by adjusting options in the user management or board configuration.

  3. When does the error occur? Does the error occur AFTER you?ve typed in the information for the new user you?ve clicked submit. -- i.e. does it error on the confirmation page -- or does it error on one of the links that you click on in the confirmation page?

  4. What version of PHP are you running on, and have you or your host updated recently to your knowledge (double check in the PHP Information page in the ACP).

  5. What version of phpBB3 are you running on?


  1. The directory structure looks odd to me, what is the URL of your board?
    Answer: The URL is for a private forum.

  2. Do you get this error with other actions in the ACP?
    Answer: No only with the add user mod.

  3. When does the error occur? Does the error occur AFTER you?ve typed in the information for the new user you?ve clicked submit
    Answer: Occurs AFTER I?ve typed in the information for the new user & I?ve clicked submit.

  4. What version of PHP are you running on, and have you or your host updated recently to your knowledge?
    Answer: PHP Version 5.2.5, Build Date Dec 18 2007.

  5. What version of phpBB3 are you running on?
    Answer: phpBB 3.0.0 Gold
Image
User avatar
King Cobra    
Crewman
Crewman
 
Posts: 7
Joined: 30 Dec 2007, 20:19
Gender: Male

Re: [MODDB] ACP Add User MOD 1.0.0

Postby Highway of Life » 01 Jan 2008, 18:19

Okay, thanks... that helps.

There are two possible causes for the error:
  1. Either the file has been uploaded improperly (/includes/acp/acp_add_user.php), try re-uploading it to your server.
  2. The other reason is a server misconfiguration, this is usually the result of a host or your PHP setup running mod_security
    You can see if this was the cause of the error by attempting to create a new user, then access your apache error log to see what rule the error triggered on.

See the following topic with a similar problem.
viewtopic.php?f=62&t=4381
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

PreviousNext

Return to ACP

Who is online

Users browsing this forum: No registered users and 3 guests