[in comprofiler.html.php find:]
$jsClickTr .= "'');"
// CLICK a table row:
. "\n $('#cbUserTable > tbody > tr').click( function(e) {"
// If it's not a link within the row which is getting clicked:
. "\n if ( ! ( $(e.target).is('a') || ( $(e.target).is('img') && $(e.target).parent().is('a') ) ) ) {"
// Get the href of the user profile link:
. "\n window.location = cbUserURLs[this.id.substr(3)];"
// And avoid the link being followed:
. "\n return false;"
. "\n }"
. "\n } );"
. "\n }"
;
[REPLACE IT WITH]
if($ueConfig['allow_profilelink']==1) { $jsClickTr .= "'');"
// CLICK a table row:
. "\n $('#cbUserTable > tbody > tr').click( function(e) {"
// If it's not a link within the row which is getting clicked:
. "\n if ( ! ( $(e.target).is('a') || ( $(e.target).is('img') && $(e.target).parent().is('a') ) ) ) {"
// Get the href of the user profile link:
. "\n window.location = cbUserURLs[this.id.substr(3)];"
// And avoid the link being followed:
. "\n return false;"
. "\n }"
. "\n } );"
. "\n }"
;
}
else
{ $jsClickTr .= "'');"
// CLICK a table row:
. "\n $('#cbUserTable > tbody > tr').click( function(e) {"
// If it's not a link within the row which is getting clicked:
. "\n if ( ! ( $(e.target).is('a') || ( $(e.target).is('img') && $(e.target).parent().is('a') ) ) ) {"
// Get the href of the user profile link:
// And avoid the link being followed:
. "\n return false;"
. "\n }"
. "\n } );"
. "\n }"
;
}