Is there any quick way of pulling in other information for this list? I would like to use e-mail address and/or custom profile fields.
Thank you
Code: Select all
$sql = 'SELECT user_id, username, user_regdate, user_lastvisit, user_inactive_time, user_inactive_reason
Code: Select all
$sql = 'SELECT user_id, username, user_email, user_regdate, user_lastvisit, user_inactive_time, user_inactive_reason
Code: Select all
'USERNAME' => $row['username'],
Code: Select all
'EMAIL' => $row['user_email'],
Code: Select all
<th>{L_USERNAME}</th>
Code: Select all
<th>{L_EMAIL}</th>
Code: Select all
<td><a href="{inactive.U_USER_ADMIN}">{inactive.USERNAME}</a></td>
Code: Select all
<td>{inactive.EMAIL}</td>
Code: Select all
'USERNAME' => 'Username',
Code: Select all
'EMAIL' => 'Email address',
The post below will be an adaptation of the useful information before on how to include custom profile fields into the inactive members list.ffa wrote:I would like to use custom profile fields.