Hi,
I think you should really want to use the plugin dev101 created to refresh/update counter statistics.
In my Admin Dashboard user statistics look fine now, no need to use my function to show the nr. of ads.
The function itself works and it could also be used in Admin as long as you pass the user's pk you'll get the actual item count.
Using it in a loop would also work but again, I recommend the plugin for this.
The function, but with more parameters, could be a additional helper function in hUsers.
Regards,
Eric
Hi,
Sorry to dig this up, but I'm interested in a non-plugin solution for the wrong number of items shown in osclass admin area.
If I put this function in functions.php of my theme, and call the function in the user loop that populates the users table in users admin area, it should work?
I'm using 3.7.1 bender theme.
Thank you.