Echo individual point statistics?
-
Hello Gabriel,
I am busy creating a “profile page”. Basically my goal is to echo specific point awards individually. Daily points, Comment points, etc.
So far it looks like this:https://i.imgur.com/IulQ7ks.png
As you can see, i already echo the total points via
<?php echo do_shortcode('[mycred_my_balance]'); ?>
Now, I would like to echo only “Daily (logged in)” points. In the log I can see that it classifies it as “xxx points for for logging in”
Is there some code that I can use for example:
<?php echo do_shortcode('[mycred_loggedinpoints]'); ?>
?Secondly, I would like to echo only “Comment” points.
In the log i can see it classifies it as “xxx points for Approved Comment”Is there some code that I can use for example:
<?php echo do_shortcode('[mycred_commentpoints]'); ?>
?Lastly, i would like to echo “number of Points used”, in the log file i see it indicates it as “purchases”.
I hope you can see what I am trying to do, as this would be quite a nice looking profile. You may have some other future point classifications can will appear in the log. It would be nice if each one can be echo’ed individually.
I will wait and see if you have a solution for this, and then apply it to my profile. Thanks a lot!
- The topic ‘Echo individual point statistics?’ is closed to new replies.