Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Jake, id242, SD, gliderdad), 32 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/24/07
Posts: 171
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#217952 - 10/15/08 05:34 PM wrong count of members in a group
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
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
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#217954 - 10/15/08 05:36 PM Re: wrong count of members in a group [Re: Zarzal]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
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.
Top
#217957 - 10/15/08 06:22 PM Re: wrong count of members in a group [Re: Rick]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
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 06:29 PM Re: wrong count of members in a group [Re: ScriptKeeper]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
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 06:31 PM Re: wrong count of members in a group [Re: ScriptKeeper]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
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.
Top
#217961 - 10/15/08 06:40 PM Re: wrong count of members in a group [Re: Rick]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
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 06:43 PM Re: wrong count of members in a group [Re: Rick]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
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 08:15 AM Re: wrong count of members in a group [Re: ScriptKeeper]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
I would do it as the data error may come back to "byte" you in the arse later on.
Top
#217980 - 10/16/08 11:18 AM Re: wrong count of members in a group [Re: JAISP]
ScriptKeeper Offline

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

Sorted! smile

Thanks for the push. wink
Top
#217981 - 10/16/08 11:20 AM Re: wrong count of members in a group [Re: ScriptKeeper]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
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 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image