I'm glad it works, because I haven't test it heheheh. oh it doesn't really matter in what file you add the piece of code, as long as the code is included in the page where you want to display the amount of members.
btw, what's the url of your forums? Just wanna have a look.