But the stars hack doesn't count in the same fashion if I recall correctly. The Galaga Hack displays shields according to the users current post count. (7 shields with respective values of 10000, 5000, 1000, 500, 100, 50, and 10) For instance, if the user has 975 posts.... it will display 1 "500" shield, 4 "100" shields, 1 "50" shield, and 2 "10" shields. (The 5 is not shown since the minimum shield value is 10.)
Anyway, here is a link to a copy of the old UBBv5 version. It's not documented really well, but it's pretty basic, so I'm sure it would be easy to implement on UBBv6.
Galaga Hack for UBB v5.XX So the stars hack is a little different. Close, but not quite.