• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Search Suggestions for imported users

#1
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!
 
#3
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
#4
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;