Topic: how to change icon topic?
Hi friends.
how to change icon topic?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.4 troubleshooting → how to change icon topic?
Hi friends.
how to change icon topic?
Try this extension icon_imgs
put your own images in the /images folder in the extension...
manifest.xml
<extension engine="1.0">
<id>icon_imgs</id>
<title>Icon Images</title>
<version>0.0.2</version>
<minversion>1.3.2</minversion>
<maxtestedon>1.4.1</maxtestedon>
<author>KeyDog adaptation from a Rich Pedley extension</author>
<description>Icon images.</description>
<hooks>
<hook id="hd_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
<hook id="hd_viewtopic_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
<hook id="hd_post_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
<hook id="hd_profile-signature_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
<hook id="hd_postedit_head">
<![CDATA[
$forum_head[] = '<link rel="stylesheet" type="text/css" media="screen" href="'.$ext_info['url'].'/imgs.css" />';
]]>
</hook>
</hooks>
</extension>
you can also change this code in the extension... not sure icon new is working!
/****************************************************************/
/* POST STATUS INDICATORS */
/****************************************************************/
/* remove default first */
.brd .main-content .main-item .icon {
border-width: 0;
height: 20px;
width: 20px;
}
.brd .main-content .main-item .icon {
background:transparent url(images/icon.png) no-repeat;
}
.brd .main-content .main-item .icon.moved {
background:transparent url(images/iredirect.png) no-repeat;
}
.brd .main-content .main-item .icon.new {
background:transparent url(images/inew.png) no-repeat;
}
.brd .main-content .main-item .icon.sticky{
background:transparent url(images/isticky.png) no-repeat;
}
.brd .main-content .main-item .icon.closed{
background:transparent url(images/iclosed.png) no-repeat;
}
.brd .main-content .main-item .icon.sticky.closed{
background:url(images/iclosedandsticky.png) no-repeat;
The extension above currently changes the images like this:
I can Change thanks for you.
cool
your welcome...
icon new is working
you can also change this code in the extension... not sure icon new is working!
/****************************************************************/ /* POST STATUS INDICATORS */ /****************************************************************/ /* remove default first */ .brd .main-content .main-item .icon { border-width: 0; height: 20px; width: 20px; } .brd .main-content .main-item .icon { background:transparent url(images/icon.png) no-repeat; } .brd .main-content .main-item .icon.moved { background:transparent url(images/iredirect.png) no-repeat; } .brd .main-content .main-item .icon.new { background:transparent url(images/inew.png) no-repeat; } .brd .main-content .main-item .icon.sticky{ background:transparent url(images/isticky.png) no-repeat; } .brd .main-content .main-item .icon.closed{ background:transparent url(images/iclosed.png) no-repeat; } .brd .main-content .main-item .icon.sticky.closed{ background:url(images/iclosedandsticky.png) no-repeat;
thanks for confirming... !
PunBB Forums → PunBB 1.4 troubleshooting → how to change icon topic?
Powered by PunBB, supported by Informer Technologies, Inc.