What exactly do you mean with userfield?
If I would take an example here:
https://vborg.vbsupport.ru/showthread.php?t=228667
Code:
<![CDATA[if (can_administer('canadminusers')) { print_table_start(); print_table_header($vbphrase['quick_email_finder']); print_label_row($vbphrase['quick_email_finder'], ' <form action="user.php?do=find" method="post" style="display:inline"> <input type="hidden" name="s" value="' . $vbulletin->session->vars['sessionhash'] . '" /> <input type="hidden" name="adminhash" value="' . ADMINHASH . '" /> <input type="hidden" name="do" value="find" /> <input type="text" class="bginput" name="user[email]" size="30" tabindex="1" /> <input type="submit" value=" ' . $vbphrase['find'] . ' " class="button" tabindex="1" /> </form> ', '', 'top', NULL, false ); print_table_footer(2, '', '', false); }]]>
If I take a look at the code and PHP, the email checks the user table on the email field and results back to the user profile.
Do you happen to have an example? I might as well show which field I'm trying to search.
Within the USER table there's a "steam_link" field. With example of how it looks like:
Code:
76561197983696188|0|0
^ Would be my steamID. I'd like that ID to be searchable in either a PHP file or within the adminCP that when I enter 76561197983696188 it'll go back to my profile. The |0|0 at the end should be ignored though, as in the search shouldn't take that into consideration in the results.