Открыть /engine/modules/show.full.php и найти:
if ( $row['votes'] ) {
$tpl->set( '[poll]', "" );
$tpl->set( '[/poll]', "" );
$tpl->set_block( "'\\[not-poll\\](.*?)\\[/not-poll\\]'si", "" );
} else {
$tpl->set( '[not-poll]', "" );
$tpl->set( '[/not-poll]', "" );
$tpl->set_block( "'\\[poll\\](.*?)\\[/poll\\]'si", "" );
}
после вставить:
if( $member_id['name'] == $row['autor'] ) {
$tpl->set( '[allowauthor]', "" );
$tpl->set( '[/allowauthor]', "" );
$tpl->set_block( "'\\[not-allowauthor\\](.*?)\\[/not-allowauthor\\]'si", "" );
} elseif ( $member_id['name'] !== $row['autor'] ) {
$tpl->set( '[not-allowauthor]', "" );
$tpl->set( '[/not-allowauthor]', "" );
$tpl->set_block( "'\\[allowauthor\\](.*?)\\[/allowauthor\\]'si", "" );
}
В шаблоне fullstory.tpl использовать теги:
[allowauthor]Для авторов[/allowauthor]
[not-allowauthor]Для лохов[/not-allowauthor]