No edit summary |
m (Bot: Automated text replacement (-folder +directory)) |
||
Line 4: | Line 4: | ||
<?php include('http://www.example.com/SSI.php?ssi_function=whosOnline');?> | <?php include('http://www.example.com/SSI.php?ssi_function=whosOnline');?> | ||
}} | }} | ||
Please see ssi_examples.php, located on your forum's root | Please see ssi_examples.php, located on your forum's root directory, for more examples. | ||
For more information on SSI.php, take a look at [[Using SSI.php]]. | For more information on SSI.php, take a look at [[Using SSI.php]]. |
Revision as of 16:19, 11 September 2012
SSI.php is included in SMF. To use it, you have to use these commands on the main page of your website:
<?php include('http://www.example.com/SSI.php?ssi_function=recentTopics'); ?> <?php include('http://www.example.com/SSI.php?ssi_function=topPoster');?> <?php include('http://www.example.com/SSI.php?ssi_function=whosOnline');?>
Please see ssi_examples.php, located on your forum's root directory, for more examples.
For more information on SSI.php, take a look at Using SSI.php.
If you are not using a separate webpage for your homepage and people land on your forum index, you can show recent posts on the default forum index as well. In the admin panel -> current theme Number of recent posts to display on board index: