Quote:
Originally Posted by kh99
Oh right. I guess you'd at least want to display that field on the results page. It looks like that's in the do = 'find2' section. Maybe you just need to add ifs for your field and add it to the $header and $cell arrays like the others are doing, but I don't know. You might also want it on the standard user edit page.
From your other posts here I'm guessing you're capable of figuring it out, probably even faster than I could  Or maybe someone else already knows.
|
The steam_link result itself doesn't really matter to me. What I'm aiming for is that when I search for a field entry (field: steam_link) with example entry: 76561197983696188 that it forwards me to the users profile instead

.
So in short: AdminCP -> Search for 76561197983696188 -> ID found on a users profile -> Redirects the users VBulletin Profile
Not sure if this'll work though:
Code:
$condition .= iif($user['steam_link'], " AND {$prefix}steam_link LIKE '%" . $vbulletin->db->escape_string_like($user['steam_link']) . "%'");
I don't mind if it's a separated custom PHP file (like creating your own PHP page on vBulletin) that gives the same result. As long it does what I'm aiming for

.