I'm using MyBB, I want to show on my website homepage the threads that has the most readers currently.
I'm assuming I have to query the session table but I'm not sure how should I do it
The mysql result I need, should look something like:
-------------------------
|title | count |
-------------------------
|thread a title | 1234 |
|thread b title | 913 |
|thread c title | 678 |
|another title | 593 |
|different title| 550 |
-------------------------
Thank you :)