Glad you agree, found some code in a old Rich Pedley Extension called Forum Fixes And Imgs (Beta) that adds the images with css....
Now I was trying to do the same but DROPPING the text link from lang/post.php - but just deleting or changing text in post.php didn't work for me....
I'm trying to have the images (inserted with extensions imgs.css) replace the text
dirty version:
in viewforum.php
old line
$forum_page['page_post']['posting'] = '<p class="posting"><a class="newpost" href="'.forum_link($forum_url['new_topic'], $id).'"><span>'.$lang_topic['Post new topic'].'</span></a></p>';
HOW WOULD I DO THIS CORRECTLY VIA EXTENSION?
new line
$forum_page['page_post']['posting'] = '<p class="posting"><a class="newpost" href="'.forum_link($forum_url['new_topic'], $id).'"></a></p>';
new additional stylesheeet
/imgs.css
.newpost, .newreply{
padding-left: 90px;
padding-top:3px;
}
.posting .newpost{
background:transparent url(images/new_topic.gif) no-repeat center left;
}
.posting .newreply{
background:transparent url(images/reply.gif) no-repeat center left;
}
extensions manifest.xml needs several lines like this (see extension link below for full code))
<hook id="hd_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
based on
http://www.mediafire.com/file/zjywwo1uo … s_imgs.zip