"before insert data hook" for blog/forum post

Okay, thanks. I just thought there might be a workaround that the community might know that I dont. My client wants to have an automatic badge for every member of either the blog or forum when a certain member gets a certain no. of followers or likes (e.g. most popular blogger/expert badge), or when a user has posted a certain no. of posts (e.g. expert badge), instead of manually updating these or monitoring the posts or activities within a forum or blog.