Improved and fixed up ipbans.
Online Users no longer discloses IPs of guests and bots.
Fixed XSS in ipbans.php
Fixed keeping getting logged in when IP-banned.
Added an option to add rel=nofollow to user links.
Remove var_dump()

No, it doesn't have to be there.
Made nofollow OFF by default.
Banned users can't +1 posts. Also added functionality to recalc post +1's.
Improved recalc.php considerably.
whoops
whoops again.
Fixed SQL error when a guest has no user agent set.
Made lastknownbrowsers admin-only. It seems to attract spambots too much.
Added a limit to the referrals page. It gets way too long otherwise.
Schema update now also updates the table indexes.
Make the updater not recreate indexes if they haven't changed.
Remove badges.php to avoid confusion
Added tons of missing indexes. Also optimized ip2c a lot.
Oops small fail.
Fixed poll mess! Please update tables and run fixpolls.php after applying this.