XF 1.5 Search Suggestions for imported users

BrianC

Active member
I imported some user accounts fromVB4 and when searching by member they are not offered as suggestions when typing their name. Accounts that were created though normal registration process start popping in as suggestions as you type letters that are part of their name. I rebuilt all the various caches but I cannot get them to appear.

Can someone direct me as to how to correct this?

Thanks!
 

Brogan

XenForo moderator
Staff member
The user name auto complete only works for members who have been active recently (months) for performance reasons.
 

BrianC

Active member
I just posted 4 messages by one of the user names and it still does not show up. Is there any way to bypass this and get them to show as active? They auto populate in the admin panel when doing various searches.
 
Last edited:

AndyB

Well-known member
Is there any way to bypass this and get them to show as active?
One way is to edit the core PHP file. It's a pain as you have to manually edit after each upgrade of XenForo.

PHP:
XenForo/Model/User.php

Remove activity recent for username dropdowns:

Line 813

Original
$conditions['active_recently'] = 30 * 6 * 86400;

Hack
$conditions['active_recently'] = 30 * 6000 * 86400;
 
Top