# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.model.php +++ components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.model.php @@ -196,7 +196,7 @@ if ( $forum->config['showranking'] && ( $this->params->get( 'statRanking', 1 ) == 1 ) && ( $forum->userdetails !== false ) ) { $stats['forumrank'] = $forum->userdetails->msg_userrank . ( $this->params->get('statRankingImg', 1 ) == 1 ? '
' . $forum->userdetails->msg_userrankimg : null ); } - if ( ( isset ( $forum->config['poststats'] ) ? $forum->config['poststats'] : ( isset ( $forum->config['postStats'] ) ? $forum->config['postStats'] : $forum->config['showstats'] ) ) && ( ( $this->params->get( 'statPosts', 1 ) == 2 ) || ( ( $this->params->get( 'statPosts', 1 ) == 1 ) && ( $forum->userdetails !== false ) ) ) ) { \ No newline at end of file + if ( ( isset ( $forum->config['poststats'] ) ? $forum->config['poststats'] : ( isset ( $forum->config['postStats'] ) ? $forum->config['postStats'] : ( isset ( $forum->config['userlist_posts'] ) ? $forum->config['userlist_posts'] : $forum->config['showstats'] ) ) ) && ( ( $this->params->get( 'statPosts', 1 ) == 2 ) || ( ( $this->params->get( 'statPosts', 1 ) == 1 ) && ( $forum->userdetails !== false ) ) ) ) { \ No newline at end of file $stats['forumposts'] = ( ( $forum->userdetails !== false ) ? $forum->userdetails->posts : 0 ); } }