Page 1 of 1
Forum stats on external page.
Posted: 12 Oct 2010, 16:50
by tumba25
Re: Forum stats on external page.
Posted: 15 Oct 2010, 16:02
by c3dric
Hello everyone,
Could you tell me how to display the latest posts or topics with this API
Thank you for your help
Regards c3dric
Re: Forum stats on external page.
Posted: 31 Jan 2011, 19:34
by Peetra
I would use the normal Atom feed buildt in phpBB itself for such a thing.
Re: Forum stats on external page.
Posted: 09 Mar 2012, 00:42
by robra
Re: Forum stats on external page.
Posted: 09 Mar 2012, 10:43
by RMcGirr83
There is no config for guests or all users online.
That is retrieved from the sessions table and is returned via the page_header function within the includes/functions.php file.
Re: Forum stats on external page.
Posted: 09 Mar 2012, 13:39
by robra
Re: Forum stats on external page.
Posted: 09 Mar 2012, 23:16
by RMcGirr83
Re: Forum stats on external page.
Posted: 15 Mar 2012, 06:17
by EY
Re: Forum stats on external page.
Posted: 01 Jan 2013, 16:50
by bigbigfan
Awesomely simple solution but I need just a *little* more.
Total posts
Total topics
Total members
Total visits today <---- is this stored in the database as well? It is over the past 5 mins but can be set to daily, no?
...and I need it from multiple forums, e.g. I have three different forums and I need this information posted on a 4th non-forum site.
Re: Forum stats on external page.
Posted: 02 Jan 2013, 00:56
by tumba25
Todays visits is not stored in the DB. You would need to store it in the DB. It would take to much resources otherwise.
Re: Forum stats on external page.
Posted: 02 Jan 2013, 11:23
by bigbigfan
That's fine, i can pull the total visits from piwik, but how about the other part of the question, how could I merge the stats from 3 different forums onto the homepage of a 4th site?
While I could probably hack it together I'm not sure about needing 3 different databases to respond, performance, etc.
Re: Forum stats on external page.
Posted: 03 Jan 2013, 09:19
by tumba25
You need to query each DB and put the result on your 4th site. You could have all 3 forums in the same DB to not have to connect to different DBs.