[CDB] ACP Add User

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [RC] ACP Add User

Post by Holger »

Arrrg! A blank line at the end?
I am so used to avoid those blank lines that caused white screens in phpBB2 :?
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

Holger wrote:Arrrg! A blank line at the end?
They would cause an issue with phpBB2 and phpBB3.0.x due to the php files having an ending ?>. phpBB3.1.x no longer has those and can't have those so a blank line at the end of the file is necessary (and Travis builds will fail without it).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [RC] ACP Add User

Post by Holger »

Meh! :(
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

Welcome to the wonderful world of MOD/Extension writing.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11148
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [RC] ACP Add User

Post by Raul [ThE KuKa] »

RMcGirr83 wrote:Merged.

for those that are submitting language packs please remember that they can not contain any whitespace in the file and they also have to have a blank line at the end of the file.

Gracias!
Ops! Sorry Rich. :oops:
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

No problem...not a big deal but if language packs keep showing up it can get tiring from my side.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
dangminhai
Registered User
Posts: 9
Joined: Thu Nov 06, 2014 10:56 am

Re: [RC] ACP Add User

Post by dangminhai »

After add new user, it appear an error:

Code: Select all

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "user_added_inactive.txt" (looked into: ).' in /home4/konan767/public_html/comixvn.org/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:202 Stack trace: #0 /home4/konan767/public_html/comixvn.org/phpbb/template/twig/loader.php(106): Twig_Loader_Filesystem->findTemplate('@rmcgirr83_addu...') #1 /home4/konan767/public_html/comixvn.org/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(138): phpbb\template\twig\loader->findTemplate('@rmcgirr83_addu...') #2 /home4/konan767/public_html/comixvn.org/vendor/twig/twig/lib/Twig/Environment.php(265): Twig_Loader_Filesystem->getCacheKey('@rmcgirr83_addu...') #3 /home4/konan767/public_html/comixvn.org/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Environment->getTemplateClass('@rmcgirr83_addu...', NULL) #4 /home4/konan767/public_html/comixvn.org/phpbb/template/twig/environment.php(166): Twig_Environment->loadTemplate('@rmcgirr83_addu...', NULL) #5 /home4/konan767/public_html/comixvn.org/vendor in /home4/konan767/public_html/comixvn.org/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 202
but after resfresing page, a new user has been add.
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

Are you using the latest version? Did you update from a previous version? An email is sent out to the user after being added to the database.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
dangminhai
Registered User
Posts: 9
Joined: Thu Nov 06, 2014 10:56 am

Re: [RC] ACP Add User

Post by dangminhai »

I'm using v1.0.0 in phpbb 3.1.1
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

And what language are you using on your forum?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
dangminhai
Registered User
Posts: 9
Joined: Thu Nov 06, 2014 10:56 am

Re: [RC] ACP Add User

Post by dangminhai »

I use Vietnamese language.
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] ACP Add User

Post by RMcGirr83 »

This extension doesn't have a vietnamese language pack. You will have to translate the files in the en directory of the directory for vietnamese.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
cprgolds
Registered User
Posts: 459
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [RC] ACP Add User

Post by cprgolds »

Working great for me....

Thanks Rich!
madskatingcow
Registered User
Posts: 12
Joined: Fri Jun 22, 2012 9:08 am

Re: [RC] ACP Add User

Post by madskatingcow »

I have upgraded my pervious phpBB installation from 3.0.11 to 3.1.1 - I first uninstalled the old 'add user' mod, then performed the upgrade.

Next, I copied the 'Add user v1.0.0' files to /ext/rmcgirr83/adduser and enabling the extension (admin panel -> tab customise -> Manage extensions -> enable Add User), I always get following error when clicking 'ADD_USER' in 'Users and group' :

Code: Select all

General Error
Cannot find module ./../includes/acp/acp_add_user.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 571
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
As a double check, I also did a clean install of the forum 3.1.1, and added the add user mod, this works perfect. Is there something from the previous 'add user' mod in the upgraded database the causes the error ?
Last edited by madskatingcow on Tue Nov 18, 2014 1:14 pm, edited 1 time in total.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 4000
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: [RC] ACP Add User

Post by Kailey »

I'm guessing you upgraded with the 3.0 MOD installed?
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders

Return to “Extensions in Development”