vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Member count wrong - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Member count wrong (15th Apr 10 at 2:57am UTC)
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.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Member count wrong (15th Apr 10 at 4:27am UTC)
Are you sure that you're using {total_members}? {Smile}
dog199200
Guest
Re: Member count wrong (15th Apr 10 at 5:19am UTC)
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
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Member count wrong (15th Apr 10 at 1:00pm UTC)
I did it wrong?
dog199200
Guest
Re: Member count wrong (15th Apr 10 at 3:05pm UTC)
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.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Member count wrong (15th Apr 10 at 7:29pm UTC)
That is so confusing. XD
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Member count wrong (15th Apr 10 at 10:59pm UTC)
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.

Image
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Member count wrong (15th Apr 10 at 11:42pm UTC)
Oh I see, and no one deleted them selves from the site. So I'm not sure about that. {Unsure}
 Printable View

All times are GMT+0 :: The current time is 9:13am
Page generated in 1.5475 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums