03-25-2011, 07:29 AM
Hello, I've been developing a small script to work with my boards and have come across a small issue. Basically my script grabs items from multiple rss feeds and posts them to my forums. My script successfully creates the thread, then the post, and everything is formatted and looks great. The only issue I am having is with the post count/thread count of the forum I'm posting to. What I want to know is the easiest way to rebuild the stats without going to the admincp and recounting manually. As you can imagine taking items from an rss feed means I'll have threads/posts added on an hourly basis... sometimes 50-150 at a time. I would like the stats to update as each thread/post is added but at the same time I don't want to strain the board/server. I know there must be a way to do it since after you post something through mybb it automatically updates the stats. anyone have any ideas?