One Question. How long does it take for you to load this page?
Currently I'm not sure why. But the first query in action modify makes mysql to use 100% cpu use. Also it needs ~40 sek to complete and display the page.
stats: 4 admins
users: 4301 registered
noone use add. groups
I try it next time again. Can also be a problem of my system.
localhost - windows xp - newest xampp
Try the attached file, i've taken it out of the 1.0 branch however it should work fine on PR2.
I noticed the exact same problem here so i rewrote the queries it uses..
nice - thx - works great ;-)
I noticed before that a split of the queries help. But now I can save the time to try to fix it myself.
To add (int) before echo ... $primaryusers[$usergroup['gid']] ... helps to bring back the 0 if no users in group ... if you want.
But now and before the dropdowns List Primary Users & List Secondary Users seems to take the wrong effect. (tryd Firefox)
toertchn Wrote:But now and before the dropdowns List Primary Users & List Secondary Users seems to take the wrong effect. (tryd Firefox)
It's the same as this thread:
http://community.mybboard.net/showthread.php?tid=4171 and the problem has been fixed already for the next version.
Is there also a fix for the ACP Search for Users available.
If I list all Awaiting users the first page shows fine. Clicking next I am on any other data with many more results.
It would be also great if you can add more buttons of Search & Result at the page. Best would be in right side of each subheader. See Attachment.
Its ugly to scroll to the end of the page if I only search for a usergroup.