Adding info to inactive user list

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
ffa
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 10:57 am

Adding info to inactive user list

Post by ffa » Mon Aug 03, 2009 10:21 am

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

User avatar
lucky89
Registered User
Posts: 145
Joined: Wed Apr 04, 2007 1:54 pm
Location: Buenos Aires, Argentina

Re: Adding info to inactive user list

Post by lucky89 » Mon Aug 03, 2009 5:31 pm

yes you can...

First of all.. go to includes/functions_admin.php and find:

Code: Select all

	$sql = 'SELECT user_id, username, user_regdate, user_lastvisit, user_inactive_time, user_inactive_reason
then remplace it for this:

Code: Select all

	$sql = 'SELECT user_id, username, user_email, user_regdate, user_lastvisit, user_inactive_time, user_inactive_reason
Save the file and then...

2º Go to includes/functions/acp/acp_inactive.php and find:

Code: Select all

'USERNAME'		=> $row['username'],
and after add

Code: Select all

'EMAIL'			=> $row['user_email'],
Save the file and then go to adm/style/acp_inactive.html and find

Code: Select all

<th>{L_USERNAME}</th>
and after add

Code: Select all

<th>{L_EMAIL}</th>

Then find

Code: Select all

<td><a href="{inactive.U_USER_ADMIN}">{inactive.USERNAME}</a></td>
and after add

Code: Select all

<td>{inactive.EMAIL}</td>
Save de file.

Finally go to language/en/common.php

find

Code: Select all

'USERNAME'				=> 'Username',
and before add

Code: Select all

'EMAIL'					=> 'Email address',
Save file, check all changes are ok, then close all files... login into your:

Admin CP ->Purge the cache -> Run now

Goto User and groups -> Inactive user

And you will see the email address of the inactive users...

wwwMKRDinfo
Registered User
Posts: 1
Joined: Sat Aug 18, 2012 12:04 am
Contact:

Re: Adding info to inactive user list

Post by wwwMKRDinfo » Sat Aug 18, 2012 12:15 am

ffa wrote:I would like to use custom profile fields.
The post below will be an adaptation of the useful information before on how to include custom profile fields into the inactive members list.

References:
viewtopic.php?f=71&t=2159973
viewtopic.php?f=71&t=655245

I am not going to start a new thread because this is the message which will pop up in searches of this forum, first.

The information above needs to be modified for phpBB3 (3.0.8). The changes are:

Note: as I have inadvertently hit Submit before I was done writing this message, I had to wait two days for my message to be approved. In that time, I completed the posting on my own phpBB3 forum.

Read the complete post here: Add custom profile fields to 'inactive users' list

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: No registered users and 84 guests

cron