Custom field, display in the admin_welcome_inactive

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
Nienke1973
Registered User
Posts: 18
Joined: Sat Feb 17, 2018 2:39 pm

Custom field, display in the admin_welcome_inactive

Post by Nienke1973 »

Hello everyone,

Phpbb 3.2.1

I Have made a custom boolean field in the backend name : phpbb_OPT
I want to display that custom field into my admin_welcome_inactive mail to the user.
Is there a way how this can be done??

best regards Nienke
Nienke1973
Registered User
Posts: 18
Joined: Sat Feb 17, 2018 2:39 pm

Re: Custom field, display in the admin_welcome_inactive

Post by Nienke1973 »

I did work it out, i found a solution on the net and did a minor change.
Ive added this line at upc_register.php
Line number 450

'OPTIONEEL' => utf8_normalize_nfc(request_var('pf_phpbb_lid', '', true)),

This is the adjusted field made in the backend ( a boolean text field ) - phpbb_lid
This is wat i put in the mail - admin_welcome_inactive.txt - {OPTIONEEL}

Don't forget after uploading to purge the cache

best regards Nienke
Post Reply

Return to “phpBB Custom Coding”