Topic: New and Confused *Changing post status indicators * help

I installed the forum two days ago, since then I have spent hours trying to make some of the more simple Mods work.
The main one that I have been trying to get to work is the one below.
I have inserted that code in the right place a million times, created the proper folder and .gif pics, changed the YOURSTYLE to the name of my style, I can't get this to work.

I am useing the latest version of PunnBB.
I'm on windows XP useing dreamweaver to edit code.
I am running punnbb on a Lynux server.

Is there something else I need to do to tweak something before this will work?
Is there a better program that I can use to edit files?
What program can I use with .tpl files and .tar files?
I am new to php so , be gentle smile

in yourstyle.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;
    DISPLAY: block;
    width:16px;
    height:16px
}

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: 1.7em}
TD.tcl {padding-left:3px;}



in yourstyle_cs.css:
/******************************************************/

/* 5. POST STATUS INDICATORS */

/******************************************************/


/* 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. The default is "icon". By default only .inew is different.*/

DIV.icon {background:url(../../img/YOURSTYLE/icon.gif)}
DIV.inew {background:url(../../img/YOURSTYLE/icon_new.gif)}
TR.isticky DIV.icon {background:url(../../img/YOURSTYLE/sticky.gif)}
TR.isticky DIV.inew {background:url(../../img/YOURSTYLE/sticky_new.gif)}
TR.iclosed DIV.icon {background:url(../../img/YOURSTYLE/closed.gif)}

TR.iredirect DIV.icon {background:url(../../img/YOURSTYLE/redirect.gif)}

Re: New and Confused *Changing post status indicators * help

i use dreamweaver to edit with.



go to http://punres.org and look at the styles there.

play around editing some of the styles. that is a good start.
main.tpl u can open with dreamweaver.


also check out the wiki at punres lots of useful tips...


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: New and Confused *Changing post status indicators * help

quaker wrote:

i use dreamweaver to edit with.



go to http://punres.org and look at the styles there.

play around editing some of the styles. that is a good start.
main.tpl u can open with dreamweaver.


also check out the wiki at punres lots of useful tips...


Q

I figured out what was wrong with that code: this part is not mentioned in all of the posts I have seen on this, and being new, it took me a while to figure it out
In the .css file, you need to change this line

/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/

/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/YOURSTYLE_cs.css);

Now I need to redo all the stuff I have been doing that had no effect, but at least I have that figured out.

My version of dreamwaver will not open .tpl files sad
"can't find a valid editer for this file extension"
Any other recomendations.. plugins for dreamweaver maybe?

Thanks for the responce smile

4

Re: New and Confused *Changing post status indicators * help

tpl files are just plain text files saved with a tpl extenstion. Any text editor including notepad can be used.

Re: New and Confused *Changing post status indicators * help

what i do is simply drag and drop it into dreamweaver version 8 and above will open it.
or right click on the tpl when it ask to open it.. u change the default program to DW.

that should fix that issue..

or just use notepad

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!