vForums Support > vForums :: Support :: > Member count wrong

Member count wrong - Posted By Nick (nickb) on 15th Apr 10 at 2:57am
http://idirectory.vforums.co.uk/

The info center is reporting 10 members, but I only counted 9. and the recount members link did not work either. I tried it like 2 or 3 times, and still did not work.

Re: Member count wrong - Posted By Michael (wrighty) on 15th Apr 10 at 4:27am
Are you sure that you're using {total_members}? {Smile}

Re: Member count wrong - Posted By dog199200 (dog199200) on 15th Apr 10 at 5:19am
OK i'm going to try not to laugh on this:

Code:
 
  1. <b>Newest Member:</b> {foreach:newest_members:1}<a href="/action/members">{number}</a>: {member}<br />{/foreach}
 


There is no total members at all. That is the only area that is echoing out 10, because its seeing it as the 10th new member

Re: Member count wrong - Posted By Nick (nickb) on 15th Apr 10 at 1:00pm
I did it wrong?

Re: Member count wrong - Posted By dog199200 (dog199200) on 15th Apr 10 at 3:05pm
Yes XD i changed it out for you. {number} needed to be {total_members}. With how you had it setup it was counting total times a new members appeared on the list. So even if you, or them deleted their accounts it still remain the same.

Re: Member count wrong - Posted By Nick (nickb) on 15th Apr 10 at 7:29pm
That is so confusing. XD

Re: Member count wrong - Posted By Ross (admin) on 15th Apr 10 at 10:59pm
What's confusing? {Smile}

When using {number} within the list of newest members it outputs that users number. The user number is unique to each member and automatically increments. So if 9 people register and then 2 delete themselves, nobodies user number changes. The next user to register still gets #10.

Re: Member count wrong - Posted By Nick (nickb) on 15th Apr 10 at 11:42pm
Oh I see, and no one deleted them selves from the site. So I'm not sure about that. {Unsure}