[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 Highway of Life » 04 Mar 2007, 15:03

eviL3 wrote:#1: Okay, i didn't test the include personally, just couldn't imagine it working, but maybe you can explain that to me (i thought it was relative to the file being called, not to the included file?).
But i still don't like having an uninitialized variable in a lang file without IN_PHPBB check (even though $phpEx is much less critical than $phpbb_root_path). IMO the most logical place to put it would be adm/index.php, but that's just a suggestion. Right after:
Code: Select all
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('acp/common');
// End session management

Hmm... that's a good thought...
Actually, that's a really good idea, since then it will be most compatible with all languages, so they don't have to change every common.php language file.

eviL3 wrote:#2: There's 2 folders in the zip root: "ACP Add User 1.0.0" and "__MACOSX", wich includes a folder named "ACP Add User 1.0.0". In there there are the same files like in the correct folder, but the file names are prefixed with "._", for example "._install.xml". Very strange. I'm on windows, using WinRAR.
Odd! Blink
Not sure how to fix this. Scratch

Good enough for me...
Thanks!! Good

eviL3 wrote:Opened the file using WinRAR's file viewer, now i checked in ZDE (Zend Development Enviroment), wich doesn't seem to like it. It displayed correctly in PSPad and in Dreamweaver though. Also in notepad, but it didn't like the \n's ROTFL

Update: I just had to open it in UTF-8 compatibility mode in ZDE, and now it's working. It didn't recognize it automatically... glad i found that Good
Okay, happy to hear it was not a problem with the MOD. Laughing
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 Handyman » 04 Mar 2007, 15:32

eviL3 wrote:

#3: Because the MOD team requires it. Tongue
Good enough for me...
Thanks!! Good

If it's released under the GPL(GNU) you only need to provide a link to the license.
The phpbb mod team doesn't require you to have it in the zip.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

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

Postby eviL3 » 04 Mar 2007, 16:08

Highway of Life, glad you liked my suggestions Smile (i just love these smilies here Thumbsup)

Handyman, follow the link from my previous post Wink: http://phpbbmodders.net/viewtopic.php?t=1163
Of course it would be enough to link to it, but i don't think including it hurts anyone. Just imagine MODs being distributed over CDs in magazines ROTFL Those people may not have any internet... (don't ask me what they would need the MODX file for anyway Laughing)

Edit, i just remembered that license.txt is actually required by the GPL. Drathbun quotes from the GPL here:
Whichever license you plan to use, the process involves adding two elements to each source file of your program: a copyright notice (such as "Copyright 1999 Linda Jones"), and a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License (or the Lesser GPL).

You should also include a copy of the license itself somewhere in the distribution of your program. In GNU programs the license is usually in a file called COPYING; it should be the plain ASCII text version of the license.
Image
User avatar
eviL3    
MOD Author
MOD Author
 
Posts: 1002
Joined: 05 Nov 2006, 08:14
Location: Cooking in the MODs kitchen
Gender: Male

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

Postby hurry » 13 Mar 2007, 07:53

Greetings. When I Add a User with this MOD, it sends an email to user from phpbb3.mysite.com rather than abc.com in the email title and when someone tries to load phpbb3.mysite.com in the browser, it shows an error page. Where is this MOD taking the forum url which it is adding in the email title from? If I can know that I can get a clue of how to solve this problem. Sorry if I am repeating this problem but any help in the right direction will be appeciated as it seems that my addon domain name forum url is having some problems with the forum. The background of the problem is as follows:

I had installed the phpbb3 forum first on http://www.mysite.com/phpbb3 . Then I added an addon domain abc.com to point to the phpbb3 folder with url masking so that the forum url becomes http://abc.com . I also added this in the .htaccess file so all urls to the forum point to abc.com:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^abc\.com
RewriteRule (.*) http://abc.com/$1 [R=301,L]
ErrorDocument 404 /index.php

When I had added the addon domain abc.com in the cpanel to the /home/user/public_html/phpbb3 directory, it had made a subdomain phpbb3.mysite.com even though the phpbb3 directory already existed with the forum. I tried removing all the above .htaccess rules but still the same problem. Thanks again.
hurry
Lieutenant
Lieutenant
 
Posts: 202
Joined: 09 Mar 2007, 12:26
Gender: Male

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

Postby hurry » 13 Mar 2007, 10:07

Ok, my hosting company solved it partly though the email still shows phpbb3.mysite.com but now when they go to phpbb3.mysite.com, it redirects to abc.com due to the mod rewrite rules. So I guess it works for now. Thanks HoL for a fantastic and simple MOD. One feature request: To add new users in bulk would be very useful.
hurry
Lieutenant
Lieutenant
 
Posts: 202
Joined: 09 Mar 2007, 12:26
Gender: Male

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

Postby LiamMac » 14 Mar 2007, 22:01

Planning to create a membership base of fakes to make it seem popular. Tongue
Star Trek Guide Forums Moderation Team
Image
phpBB3 MODs and Styles Development - Olympus MOD Database - phpBB / PHP programming Academy and Discussion Forum
User avatar
LiamMac    
Supporter
Supporter
 
Posts: 535
Joined: 12 Sep 2006, 00:10
Location: The Land of Aoteroa or New Zealand
Gender: Male
phpBB Knowledge: 4

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

Postby Highway of Life » 14 Mar 2007, 22:51

Laughing Actually, I needed it for two non-profit organizations that I created forums for...
One has paid membership, and once you become a member, they add you (manually) to the forum.
The second one they only want the admins to be able to add the members... so again, manually to the forum.
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 LiamMac » 14 Mar 2007, 23:24

Ohh so would that mean the add user in ACP would have two types of users to add. Normal Users, and these Paid Membership Users?
Star Trek Guide Forums Moderation Team
Image
phpBB3 MODs and Styles Development - Olympus MOD Database - phpBB / PHP programming Academy and Discussion Forum
User avatar
LiamMac    
Supporter
Supporter
 
Posts: 535
Joined: 12 Sep 2006, 00:10
Location: The Land of Aoteroa or New Zealand
Gender: Male
phpBB Knowledge: 4

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

Postby Highway of Life » 15 Mar 2007, 14:08

Not really... you had to pay to be a member, and could only be a member if you paid... so nobody is able to be a ?Normal User?
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 LiamMac » 15 Mar 2007, 23:18

Ahh I gotcha you now.
Star Trek Guide Forums Moderation Team
Image
phpBB3 MODs and Styles Development - Olympus MOD Database - phpBB / PHP programming Academy and Discussion Forum
User avatar
LiamMac    
Supporter
Supporter
 
Posts: 535
Joined: 12 Sep 2006, 00:10
Location: The Land of Aoteroa or New Zealand
Gender: Male
phpBB Knowledge: 4

PreviousNext

Return to ACP

Who is online

Users browsing this forum: No registered users and 0 guests