Topic: Deleting some of the tables, customizations etc...

Hi,

I just installed PUNbb. I have been customizing the look/feel but have hit a bump in the road.

I would like to delete the table that shows "Newest Registered User, Guests Online etcc...". I could not find this file in main.tpl and when I deleted the footer it did not affect that particular table.

Also I want to delete the Title and Description which I did in main.tpl but when I did it still leaves a gray blank table above the nav links - anyone know how I can get rid of that?

Thanks!

Chris

Re: Deleting some of the tables, customizations etc...

chmartin1 wrote:

I would like to delete the table that shows "Newest Registered User, Guests Online etcc...". I could not find this file in main.tpl and when I deleted the footer it did not affect that particular table.

I personally deleted this straight from index.php...or forum.php as what mine is now.
Dont know if best way... but cleanest way for me.

chmartin1 wrote:

Also I want to delete the Title and Description which I did in main.tpl but when I did it still leaves a gray blank table above the nav links - anyone know how I can get rid of that?

This is because your deleting the data and not the div's made for them.
Delete

<div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>

Hope this helps or gives you some guidance...

smile

Re: Deleting some of the tables, customizations etc...

Wow! That did it Thanks!!!

I am going through the files trying to figure out how to place my own unique image to the left of each Forum. Presently there is a small grey box... Do you by chance know where this is located? Thanks. - Chris

4 (edited by StevenBullen 2005-10-25 18:34)

Re: Deleting some of the tables, customizations etc...

No problem wink

chmartin1 wrote:

I am going through the files trying to figure out how to place my own unique image to the left of each Forum. Presently there is a small grey box... Do you by chance know where this is located? Thanks. - Chris

I used this code below in stylesheet_cs.css... loacted in style/imports/

/****************************************************************/
/* 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-image: none}
TR.iredirect DIV.icon { background-image: none }
TR.iclosed DIV.icon { background-image: none }
TR.isticky DIV.icon { background-image: none }
TR.inew DIV.icon {background-image: url(/forum/img/folder_new.gif) }

This shows nothing until there is a new post and then it shows a new post icon.
Hope it helps...

Re: Deleting some of the tables, customizations etc...

Hey Steven,

I replaced the part of my stylesheet css.cs with your code but when I do - all I get is a black box.  I am simply replacing this /forum/img/folder_new.gif with the direct URL to the image I want to use on my site. Is the code missing anything? It doesnt seem to work for me.

Chris

Re: Deleting some of the tables, customizations etc...

chmartin1 wrote:

Is the code missing anything? It doesnt seem to work for me.

Doh!

Try playing with this in your stylesheet.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: none;
    WIDTH: 20px;
    HEIGHT : 20px;
}

Sorry about that.

Re: Deleting some of the tables, customizations etc...

Hey Steven thanks so much for the help.

I feel like I am close but not quite there. Let me show you what I am doind and perhaps you could offer a suggestion..

I tried this

DIV.icon {
    FLOAT: left;
    MARGIN-TOP: 0.1em;
    MARGIN-LEFT: 0.2em;
    DISPLAY: background-image;
    BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em;
    BORDER-STYLE: solid
}

I thought that would work with your code but I have not made any progress. Any ideas?

Chris

Re: Deleting some of the tables, customizations etc...

includes/templates/main.tpl is the directory But yea if you weren't looking to put anything there at all just delete the line big_smile

Free games/arcade at dlngle.com

Re: Deleting some of the tables, customizations etc...

chmartin1 wrote:

I thought that would work with your code but I have not made any progress. Any ideas?

You have a couple of problems in that code... If you copy mine (previous post) straight into your .css file then it should work fine. It will be off position but that is what you play with...

DIV.icon {
    FLOAT: left;
    MARGIN-TOP: 0.1em;
    MARGIN-LEFT: 0.2em;
    DISPLAY: background-image; <-- wont work... not even a CSS command I believe.
    BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em; <-- I am guessing this will need to be changed to 'none' because I am pretty certain this will cover your pic. I could be wrong.
    BORDER-STYLE: solid
}

Check this link out... I have changed the code slightly so a image always shows up. Instead of my usual image only if new post. But it shows that the code works.... and yes the little pic is not straight I know. Testing phase!

http://www.marine-hunters.co.uk/mhmain/forum.php


Plus this is guidance mate... You have to tweak a couple of other things if you want everything to sit perfectly. Especially if you change the size of the image above...20v20 for example.

Re: Deleting some of the tables, customizations etc...

Wow That Did it! Thanks Steven!

When I pulled up your page I noticed that all of your posts show the same image as you mentioned. (three brown circles in the shape of a triangle).

My only problem with this code is that it does not show the "new topic" icon if you are not logged in. In my case it only shows what I have in the first line of DIV.icon if you are not logged in. Even if there is a new post. It works if I am logged in but not if I am logged out. Does this have something to do with the code?

DIV.icon {background-image: url(http://peo3.com/exc.gif) }
TR.iredirect DIV.icon {background-image: none }
TR.iclosed DIV.icon {background-image: none }
TR.isticky DIV.icon {background-image: none }
TR.inew DIV.icon {background-image: url(http://peo3.com/newexc.gif) }


DIV.icon {
    FLOAT: left;
    MARGIN-TOP: 0.3em;
    MARGIN-LEFT: 0.1em;
    DISPLAY: block;
    BORDER-WIDTH: none;
    WIDTH: 22px;
    HEIGHT : 20px;
}


Chris

Re: Deleting some of the tables, customizations etc...

chmartin1 wrote:

It works if I am logged in but not if I am logged out.

But if u r not logged into the page..... how does it know if it is a new post to u or not. smile

Re: Deleting some of the tables, customizations etc...

Well well well...I have done

Code in stylesheet.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: none;
    WIDTH: 20px;
    HEIGHT : 20px;
}


and this in stylesheet.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-image: none}
TR.iredirect DIV.icon { background-image: none }
TR.iclosed DIV.icon { background-image: none }
TR.isticky DIV.icon { background-image: none }
TR.inew DIV.icon {background-image: url(http://deusl3r.free.fr/masque.gif) }


But i dont get anything...What did i do wrong?