is this a question? or....
if its "or..." then it wont work.
2 Reasons:
1. what u showed here is piece of code from MOD "MembersPersonalCategory" and it wont work without that MOD
2. even if u fix the details.php, it will show u link to edit the comments, but when u click on it, u'll see "no permission" page, because to make it fully working u'll need edit member.php in about 6 places. (u can check that MOD for first 5-6 steps, I added commented lines there, that will allow comment owner edit their comments.