[PHP] Add event for admin setup

These event requests have either been rejected by the community or have become redundant because of code changes or other events requests.
Post Reply
User avatar
John P
Posts: 157
Joined: Sun Nov 04, 2012 7:39 am
Location: Netherlands
Contact:

[PHP] Add event for admin setup

Post by John P »

Identifer: core.adm_setup
Location: don't know yet
Parameters: 'user_data', 'user_lang_name', 'user_date_format', 'user_timezone', 'lang_set', 'lang_set_ext'

Explanation: Like core.user_setup but only for acp use. There is no need for loading variables, for example language variables, only used in acp, in user_setup.

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: [PHP] Add event for admin setup

Post by Nicofuma »

While the ACP only use module this event is not needed: load the language file in your module. And for the language vars used in your module's info_<module_name>.php file, just put those couple of vars in a language file named info_acp_<module_name>.php and they will be autoloaded by the ACP.
Member of the phpBB Development-Team
No Support via PM

User avatar
John P
Posts: 157
Joined: Sun Nov 04, 2012 7:39 am
Location: Netherlands
Contact:

Re: [PHP] Add event for admin setup

Post by John P »

I also found this, thanks

Post Reply