domain.ex/forum). Once you load the chat page, member profiles links in the chat window are ok. After Ajax got its work (say, the message sent etc), profile links (in the chat) lose the folder path and look like
domain.ex/memberlist.php?mode=viewprofile&u=2. After hard reloading the page, they're ok again until the page got Ajaxed again, and so on.
It seems that there's something to do in JS file regarding that.