-
Hello,
Thank you for a solid script. It has been working very well.
I would like to use your Activity Feed. But, I can’t seem to get it to see woo commerce. I inserted the short code [userpro template=activity] but it doesn’t show a WooCommerce Review. Is showing a Woocommerce Review possible? And, if so, is it possible to only show a WooCommerce Review in the activity and nothing else.
As well, whenever I load the Activity Feed, I have to hit the UserPro Activity Feed Refresh Button, which then works and shows the latest activity site wide. I see on your page http://userproplugin.com/userpro/public-activity/ that the activity feed auto loads. Is there something I need to change?
I’ll point you in the right direction as I have added my own custom log items as well. *You will need to know php for this.*
1. open userpro > addons > social > functions >api.php.
2. look for the function “log_action()”. You can add a new log action case and markup here.
3. open userpro > addons > social > functions >log_actions.php.
4. This is where you can see examples of hooking into tha action filters to trigger a log event to be created.
e.g. $userpro_social->log_action( ‘new_comment’, $comment[‘user_id’], $comment[‘comment_post_ID’], $post->post_title );You simply need to create a function that passes the necessary args to your new log case you created in api.php. I would recommend doing all this in your functions.php or some other file so it is not lost when you upgrade the plugin OR just make a note to manually update these two files and merge in your changes. This is just a high level overview of where you need to be looking to accomplish this.
You must be logged in to reply to this topic.