Topic: user avartars on frontpage extension manifest.xml discussion

user avartars on frontpage extension manifest.xml discussion

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">

<extension engine="1.0">
    <id>frontpage_avatars</id>
    <title>Avatars On Frontpage</title>
    <version>1.0.0</version>
    <description>Add Online Users Avatars At Bottom Of Page</description>
    <author>PunBB Forum</author>

    <minversion>1.3.2</minversion>
    <maxtestedon>1.3.2</maxtestedon>

    <hooks>
        <hook id="hd_template_loaded"><![CDATA[

ob_start();
require $ext_info['path'].'/user_avatars.php';
$login_form = ob_get_contents();
ob_end_clean();

$tpl_main = str_replace('<!-- forum_info -->', $login_form."\n\t<!-- forum_info -->", $tpl_main);
           
        ]]></hook>
    </hooks>

</extension>

tongue what do the red marked things need to be?

Re: user avartars on frontpage extension manifest.xml discussion

Not sure if this is what you are on about but Garciat coded something similar for me.
Wait until I have some users online and then go here:
http://www.eroyton.co.uk/forum/index.php

Whoever is online has their avatar at the top of every forum page.
My users LOVE LOVE LOVE that feature.

Re: user avartars on frontpage extension manifest.xml discussion

big_smile no - i have the mod. i need it as extension....
he'll know what I need smile