Bug Reports
4
Posts
2
Users
0
Reactions
950
Views
Aug 10, 2019 10:22 pm
If I set a member Custom Rating Level in Users Profile this doesnt update the Rating 0/10 level shown on the Member Activity in the Member Profile.
p.s. Just setting up my forum & so far loving wpForo.
Thank you
3 Replies
Aug 12, 2019 8:46 am
Hi @paul-griffiths,
Thank you for using wpForo and for contacting us.
Please wait a bit. I'll ask the wpForo plugin's developers and back to you asap.Â
Aug 12, 2019 12:33 pm
Thank you for letting us know. The issue will be fixed in the next version release.Â
If you need to fix it asap, please follow the steps below:
1. Open the /wp-content/plugins/wpforo/wpf-themes/classic/profile-home.php file
2. Find the following line:
<div class="wpf-statbox-value"><?php echo WPF()->member->rating_level( $posts, FALSE ) ?>/10</div>
3. Replace with the following one:Â
<div class="wpf-statbox-value"><?php echo ( wpfval( $stat, 'rating') ) ? $stat['rating'] : WPF()->member->rating_level( $posts, false ) ?>/10</div>