PunBB-Hosting Support Forum

The official support forum for all things related to PunBB-Hosting

You are not logged in.

Adverts

Adverts

#1 2008-12-30 21:54:12

Smartys
PunBB-Hosting Owner
Registered: 2006-08-18
Posts: 3543
Reputation :   118 
Website

HOWTO: Make unread indicators use image icons

(By Jcubed)

To change the unread indicator icons, you can add this code right after <pun_head> in main.tpl (you need to use the Edit Templates plugin in the administration panel of your forum)

Code:

<style type="text/css">
DIV.icon {width: ##px; height: ##px;}
TR DIV.icon { background: url('NORMAL URL') 0 0 no-repeat; border:none;}
TR.inew DIV.icon { background: url('NEW POSTS URL') 0 0 no-repeat; border:none;}
TR.iredirect DIV.icon { background: url('REDIRECT URL') 0 0 no-repeat; border:none;}
TR.isticky DIV.icon { background: url('STICKEY URL') 0 0 no-repeat; border:none;}
TR.iclosed DIV.icon { background: url('CLOSED URL') 0 0 no-repeat; border:none;}
div.icon, div.inew, div.isticky, div.iclosed{border:none;}
</style>

The images themselves should be around 20x20 or so, depending on the style being used.

Offline

 

2008-12-30 21:54:12

AdBot
Advertisements

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting