Mod Name / Version More Stats 1.0 Description Adds extra statistics to the admin page. The user info shows a list of top 10 posters. The Foruminfo shows new posts in last 1/7/30 days, total no of new threads and replies (not only posts), a total of all thread views, the total number of users who have posted in the board and a list of top posters for each board. Working under UBB.threads 6.1.0 Any pre-requisites None Author(s) Gardener Credits ksanuk for suggestiong it Demo None. Files Altered admin/showstats.php Database Altered No New Files None Any other info This should work with 6.1.1 as well as all 6.0.x versions, I think. I've only tested it with 6.1.0 though.
Hmm. Strange. The file must have disappeared when I did a reupload, and it wasn't possible to upload again until I removed the existing attachment (which told me that the file didn't exist). Seems like there is some sort of bug there. This has happened to me once before as well.
Come to think of it now. Would it be possible to have some sort of an icon on each board (maybe a small % or something) where users can click on it and the relevant stats page (like yours) will come up with a << Back button?
I want to try and have a go at it but only if you guys think it's advantageous.
You would have to remove Read/Write groups when shown to regular users, and you would need to show headers and footers, and you need a where part in the query that selects the board. It would probably be easiest to create a new public version of the script and copy the parts that are needed.
You need to keep in mind that before there were two queries per board + one extra to read all boards. With my addition, there are four extra queries per board, making a total of 6 queries per board + one extra. I haven't checked how much impact this has on the database, but you should keep it in mind when letting regular users run it. OTOH, the script will probably not be used anywhere near as many times as ubbthreads.php, which is probably still more complex.
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.