Add custom profile fields to 'inactive users' list

Add custom profile fields to 'inactive users' list

I use a "custom profile field" as a spam-fighting technique, in conjunction with requiring Admin approvals of all accounts.

First, enable custom profile fields.

Then, add a custom profile field as a required field to the user registration form. I ask users for a reason for joining the forum, but this does not seem to the the best technique (as they can just type in asdf).

The biggest problem is that it used to take way too many clicks to filter out the spam. Previously, I had to navigate to Users and Groups, click on Inactive Members, open each member in a new tab, and for each member, open up the "Profile" sub-screen to see what they specified during their registration. Needless to say, this was an insane amount of work.

This is how to list the custom profile field response in the Inactive Members list (see attachment).

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: Only use a proper editor such as Notepad++ to edit these files. Do not use Notepad or WordPad!*

* My custom profile field is called "reason" *

* Backup files and database before making any changes. You can edit these files by either downloading them with software such as FileZilla first and then editing on your computer, saving, and then uploading them back. You can also edit them right in FileZilla if you set Notepad++ to open .php and .html files by default. Or, you might be able to edit these files right in phpBB3 *

Save and / or upload all files. Then, log into ACP, and on General, click to Purge the Cache (last item on the list), and click Run Now. If necessary, hit ctrl+F5 afterwards. Now, navigate to Inactive Members list, and you should see the contents of your custom profile field listed there.

Note: if you do not see the value of custom profile field, remember to set the board settings correctly, and modify instructions above for the name of YOUR custom profile field!

Drop me a note if you are still having difficulty.

Re: Add custom profile fields to 'inactive users' list

Posted: Sat Aug 03, 2013 2:56 pm

by volmark

Generally say it is a bad idea to fetch one field at a time. We have 3 administrators in organisation and if one of us change custom field through ACP without changing corresponding lines in acp_inactive.html and acp_inactive.php the system will be crashed. Is here the way to retrieve all customs fields for inactive users at once?