Courage Posted April 25, 2014 Share Posted April 25, 2014 (edited) Hi webflakers. I have my forum on domain.com/forum and a simple index.html page on domain.com How can I add to index.html the forum stats? (total members , posts, etc) In other words, I would like to show stuff from globalTemplate or boardIndexTemplate on another page. Edited April 25, 2014 by Courage Link to comment Share on other sites More sharing options...
0 Lock Down Posted April 25, 2014 Share Posted April 25, 2014 Easiest way would be to use a portal or content. If you don't want to do that and have no programming experience try using 1 Link to comment Share on other sites More sharing options...
0 Courage Posted April 26, 2014 Author Share Posted April 26, 2014 Uhm, I would like to make it like here: https://rstforums.com/ (and the forum is here: https://rstforums.com/forum/ ) Link to comment Share on other sites More sharing options...
0 Lock Down Posted April 26, 2014 Share Posted April 26, 2014 uportal, ip.portal and ip.content could all recreate that. In the older versions of ipbwilki it could easily interface the IPB forums and get the data for you. So you could take some time and try that. Otherwise you would have to write a php that would interface with IPB and call the stats function. Link to comment Share on other sites More sharing options...
0 GradientWizzard Posted April 26, 2014 Share Posted April 26, 2014 You can always import tables etc.. using PHP and then use a code something like this to display the results: <?php while($row = mysql_fetch_array($result)) { ?> <li> <a href="/forums/index.php?showtopic=<?= $row["tid"] ?>" title="<?= $row["title"] ?>"><?= $row["title"] ?></a> <?php $indexed = $row["last_post"]; $realtime = strftime("%e %b", $indexed); ?> <date>Last post by <?= $row["last_poster_name"] ?> at <?= $realtime ?></date> </li> <?php } ?> 1 Achievements: February 14 2013 - Joined WebFlake & Became Moderator.March 26 2013 - Became a Dad of 1 kid.April 8 2015 - Became a Dad of 2 kids.July 15 2015 - Retired as a Moderator.November 11 2016 - Passed my Car Driving Licence.April 13 2017 - Became apart of the Junior Moderator Team. Link to comment Share on other sites More sharing options...
0 Kingy Posted April 28, 2014 Share Posted April 28, 2014 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved. If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
Courage
Hi webflakers.
I have my forum on domain.com/forum and a simple index.html page on domain.com
How can I add to index.html the forum stats? (total members , posts, etc)
In other words, I would like to show stuff from globalTemplate or boardIndexTemplate on another page.
Edited by CourageLink to comment
Share on other sites
5 answers to this question
Recommended Posts