Thank you. I am at home now and have been testing this (I was at work before doing this in my lunchbreak!). The email advising me of your reply to this thread arrived at exactly the same time as my first successful email on a dummy new user registration!
I made the amendments to english.php, not english_gb.php, and it worked exactly as expected. In fact, rather than making the amendments you suggested, I made the changes to $lang_register_approve_email. I had previously tried to change 'notify_admin_email_body' in english.php more or less as you suggested, but this did not work. Since this works for me, this is how I am going to leave it, for the time being at least. Also this approach gives me more, simple, formatting contol over the email - in this way, I can copy the block with the real name and address to fulfill a postal order, for example - you can just put in whatever fields you want, where you want.
You will see that, in addition to the information submitted by the user, I have also made the email record the IP address from which the new user logged in. I know that IP addresses often change, but it may conceivably be of help if you can at least see the IP address when deciding whether or not to approve a new user.
To be specific about what I did, I amended from line 314 onwards in register.php to read:
if ($CONFIG['admin_activation']==1) {
$act_link = rtrim($CONFIG['site_url'], '/') . '/register.php?activate=' . $act_key;
$template_vars = array(
'{SITE_NAME}' => $CONFIG['gallery_name'],
'{USER_NAME}' => $user_name,
'{ACT_LINK}' => $act_link,
'{USER_MAIL}' => $email,
'{PROFILE1}' => $profile1,
'{PROFILE2}' => $profile2,
'{PROFILE3}' => $profile3,
'{PROFILE4}' => $profile4,
'{PROFILE5}' => $profile5,
'{PROFILE6}' => $profile6,
'{PASSWORD}' => $password,
);
Then I amended from line 1559 of english.php to read:
$lang_register_approve_email = <<<EOT
A new user with the username "{USER_NAME}" has registered in your gallery.
Their email address is "{USER_MAIL}" and password "{PASSWORD}"
Their IP address was: {$_SERVER['REMOTE_ADDR']}
Their full details are:
{PROFILE1}
{PROFILE2}
{PROFILE3}
{PROFILE4}
{PROFILE5}
They also gave the following additional information:
"{PROFILE6}"
In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
<a href="{ACT_LINK}">{ACT_LINK}</a>
EOT;
Quite why this works amending english.php, when my default language is english_gb.php, I don't know. I wonder if this is a bug in whatever routine selects the default language, which does not cater for the fact that there is American English and proper English?
Thank you very much for your response.
Graham