When you put +1 after this it counts 50+1 and this is wrong. Check this when you sort by usernumber. Every time you change a page (next 50) 1 member is missing. Delete the +1 ($ML_next = $ML_start+$ML_maxnumber) and it counts correct. ($ML_next = $ML_start+$ML_maxnumber+1 exist 2 times in this file)
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.