Guarda este código en un archivo llamado ipostedin.php en la carpeta inc/plugins/
Código:
<?php
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
/**
* Return plugin info
*
*/
function ipostedin_info()
{
return array(
"name" => "I Posted In",
"description" => "",
"website" => "",
"author" => "Santiago Dimattia",
"authorsite" => "http://www.teleportz.com.ar",
"version" => "0.1",
"guid" => "",
"compatibility" => "16*"
);
}
/**
* Hook functions
*
*/
$plugins->add_hook('forumdisplay_thread', 'ipostedin_do');
/**
* Show the icon
*
*/
function ipostedin_do()
{
global $thread, $i_posted;
if($thread['doticon'])
{
$i_posted = 'Texto que tendría que aparecer cuando el usuario participó en el thread';
return;
}
$i_posted = 'Texto que tendría que aparecer cuando el usuario NO PARTICIPO en el thread (dejar vacio?)';
}
Cambia
Texto que tendría que aparecer... por lo que que mas te guste. HTML permitido.
Luego edita el template: Home » Templates & Styles » Template Sets » XXX Templates » forumdisplay_thread. Agrega
{$i_posted} donde quieras que aparezca el mensaje correspondiente.
Hice el plugin porque creí que iba a ser un reto. Me defraudé
---
Si alguien quiere hacer el plugin completo, bienvenido sea.