XF 2.1 How renegerate reactions in xf_post table?

requo

Active member
Hello,

after upgrade to XF 2.1 (thanks :) i will use default reactions.

So far I've been using Content Ratings. I've modified the xf_reaction_content in the DB, now it's okay, and it contains all the correct_response_id lines. I have a problem with each post in the forum where I do not see the correct reactions numbers. Some are missing. It is always regenerated into the correct form by a new reaction.

In the xf_post table, columns "reaction_score", "reactions", "reaction_users" are regenerated for this post.
Can I do this in bulk for the whole forum? Rebuild cache does not help me.

Thanks for the help.
 
There aren't any tools that would do this in bulk, as the data is calculated whenever there is a change. You would need to custom develop something to fit your needs.
 
Top Bottom