Here is
how to find where to edit this and that.
But anyway, if you edit a core file, it's bad for further updates, because you will need to roll back your own modifications each time.
What you would like to achieve, could be done also with non-destructive methods. For example, we may use
parseMessage() function of
bb_plugins.php file. Such function may be used by other add-ons, in that case you need to paste the block of code provided below, before the
return; statement. If function is not available, just paste the code as shown below. Do not duplicate that function, else it will stop the forums.
function parseMessage(){
/* Member link on the nickname */
if ($GLOBALS['cols'][0]!=0) {
$GLOBALS['viewRegURL1']="<a href=\"{$GLOBALS['main_url']}/{$GLOBALS['indexphp']}action=userinfo&user={$GLOBALS['cc']}\">";
$GLOBALS['viewRegURL2']='</a>';
}
else{
$GLOBALS['viewRegURL1']='';
$GLOBALS['viewRegURL2']='';
}
$GLOBALS['viewRegClear']=strip_tags($GLOBALS['viewReg']
);
/* --Member link on the nickname */
return;
}
Then modify templates/main_posts_cell.h
tml and replace default code which looks like this:
<span class="username"><a href="JavaScript:paste_strinL('{$posterNameJs}',2)">{$posterName}</a><br /></span><span class="txtSm">{$viewReg}</span>
to this:
<span class="username">{$viewRegURL1}{$posterName}{$viewRegURL2}<br /></span><span class="txtSm">{$viewRegClear}</span>
That 100% works as I already have tested it. Enjoy!