{REQUEST} - Topics Anywhere for phpBB 3.x.

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Suggested Hosts
User avatar
IoanFilipov
Translator
Posts: 40
Joined: Wed May 02, 2007 7:40 pm

Re: [REQUEST] Recent Posts on Home Page

Post by IoanFilipov »

GhostPool here is my code.
This is the easiest way.
I'm still working on hiding private forums.

Code: Select all

    <?
        /*** phpBB3 - Last Active Topics System ***/

        //Author: Ioan Filipov

        //Email: jonidev@gmail.com

        //Date: 04.06.2007

        //------------------------------

        //Edit these parameters:

        //MySQL server adress
        $host="localhost";

        //Username
        $user="fhhost_board";

        //Password
        $pass="board";

        //Database
        $db="fhhost_forum";

        //Table prefix
        $table="phpbb333_";

        //Show last x topics
        $laforums="10";

        $link=mysql_connect($host, $user, $pass);
        $db=mysql_select_db($db);
        $query="select * from $table".topics."  WHERE topic_approved = '1' order by topic_last_post_time desc limit 0,$laforums";
        $query2="select config_name,config_value from $table".config." where config_name = 'server_name' limit 0,1";
        $result2=mysql_query($query2);
        $row2 = mysql_fetch_array($result2);
        extract($row2);
		$posts_per_page = $r3[1];
        $result=mysql_query($query);
        while ($row=mysql_fetch_array($result)) {
        extract($row);
        $date = date("F j, Y, g:i a", $topic_last_post_time );
        $query3="select forum_name from $table".forums." WHERE forum_id = ".$forum_id."";
        $result3=mysql_query($query3);
        $row2 = mysql_fetch_array($result3);
        echo "<a href='http://".$config_value."/viewforum.php?f=".$forum_id."' target='_blank'>".$row2[forum_name].":</a> <a href='http://".$config_value."/viewtopic.php?f=".$forum_id."&t=".$topic_id."&p=".$topic_last_post_id."#p".$topic_last_post_id."' target='_blank'>".$topic_title."</a> view: ".$topic_views.", replies: ".$topic_replies.", topic first poster: ".$topic_first_poster_name.", topic last poster: ".$topic_last_poster_name.", topic last post time: ".$date."<br>\n";
		}

        //-------------------------- END
    ?>
GhostPool
Registered User
Posts: 20
Joined: Wed Feb 01, 2006 9:14 am
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by GhostPool »

IoanFilipov , this code just shows which forum the topics are from, I wanted to be able to restrict topics from certain forums showing in the list, I don't actually need the forum names to show. I hope you understand my request.
User avatar
IoanFilipov
Translator
Posts: 40
Joined: Wed May 02, 2007 7:40 pm

Re: [REQUEST] Recent Posts on Home Page

Post by IoanFilipov »

GhostPool wrote:IoanFilipov , this code just shows which forum the topics are from, I wanted to be able to restrict topics from certain forums showing in the list, I don't actually need the forum names to show. I hope you understand my request.
developing right now.. :)
GhostPool
Registered User
Posts: 20
Joined: Wed Feb 01, 2006 9:14 am
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by GhostPool »

Most appreciated IoanFilipov.

May I also suggest you implement a limit to the length of the topic titles, e.g. we insert the number of characters/letters that should show and if it exceeds this limit a "..." is added to the end.
User avatar
IoanFilipov
Translator
Posts: 40
Joined: Wed May 02, 2007 7:40 pm

Re: [REQUEST] Recent Posts on Home Page

Post by IoanFilipov »

GhostPool wrote:Most appreciated IoanFilipov.

May I also suggest you implement a limit to the length of the topic titles, e.g. we insert the number of characters/letters that should show and if it exceeds this limit a "..." is added to the end.

Code: Select all

<?
        /*** phpBB3 - Last Active Topics System ***/

        //Author: Ioan Filipov

        //Email: jonidev@gmail.com

        //Date: 04.06.2007

        //------------------------------

        //Edit these parameters:

        //MySQL server adress
        $host="localhost";

        //Username
        $user="";

        //Password
        $pass="";

        //Database
        $db="";

        //Table prefix
        $table="phpbb3_";

        //Show last x topics
        $laforums="10";
		
	//Topic name length
        $tl="20";

        $link=mysql_connect($host, $user, $pass);
        $db=mysql_select_db($db);
        $query="select * from $table".topics."  WHERE topic_approved = '1' order by topic_last_post_time desc limit 0,$laforums";
        $query2="select config_name,config_value from $table".config." where config_name = 'server_name' limit 0,1";
        $result2=mysql_query($query2);
        $row2 = mysql_fetch_array($result2);
        extract($row2);
	$posts_per_page = $r3[1];
        $result=mysql_query($query);
        while ($row=mysql_fetch_array($result)) {
        extract($row);
        $date = date("F j, Y, g:i a", $topic_last_post_time );
       $query3="select forum_name from $table".forums." WHERE forum_id = ".$forum_id."";
       $result3=mysql_query($query3);
       $row2 = mysql_fetch_array($result3);
	   if(strlen($topic_title) > $tl)
	   {
	   $topic_title = mb_substr($topic_title,0,$tl, 'utf-8').'...';
	   }
      echo "<a href='http://".$config_value."/viewforum.php?f=".$forum_id."' target='_blank'>".$row2[forum_name].":</a> <a href='http://".$config_value."/viewtopic.php?f=".$forum_id."&t=".$topic_id."&p=".$topic_last_post_id."#p".$topic_last_post_id."' target='_blank'>".$topic_title."</a> view: ".$topic_views.", replies: ".$topic_replies.", topic first poster: ".$topic_first_poster_name.", topic last poster: ".$topic_last_poster_name.", topic last post time: ".$date."<br>\n";
		}
        //-------------------------- END
        ?>
Change this if you want:
//Topic name length
$tl="20";
User avatar
mix1
Registered User
Posts: 209
Joined: Thu Oct 14, 2004 8:55 am
Location: England

Re: [REQUEST] Recent Posts on Home Page

Post by mix1 »

Here is code i am using, see it in action on http://www.phpbb.com/rules/#rule6a (note the code is still early and smilies don't work if you set it to view the whole post instead of just topic title links.

You don't need to add in your username or pasword or anything either it gets it all for you.

Be warned it is a bit long code, but there are a features other mods don't have.

Code: Select all

<?php
## Mod Title: Topic Extraction [PHPBB3]
## Version: 1.0.0

#############
## Edit Below
#############
// Where to take the topics from
// Always a number
$forum = '2';

// How many topics to show
$limit = '2';

// How to show the topics
// full or blank ('')
$show = 'full';

// How to display the date and time if used
// short or long
$date_time = 'short';

// How top display the topic link if usede
// topic or phpbb
$topic_link_type = 'topic';

// Comments link - how to send them to comments
// topic or reply
$comment = 'topic';

// Path to your forums directory
// Usually ./forum/ or ./phpBB/ or ./forums/
$phpbb_root_path = './phpbb3/';

// Folder where your phpbb3 is
// Something like /phpbb3/ or /forum/
$phpbb_folder = '/phpbb3/';

// Change blow to whatever extension your using for php files (usually .php)
$phpEx = 'php';

#############################################
## No Editing unless you know what your doing
#############################################
if ( !defined('IN_PHPBB') ) 
{
	define('IN_PHPBB', true);
	define('IN_CRON', true);
}

include($phpbb_root_path  . 'common.php');

if ($show == '' || $show == 'full')
{
	// Select the topic information from the correct forum and set it to $grab_topics
	$grab_topics = $db->sql_query("SELECT * FROM `{$table_prefix}topics` WHERE `forum_id` = '{$forum}' AND `topic_moved_id` = '0' ORDER BY `topic_id` DESC LIMIT {$limit}");
}

else if ($show == 'topic')
{
	$grab_topics = $db->sql_query("SELECT * FROM `{$table_prefix}topics` WHERE `forum_id` = '{$forum}' AND `topic_id` = '{$_GET['t']}' ORDER BY `topic_id` DESC");
}
	
// Grab the information using an array and set it to $echo_topic
while ($echo_topic = $db->sql_fetchrow($grab_topics))
{
	// Select the post information from the correct forum and set it to $grab_posts
	$grab_posts = $db->sql_query("SELECT * FROM `{$table_prefix}posts` WHERE `forum_id` = '{$forum}' AND `topic_id` = '{$echo_topic['topic_id']}' LIMIT 1");
	
	// Grab the information using an array and set it to $echo_post
	while ($echo_post = $db->sql_fetchrow($grab_posts))
	{
		// Find the user the posted
		$find_user = $db->sql_query("SELECT * FROM `{$table_prefix}users` WHERE `user_id` = '{$echo_post['poster_id']}'");
			
		// Sort this users info into array for the post
		while ($echo_user = $db->sql_fetchrow($find_user))
		{
					
			// Get rid of all those annoying characters from bbcode
			$echo_post['post_text'] = preg_replace('/\:[0-9a-z\:]+\]/si', ']', $echo_post['post_text']);	
				
			// BBCode
			$echo_post['post_text'] = str_replace("[b]","<strong>",$echo_post['post_text']);
			$echo_post['post_text'] = str_replace("[/b]","</strong>",$echo_post['post_text']);
					
			$echo_post['post_text'] = str_replace("[i]","<em>",$echo_post['post_text']);
			$echo_post['post_text'] = str_replace("[/i]","</em>",$echo_post['post_text']);
					
			$echo_post['post_text'] = str_replace("[u]","<u>",$echo_post['post_text']);
			$echo_post['post_text'] = str_replace("[/u]","</u>",$echo_post['post_text']);
					
			$echo_post['post_text'] = preg_replace('/\[quote=(.*)\](.*)\[\/quote\]/Usi','<div style=\"padding: 7px\">$2</div>',$echo_post['post_text']);
				
			$echo_post['post_text'] = str_replace("[quote]","<strong>Quote</strong><em>",$echo_post['post_text']);
			$echo_post['post_text'] = str_replace("[/quote]","</em>",$echo_post['post_text']);
					
			$echo_post['post_text'] = str_replace("[code]","<strong>Code</strong><em>",$echo_post['post_text']);
			$echo_post['post_text'] = str_replace("
","</em>",$echo_post['post_text']);

$echo_post['post_text'] = preg_replace('/\[list\](.*)\[\/list\]/si',"<div style=\"padding: 7px\">$1</div>",$echo_post['post_text']);
$echo_post['post_text'] = preg_replace('/\
  • (.*)\[\/list\]/si',"<div style=\"padding: 7px\">$1</div>",$echo_post['post_text']);

    $echo_post['post_text'] = str_replace("[img]","<img src=\"",$echo_post['post_text']);
    $echo_post['post_text'] = str_replace("[/img]","\" alt=\"image\" />",$echo_post['post_text']);

    $echo_post['post_text'] = preg_replace('/\[url\](.*)\[\/url\]/Usi','<a href="$1">$1</a>',$echo_post['post_text']);
    $echo_post['post_text'] = preg_replace('/\[url=(.*)\](.*)\[\/url\]/Usi','<a href="$1">$2</a>',$echo_post['post_text']);

    $echo_post['post_text'] = preg_replace('/\[color=(.*)\](.*)\[\/color\]/Usi','<span style="{color:$1}">$2</span>',$echo_post['post_text']);
    $echo_post['post_text'] = preg_replace('/\[size=(.*)\](.*)\[\/size\]/Usi','<span style="{font-size:$1pt}">$2</span>',$echo_post['post_text']);

    $echo_post['post_text'] = str_replace("\n", "\n<br />\n", $echo_post['post_text']);

    // Way to display date and time
    // long
    if($date_time == "long")
    {
    $echo_topic['topic_time'] = strftime("%A %e %B %H:%M",$echo_topic['topic_time']);
    }

    // short
    if ($date_time == "short")
    {
    $echo_topic['topic_time'] = strftime("%a %e %b %H:%M",$echo_topic['topic_time']);
    }

    // Way to display comment link
    // Go right to the topic
    if ($comment == 'topic')
    {
    $comment_link = "{$phpbb_folder}viewtopic.php?t={$echo_topic['topic_id']}";
    }

    // Go right to the reply box
    if ($comment == 'reply')
    {
    $comment_link = "{$phpbb_folder}posting.php?mode=reply&t={$echo_topic['topic_id']}";
    }

    // Topic link types
    // This link goes to the topic display
    if ($topic_link_type == 'topic')
    {
    $topic_link = "?show1=topic&t={$echo_topic['topic_id']}";
    }

    // This link goes to the actual phpbb topic
    if ($topic_link_type == 'phpbb')
    {
    $topic_link = "{$phpbb_folder}viewtopic.php?t={$echo_topic['topic_id']}";
    }

    ##################################
    ## Edit for look and feel of topic
    ##################################

    // Display just the title
    if ($show != 'full' && !isset($_GET['show1']))
    {
    echo "<a href='{$topic_link}'>{$echo_topic['topic_title']}</a><br />";
    }

    // Display many topics - for news, shoutbox etc
    else if ($show == 'full')
    {
    echo "
    <strong>{$echo_topic['topic_title']}</strong> by <strong>{$echo_user['username']}</strong> at <strong>{$echo_topic['topic_time']}</strong>
    <br />
    <br />
    {$echo_post['post_text']}
    <br />
    <br />
    <a href=\"{$comment_link}\">Comments {$echo_topic['topic_replies']}</a>
    <hr size=\"1\">
    ";
    }

    // Display the topic for when used with the one above, click link and go here
    if ($_GET['show1'] == 'topic')
    {
    echo "
    <strong>{$echo_topic['topic_title']}</strong> by <strong>{$echo_user['username']}</strong> at <strong>{$echo_topic['topic_time']}</strong>
    <br />
    <br />
    {$echo_post['post_text']}
    <br />
    <br />
    <a href=\"{$comment_link}\">Comments {$echo_topic['topic_replies']}</a>
    <hr size=\"1\">
    ";
    }
    }
    }
    }
    ?>
    [/code]
Last edited by Highway of Life on Thu Nov 22, 2007 3:16 am, edited 1 time in total.
Reason: Removed spam
GhostPool
Registered User
Posts: 20
Joined: Wed Feb 01, 2006 9:14 am
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by GhostPool »

IoanFilipov, I'm not entirely sure where to add the code as I've used bits and pieces from other peoples submissions as well, I've posted my code below. Could you show me what part of the code I should insert where. As I'm getting the error message:

Fatal error: Call to undefined function: mb_substr() in /home/utwwemed/public_html/fanforum/mods/lasttopic.php on line 81

Code: Select all

.....

    $link=mysql_connect($host, $user, $pass);
    $db=mysql_select_db($db);
    $query="select * from $table".topics."  WHERE topic_approved = '1' order by topic_last_post_time desc limit 0,$laforums";
    $query2="select config_name,config_value from $table".config." where config_name = 'server_name' limit 0,1";
    $result2=mysql_query($query2);
    $row2 = mysql_fetch_array($result2);
    extract($row2);
    $result=mysql_query($query);
    while ($row=mysql_fetch_array($result)) {
    extract($row);
	          $topic_posts_sum = $topic_replies + 1;
          $page_start_post = '0';
          $counter = $posts_per_page;
          do {
             $page_start_post += $posts_per_page;
             $counter += $posts_per_page;
          } while ($counter < $topic_posts_sum);
      $topic_posts_sum = $topic_replies + 1;
      $page_start_post = '0';
      $counter = $posts_per_page;
      do {
         $page_start_post += $posts_per_page;
         $counter += $posts_per_page;
      } while ($counter < $topic_posts_sum);
	$date = date("d-M-y g:ia", $topic_last_post_time );
	          $topic_posts_sum = $topic_replies + 1;
          $page_start_post = '0';
          $counter = $posts_per_page;
          do {
             $page_start_post += $posts_per_page;
             $counter += $posts_per_page;
          } while ($counter < $topic_posts_sum);
      $topic_posts_sum = $topic_replies + 1;
      $page_start_post = '0';
      $counter = $posts_per_page;
      do {
         $page_start_post += $posts_per_page;
         $counter += $posts_per_page;
      } while ($counter < $topic_posts_sum);
          if ($topic_posts_sum > $posts_per_page) {
             echo "<a href='http://www.phenomforever.com/fanforum/viewtopic.php?f=".$forum_id."&t=".$topic_id."&start=".$page_start_post."#p".$topic_last_post_id."' target='_blank'><b>";
          } else {
             echo "<a href='http://www.phenomforever.com/fanforum/viewtopic.php?f=".$forum_id."&t=".$topic_id."#p".$topic_last_post_id."' target='_blank'><b>";
          }
          echo $topic_title."</b></a><br><font style=\"font-size: 7pt;\">By ".$topic_last_poster_name." on ".$date."</font><br><br>";
    }

    //-------------------------- END
    ?>
foropadres
Registered User
Posts: 44
Joined: Tue May 08, 2007 5:48 am

Re: [REQUEST] Recent Posts on Home Page

Post by foropadres »

I have a excelent mod in http://www.phpbb.com/rules/#rule1j but it is for phpbb2, this mod don't show de recent posts of forums where you don't have permisions to see. I search this mod for phpbb3.

The code for phpbb2 is here http://www.phpbb-es.com/foro/tabla-de-u ... t2704.html
Last edited by Highway of Life on Thu Nov 22, 2007 3:19 am, edited 1 time in total.
Reason: Removed spam
User avatar
MartinWh
Registered User
Posts: 111
Joined: Wed May 23, 2007 9:44 am
Location: River Thames, UK
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by MartinWh »

Well thanks for this -- have now included on my forum index.page http://www.phpbb.com/rules/#rule6a

One small problem is the script is affecting the language calls below it forcing me to put it at the bottom of page and hardcoding the language calls below.

This is the code used for my lastposts section in index_body.html

Code: Select all

		<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl>
						<dt>Latest Posts</dt>
					</dl>
				</li>
			</ul>
			<ul class="forums">
		<li>
			<dl>
				<dt>
<!-- INCLUDEPHP lastpost.php --><br />
				</dt>
			</dl>
		</li>
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
and in lastpost.php

Code: Select all

<style>
	a.Latp1:link,a.Latp1:active,a.Latp1:visited {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#6F6F6F; font-weight: bold; text-decoration:none; line-height: 14px;}
	a.Latp1:hover {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#B90000; font-weight: bold; text-decoration:none}
	a.Latp2:link,a.Latp2:active,a.Latp2:visited {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#0F0F0F; font-weight: bold; text-decoration:none; line-height: 14px;}
	a.Latp2:hover {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#B90000; font-weight: bold; text-decoration:none}
	.Latp {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#AFAFAF; font-weight: bold; text-decoration:none}
</style>
<?
        /*** phpBB3 - Last Active Topics System ***/

        //Author: Ioan Filipov

        //Email: jonidev@gmail.com

        //Date: 04.06.2007

        //------------------------------

        //Edit these parameters:

        //MySQL server adress
        $host="localhost";

        //Username
        $user="REMOVED";

        //Password
        $pass="REMOVED";

        //Database
        $db="REMOVED";

        //Table prefix
        $table="forum_";

        //Show last x topics
        $laforums="10";
      
   //Topic name length
        $tl="40";

        $link=mysql_connect($host, $user, $pass);
        $db=mysql_select_db($db);
        $query="select * from $table".topics."  WHERE topic_approved = '1' order by topic_last_post_time desc limit 0,$laforums";
        $query2="select config_name,config_value from $table".config." where config_name = 'server_name' limit 0,1";
        $result2=mysql_query($query2);
        $row2 = mysql_fetch_array($result2);
        extract($row2);
   $posts_per_page = $r3[1];
        $result=mysql_query($query);
        while ($row=mysql_fetch_array($result)) {
        extract($row);
        $date = date("F j, Y, g:i a", $topic_last_post_time );
       $query3="select forum_name from $table".forums." WHERE forum_id = ".$forum_id."";
       $result3=mysql_query($query3);
       $row2 = mysql_fetch_array($result3);
      if(strlen($topic_title) > $tl)
      {
      $topic_title = mb_substr($topic_title,0,$tl, 'utf-8').'...';
      }
      echo "<TABLE width='98%' cellpadding=2 cellspacing=0 border=0 align=center><TR><TD width='15%' class=Latp><a class=Latp1 href='http://".$config_value."/a1forum/viewforum.php?f=".$forum_id."'>".$row2[forum_name].":</a></TD><TD width='35%' class=Latp><a class=Latp2 href='http://".$config_value."/a1forum/viewtopic.php?f=".$forum_id."&t=".$topic_id."&p=".$topic_last_post_id."#p".$topic_last_post_id."'>".$topic_title."</a></TD><TD width='50%' class=Latp> last poster: ".$topic_last_poster_name." on ".$date."<br /></TD></TR></TABLE>\n";
      }
        //-------------------------- END
        ?>
Last edited by Highway of Life on Thu Nov 22, 2007 3:19 am, edited 1 time in total.
Reason: Removed spam
midwestbonsai
Registered User
Posts: 177
Joined: Sat May 28, 2005 12:48 am
Location: Wisconsin USA
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by midwestbonsai »

Anyone make anything that will look like the recent posts on this page?
http://www.knowledgeofbonsai.org/index.php

Thanks
User avatar
MartinWh
Registered User
Posts: 111
Joined: Wed May 23, 2007 9:44 am
Location: River Thames, UK
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by MartinWh »

midwestbonsai wrote:Anyone make anything that will look like the recent posts on this page?
http://www.knowledgeofbonsai.org/index.php

Thanks
Just use this code instead of one above for lastpost.php
View Example

Code: Select all

<style>
	a.Latp2:link,a.Latp2:active,a.Latp2:visited {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#0F0F0F; font-weight: bold; text-decoration:none; line-height: 14px;}
	a.Latp2:hover {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#B90000; font-weight: bold; text-decoration:none}
	.Latp {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;color:#AFAFAF; font-weight: bold; text-decoration:none}
</style>
<TABLE width='200' cellpadding=2 cellspacing=0 border=0 align=center>
<?
        /*** phpBB3 - Last Active Topics System ***/

        //Author: Ioan Filipov

        //Email: jonidev@gmail.com

        //Date: 04.06.2007

        //------------------------------

        //Edit these parameters:

        //MySQL server adress
        $host="localhost";

        //Username
        $user="REMOVED";

        //Password
        $pass="REMOVED";

        //Database
        $db="REMOVED";

        //Table prefix
        $table="forum_";

        //Show last x topics
        $laforums="10";
      
   //Topic name length
        $tl="24";

        $link=mysql_connect($host, $user, $pass);
        $db=mysql_select_db($db);
        $query="select * from $table".topics."  WHERE topic_approved = '1' order by topic_last_post_time desc limit 0,$laforums";
        $query2="select config_name,config_value from $table".config." where config_name = 'server_name' limit 0,1";
        $result2=mysql_query($query2);
        $row2 = mysql_fetch_array($result2);
        extract($row2);
   $posts_per_page = $r3[1];
        $result=mysql_query($query);
        while ($row=mysql_fetch_array($result)) {
        extract($row);
        $date = date("F j, Y, g:i a", $topic_last_post_time );
       $query3="select forum_name from $table".forums." WHERE forum_id = ".$forum_id."";
       $result3=mysql_query($query3);
       $row2 = mysql_fetch_array($result3);
      if(strlen($topic_title) > $tl)
      {
      $topic_title = mb_substr($topic_title,0,$tl, 'utf-8').'...';
      }
      echo "<TR><TD class=Latp><a class=Latp2 href='http://".$config_value."/a1forum/viewtopic.php?f=".$forum_id."&t=".$topic_id."&p=".$topic_last_post_id."#p".$topic_last_post_id."'>".$topic_title."</a></TD></TR><TR><TD class=Latp>Last post: ".$topic_last_poster_name." on ".$date."<br /></TD></TR>\n";
      }
        //-------------------------- END
        ?>
</TABLE>
Last edited by MartinWh on Sun Jun 10, 2007 4:01 pm, edited 2 times in total.
User avatar
mix1
Registered User
Posts: 209
Joined: Thu Oct 14, 2004 8:55 am
Location: England

Re: [REQUEST] Recent Posts on Home Page

Post by mix1 »

midwestbonsai wrote:Anyone make anything that will look like the recent posts on this page?
http://www.knowledgeofbonsai.org/index.php

Thanks
Look for topic extraction in the mod development forum, it will do it.
User avatar
MartinWh
Registered User
Posts: 111
Joined: Wed May 23, 2007 9:44 am
Location: River Thames, UK
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by MartinWh »

No your Mod is not what he is looking for.
User avatar
mix1
Registered User
Posts: 209
Joined: Thu Oct 14, 2004 8:55 am
Location: England

Re: [REQUEST] Recent Posts on Home Page

Post by mix1 »

My mod can do exactly that.
User avatar
MartinWh
Registered User
Posts: 111
Joined: Wed May 23, 2007 9:44 am
Location: River Thames, UK
Contact:

Re: [REQUEST] Recent Posts on Home Page

Post by MartinWh »

Really -- I couldn't see that just link headline
Locked

Return to “[3.0.x] MOD Requests”