This is something that's really small, probably not as efficient as it could be, and generally useless. So I'm sure some of the big hackers will laugh at me. (Granted it is bigger than align=center, but still...
) Oh well.
Anyway, I did this mostly (only) for member searching from the control panel, though I'm sure it could probably be applied to all other searches as well. What it does, is if there's only a single match on the search, it auto-redirects you to that profile. My primary intent was to make searching by member number a little faster - I thought,
If I search for Member X, and there is only one Member X out there, why should I have to open his profile myself? So there's just one less step in this immediate gratification world.
So, to accomplish this feat, here ya go.
In cp_user_search_results.pl:
Find:
Replace that with:
Hope you like.
---Skorpion
[ 09-13-2001: Message edited by: Skorpion ]