Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (Gizmo, ntdoc, Rick, Ruben Rocha, 1 invisible), 18 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/15/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 162
Rick 116
Gizmo 108
Thelockman 62
driv 56
AllenAyres 35
ScriptKeeper 34
Ian 31
Mark S 30
blaaskaak 29
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#217952 - 10/15/08 02:34 PM wrong count of members in a group
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
actual I running 7.4b2 but this bug is a long term problem in my board, starting several versions ago. My board is an imported from 6.5

The problem:

on my admin panel under statistics I have Members: 599
in /admin/groupmanage.php I have the following values:
1 Administrators 6
2 GlobalModerators 1
3 Moderators 21
4 Users 1004
5 Guests 1

The usercount is to high. Clicking on 1004 I get:
Result 1-25 von 598

there is a difference of 1 user to the statistics on the entry page.

I also wonder about the 1 guest in the guest group. Clicking on the 1 bring up:
no members found

The statistic content island on my portal also count 599 members.

What can be done to correct the values?
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#217954 - 10/15/08 02:36 PM Re: wrong count of members in a group [Re: Zarzal]
Rick Administrator Online   content

*****

Registered: 06/04/06
Posts: 7881
Loc: Aberdeen, WA
You might have duplicate entries in group 4 in the USER_GROUPS table. If I can get the admin info to your site I can take a peek and see what we can do to fix. You can PM me or open a support ticket if you'd like.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217957 - 10/15/08 03:22 PM Re: wrong count of members in a group [Re: Rick]
ScriptKeeper Offline
old hand
***

Registered: 12/09/06
Posts: 1032
Loc: UK
Mine has been like that since 7.3

I did mention it at the time but searching through my earlier posts it seems to have (ahem) disappeared. whistle

Top
#217959 - 10/15/08 03:29 PM Re: wrong count of members in a group [Re: ScriptKeeper]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
I guess it comes from deleting members
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#217960 - 10/15/08 03:31 PM Re: wrong count of members in a group [Re: ScriptKeeper]
Rick Administrator Online   content

*****

Registered: 06/04/06
Posts: 7881
Loc: Aberdeen, WA
Some upgrader wonkiness I guess. I've fixed Zarzal's. If you're brave you can do it too smile

Close your forums, cross your fingers, do a database backup if you're really scared laugh

These two queries will remove everyone from group 4, and then add everyone back in. I'll need to automate this cleanup at some point. Zarzal's looks like they came from deleted users, but not sure.

Sql Query:
delete from ubbt_USER_GROUPS where GROUP_ID='4'


Sql Query:
insert into ubbt_USER_GROUPS (GROUP_ID,USER_ID) select '4', USER_ID from ubbt_USERS where USER_ID <> 1


Clicking on the Guest group it's normal for it to come up with zero results, since you can't edit user 1, the only person in that group.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217961 - 10/15/08 03:40 PM Re: wrong count of members in a group [Re: Rick]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
thank you for looking in and fixing it so quick. Good work
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#217962 - 10/15/08 03:43 PM Re: wrong count of members in a group [Re: Rick]
ScriptKeeper Offline
old hand
***

Registered: 12/09/06
Posts: 1032
Loc: UK
Well, after serious consideration ( and reading the terms "Brave, Scared, Backup, Remove, Cross you fingers" and the fact that to me personally it isn't that big an issue ) I have decided to decline your offer of a DIY fix and leave well alone. grin

Top
#217976 - 10/16/08 05:15 AM Re: wrong count of members in a group [Re: ScriptKeeper]
Thelockman Offline
addict
****

Registered: 02/10/07
Posts: 407
Loc: Pennsylvania
I would do it as the data error may come back to "byte" you in the arse later on.
_________________________
Beagle World - A forum for those who are owned by beagles.
Track Thunder - The Unofficial Racing Forum

Top
#217980 - 10/16/08 08:18 AM Re: wrong count of members in a group [Re: Thelockman]
ScriptKeeper Offline
old hand
***

Registered: 12/09/06
Posts: 1032
Loc: UK
Copied, pasted, closed eyes and pressed Execute. eek

Sorted! smile

Thanks for the push. wink

Top
#217981 - 10/16/08 08:20 AM Re: wrong count of members in a group [Re: ScriptKeeper]
ScriptKeeper Offline
old hand
***

Registered: 12/09/06
Posts: 1032
Loc: UK
I've just noticed that in Group Management, Users now has an option to enter a Post Count. I'm sure that wasn't there before. confused

Top
Page 1 of 2 1 2 >


Shout Box

Today's Birthdays
Neptin
Recent Topics
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Custom Island per Forum?
by unixpaul
11/20/08 10:18 AM
SQL Corruption?
by Jason Carey
11/20/08 05:52 AM
adding views column to portal page
by nick1
11/20/08 05:12 AM
Upload broken in 7.4.1
by MacW
11/20/08 03:23 AM
Forum Stats
4247 Members
33 Forums
30483 Topics
154630 Posts

Max Online: 978 @ 06/24/07 08:19 PM