5
Quote:
blackrx wrote:
yes its working
thank you zyspec
will be great if the search box can search name instead of username
i'm using XOOPS in an Intranet environment in my small office
it is a closed site with manual registration and all user are registered using their staff ID...
hopefully XOOPS can implement change username to real name in setting so we dont have to changes files manually...
@blackrx,
Note: I haven't actually tried this but this should work.
You can try to modify the search box by changing lines 788 - 793 in ./modules/system/admin/users/main.php from:
$user_uname = (!isset($_REQUEST['user_uname'])) ? '' : $_REQUEST['user_uname'];
//Form tris
$form = '. _AM_SYSTEM_USERS_SEARCH_USER . '. myts->htmlSpecialChars($user_uname) . '" size="15">
. _AM_SYSTEM_USERS_ALLGROUP . '';
to replace 'user_uname' with 'user_name' like:
$user_name = (!isset($_REQUEST['user_name'])) ? '' : $_REQUEST['user_name'];
//Form tris
$form = '. _AM_SYSTEM_USERS_SEARCH_USER . '. $myts->htmlSpecialChars($user_name) . '" size="15">
. _AM_SYSTEM_USERS_ALLGROUP . '';
Once again, don't forget to flush the template cache or you won't see the results immediately.