This invokes:
function profile_view_jrComment_default($_profile, $_post, $_user, $_conf)
// We have private comments for this module - get comments attached to items
$_sp = array(
'search' => array(
'comment_item_id in ' . implode(',', $_ids["{$_rt['comment_module']}"]),
"comment_module = {$_rt['comment_module']}"
),
'return_item_id_only' => true,
'skip_triggers' => true,
'privacy_check' => false,
'ignore_pending' => true,
'quota_check' => false,
'order_by' => false,
'limit' => 1000000
);
$_sp = jrCore_db_search_items('jrComment', $_sp);
The above query turns out to be rather expensive on our system given the number of groups and group comments we have.
I would like to disallow access to URLs of this form by bots. Is there a recommended way to accomplish this? I suppose I can resort to a parse_url_listener but I figured I would check with you folks before doing that to ensure that is the right course of action.
Thanks ... TiG
--
TiG
updated by @tig: 03/15/21 02:24:14AM