heh my bad bigjohnson didn't think of the adding comments to oneself ;\ try this coding...
open comment.php
find:
PHP Code:
if($action=="add_comment") {
after it add:
PHP Code:
if($bbuserinfo[userid]=="$userid") {
eval("standarderror(\"".gettemplate("comment_error_userself")."\");");
exit;
}
Then make a new template called:
comment_error_userself
Add this to the template:
Sorry but you can not add a comment to yourself.
That should fix that problem... as for your second concern its more indepth because i only run one query for the user so it'd be a more interesting task to find if you've commented the user before ;\
g-force2k2