1

(28 replies, posted in PunBB 1.3 additions)

Utchin wrote:

I think your best option is to make a folder called topic_title_on_index inside extensions/ and make a file (inside the folder) called manifest.xml and put the following in and try it out:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">
 
<!--
/**
 * @copyright topic_title_on_index Copyright (C) 2008 hcs
 * @copyright Copyright (C) 2008 PunBB, partially based on code copyright (C) 2008 FluxBB.org
 * @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
 * @package topic_title_on_index
 */
-->
 
<extension engine="1.0">
    <id>topic_title_on_index</id>
    <title>Topic title on forum index </title>
    <version>1.0.0 Beta</version>
    <description>Replace the Last Post link on the index page for the name of the topic instead of the date format.</description>
    <author>hcs</author>
 
    <minversion>1.3</minversion>
    <maxtestedon>1.3.2</maxtestedon>
 
    <hooks>
        <hook id="in_qr_get_cats_and_forums"><![CDATA[
$query['SELECT'] .=', t.subject, u.id as poster_id';
$query['JOINS'][] = array(
    'LEFT JOIN'    => 'topics AS t',
    'ON'        => 'f.last_post_id=t.last_post_id'
);
$query['JOINS'][] = array(
    'LEFT JOIN'    => 'users AS u',
    'ON'        => 'f.last_poster=u.username'
);
        ]]></hook>
 
...........................

Thanks man it worked .. 1 more question please

any addon ? i want to install i should put in the folder extenstions?

example : Spam Protection or any addon where should i put it

and for the styles/themes also where should i put the folder or upload it

Thank you for your help

2

(28 replies, posted in PunBB 1.3 additions)

hi there how to install it please its so complicated can some 1 help if you dont mind

the one  Replace date with Topic   and how to install a addons / themes thanks