https://www.icyphoenix.com/viewtopic.php?f=35&t=8693&p=56812#p56812
-----------------------------------
mort
Fri 14 Sep, 2012 03:38

Re: How Could I Go About Showing A List Of Recent Posts
-----------------------------------
Change the top of the file (With your paths) to:

[code linenumbers=false]<?php
// ############         Edit below         ########################################
$topic_length = '30';	// length of topic title
$topic_limit = '5';	// limit of displayed topics
$special_forums = '0';	// specify forums ('0' = no; '1' = yes)
$forum_ids = '';		// IDs of forums; separate them with a comma
$config_path = './../forum/';	// path to config.php
$root_path = '/forum/';		// link path
// ############         Edit above         ########################################

$path = dirname(__FILE__);
include($config_path .'config.php');
mysql_connect($dbhost, $dbuser, $dbpasswd) OR die('Unable to select server.');
mysql_select_db($dbname) OR die('Unable to select database.'); 

// ############## output ##############
[/code]

Add this to your .tpl file where you want it to appear.

<?php
include "myrecent.php";
?>

That's what I did. ;)

 [img]http://www.icyphoenix.com/files/images/8840/untitled_1.jpg[/img]


