Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Thelockman), 15 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/06
Posts: 28
Top Posters (30 Days)
Ruben Rocha 95
Rick 85
Mark S 74
Gizmo 49
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 27
AllenAyres 25
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
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: 1097
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 Offline

*****

Registered: 06/04/06
Posts: 7998
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: 1045
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: 1097
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 Offline

*****

Registered: 06/04/06
Posts: 7998
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: 1097
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: 1045
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 Online   crying
addict
***

Registered: 02/10/07
Posts: 523
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: 1045
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: 1045
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
theregit
Recent Topics
7.4.2 UNREAD
by Thelockman
Today at 05:23 PM
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
Forum Stats
4298 Members
33 Forums
30693 Topics
156040 Posts

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