1

Topic: How to change the colored boxes that show news posts...

The colored boxes are cool, but is there any documentation on how to change them to little pictures and your own sprites or something?

2

Re: How to change the colored boxes that show news posts...

It looks like it is just done through css...but is there a way to mod it so that you can put little sprites in there instead?

3 (edited by Dr.Jeckyl 2006-05-26 16:10)

Re: How to change the colored boxes that show news posts...

same area of the styles but edit them to use images instead of remove them:

http://wiki.punres.org/Remove_post_icons

in  style/<stylename>.css


/****************************************************************/
/* 10. POST STATUS INDICATORS */
/****************************************************************/
 
/* 10.1 These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/
 
DIV.icon {
    FLOAT: left;
    MARGIN-TOP: 0.1em;
    MARGIN-LEFT: 0.2em;
    DISPLAY: block;
    BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em;
    BORDER-STYLE: solid
}
 
DIV.searchposts DIV.icon {MARGIN-LEFT: 0}
 
/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */
 
TD DIV.tclcon {MARGIN-LEFT: 2.3em}
~James
FluxBB - Less is more

Re: How to change the colored boxes that show news posts...

Hopefully you can glean some info out of this topic: http://punbb.org/forums/viewtopic.php?pid=54369#p54369

Looking for a certain modification for your forum? Please take a look here before posting.

Re: How to change the colored boxes that show news posts...

couple more links:
http://punbb.org/forums/viewtopic.php?id=9573
http://punbb.org/forums/viewtopic.php?id=8578

~James
FluxBB - Less is more

6

Re: How to change the colored boxes that show news posts...

hhmm...what kind of a post is the .iredirect going to refer too?

The others are easy to figure out as to what they are for and I can code that in to the css without any issues....I just don't understand what the redirect forums is.

Re: How to change the colored boxes that show news posts...

When you use a forum to just contain a link, like the PunRes in here wink

8

Re: How to change the colored boxes that show news posts...

A redirect forum is one where there is no forum but just a link to another forum. There are some here if you look at the foreign language forums on the index page.

9

Re: How to change the colored boxes that show news posts...

Thanks guys.  I'm guessing we really don't want those sprites to be bigger than 15x15 or something like that.  Seems to make sense at least.