Hi Lynne, I tried this plugin :
Hook Location : postbit_display_start
code:
PHP Code:
$usersid = $this->post['userid'];
$fpost = $this->post['posts'];
$gmessage = mysql_query("SELECT gmid FROM " . TABLE_PREFIX . "groupmessage WHERE postuserid='$usersid' AND state='visible'");
$gpost = mysql_num_rows($gmessage);
$totalpost = $fpost + $gpost;
Here post.posts is the total post count of user from forum postings and the query gets the post count from social group message an both are added.
Used this variable totalpost in the postbit template but not getting the desired result.
Can you let me know how to fix this.