4
I was able to stop comments from adding to user post count, but it appears this can't be simply done XOOPS wide. Stopping the count for comments in news module and forums is explained below.
For Forums: hsalazar, your suggestion worked great. It occured to me that in forums, a 'reply' isn't really a comment, but still I want to disable the post count for my site :)
Commenting out the function around line 176 of /modules/newbb/post.php
// $xoopsUser->incrementPost();
For stopping comments from adding to user post count in news your need to edit two files. /include/comment_post.php and /include/comment_delete.php
@ line 335 in comment_post.php
// before
$member_handler->updateUserByField($poster, 'posts', $poster->getVar('posts') + 1);
// after change +1 to +0
$member_handler->updateUserByField($poster, 'posts', $poster->getVar('posts') + 0);
and arount line 152 in /include/comment_delete.php
// before
$member_handler->updateUserByField($com_poster, 'posts', $com_poster->getVar('posts') - 1);
// after change -1 to -0
$member_handler->updateUserByField($com_poster, 'posts', $com_poster->getVar('posts') - 0);