I looked around, and as I understand it's the issue of /modules/system
I see 2 alternatives:
1) to add search as in usual module via ./include/search.inc.php
2) to hack recent_comments block in blocks/system_blocks.php
function b_system_comments_show
so now I am confused..
1st way seems to bee more common and systematic
2nd would be faster if I would know where to put query params (I get mixed up among all kinds of handlers )
3) hey, now I remembered xoopsmembers - so probably what I (we) want is xoopscomments module ;).
in members it seems to be
$foundusers =& $member_handler->getUsers($criteria, true);
in recent coment block important lines I guess are
$criteria = new CriteriaCompo(new Criteria('com_status',
XOOPS_COMMENT_ACTIVE));
$criteria->setLimit(intval($options[0]));
$criteria->setSort('com_created');
$criteria->setOrder('DESC');
$comments =& $comment_handler->getObjects($criteria, true);
but I don't know how to set keyword search criteria
a big "PLEASE" to all experienced-clever-guys