PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2006-08-13 23:20:30

Saeed
Member
From: EuroAmerica
Registered: 2006-07-25
Posts: 23
Website

How to remove Board Title/Desc?

I've just added an image onto my forums using the; Add a logo to the header via css. But the Board Titles and the Board Description are not looking too great. Does anyone know how I remove them?

I've tried removing it from main.tpl, and grey.css & grey_cs.css without any luck.

I appreciate your help.

Thank you.


<webular>Programming Community</webular>

Offline

 

#2 2006-08-13 23:22:00

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1353

Re: How to remove Board Title/Desc?

Great logo big_smile

Oh, and just remove it from main.tpl, it should work (<board_title> and <board_desc>)


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#3 2006-08-13 23:42:15

Saeed
Member
From: EuroAmerica
Registered: 2006-07-25
Posts: 23
Website

Re: How to remove Board Title/Desc?

[smile] glad you like the logo, you see I can do somethings right ;p

elbekko wrote:

Oh, and just remove it from main.tpl, it should work (<board_title> and <board_desc>)

I've tried removing '<pun_title>' & '<pun_desc>' from main.tpl, but that just removes everything. I think this is because I'm using the Wiki logo tutorial and I believe that relies on these two.

Maybe it'll help if I share my grey_cs.css code with you:

Code:

/* header logo */
.pun H1 
{
/* your logo and position */
background-image: url(../../style/wslogo.png);
background-repeat: no-repeat;
background-position: left; /* you set your logo position here */
display: block;
height: 72px; /* logo height in here add width: size px if u need*/ 
}

But then again, maybe not.

Any ideas?


<webular>Programming Community</webular>

Offline

 

#4 2006-08-13 23:45:01

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1353

Re: How to remove Board Title/Desc?

Ok, remove <pun_desc> and set your board title to nothing in the settings.


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#5 2006-08-13 23:49:35

Saeed
Member
From: EuroAmerica
Registered: 2006-07-25
Posts: 23
Website

Re: How to remove Board Title/Desc?

can't remove board title from admincp, although board desc has gone (by removing it in admincp).

Last edited by Saeed (2006-08-13 23:51:14)


<webular>Programming Community</webular>

Offline

 

#6 2006-08-13 23:56:06

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1353

Re: How to remove Board Title/Desc?

Remove it from header.php then (only the part where it gets the name from the DB)


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#7 2006-08-14 07:00:45

Dr.Jeckyl
Member
Registered: 2005-06-17
Posts: 230

Re: How to remove Board Title/Desc?

remove <pun_title> in main.tpl and add html in the description in the admincp for your logo. it(board title and desc) will still show up in the admincp because that uses a differant .tpl.

Offline

 

#8 2006-08-14 10:32:44

Saeed
Member
From: EuroAmerica
Registered: 2006-07-25
Posts: 23
Website

Re: How to remove Board Title/Desc?

Thank you all for your help, Mark got this sorted when I was away.


<webular>Programming Community</webular>

Offline

 

#9 2007-04-10 08:15:10

olive230
Member
Registered: 2007-04-07
Posts: 18

Re: How to remove Board Title/Desc?

thx Dr.Jeckyl, great and easy smile

Offline

 

#10 2007-04-11 11:01:46

Thorworx
New member
Registered: 2007-04-11
Posts: 2

Re: How to remove Board Title/Desc?

I prefer not to modify the .tpl. It is simple enough to remove the info in CSS:

Open YourStyle.css:

/* 6.2 Special spacing for various elements */

#brdtitle h1 {display:none}
#brdtitle P {display:none}

The benefit of doing it this way is that if you view the page without stylesheets (or with a screenreader), the information remains on the page-- and remains accessible.

Offline

 

#11 2007-04-11 11:49:42

Jansson
Former Administrator
From: Sweden
Registered: 2005-04-24
Posts: 431
Website

Re: How to remove Board Title/Desc?

Thorworx wrote:

The benefit of doing it this way is that if you view the page without stylesheets (or with a screenreader), the information remains on the page-- and remains accessible.

Except screen readers honour display: none and doesn't read it. To be truly accessible you'd have to hide it.


// Jansson

PunRes developer | Blog
Winbas Affärssystem

Offline

 

#12 2007-04-11 12:40:00

Thorworx
New member
Registered: 2007-04-11
Posts: 2

Re: How to remove Board Title/Desc?

Jansson wrote:

Thorworx wrote:

The benefit of doing it this way is that if you view the page without stylesheets (or with a screenreader), the information remains on the page-- and remains accessible.

Except screen readers honour display: none and doesn't read it. To be truly accessible you'd have to hide it.

Doh!
Good call...

Even though it seems like a hack to me ("display" seems as though it should only apply to *visual* elements, imho), this might be a better solution to hide the Title/desc:

/* 6.2 Special spacing for various elements */
#brdtitle h1, #brdtitle P
{
position: absolute;
left: -9000px;
top: 0;
}

Apparently this may not work in ALL situations, but it looks promising.

Offline

 

#13 2007-08-01 13:28:01

Flygirl
New member
Registered: 2007-07-31
Posts: 1

Re: How to remove Board Title/Desc?

Thx alot solve my problem also

Offline

 

#14 2008-11-03 02:44:21

bloodox
New member
Registered: 2008-10-28
Posts: 2

Re: How to remove Board Title/Desc?

I found the easiest way is to open cache/cache_config.php and change 'o_board_title' => '(your title)' to 'o_board_title' => '',
worked like a charm.

However every time you change an option under admincp and options you'll have to type something in then change it back. but everything else i treid got rid of everything.

Last edited by bloodox (2008-11-03 02:48:28)

Offline

 

#15 2008-11-07 02:07:35

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 415

Re: How to remove Board Title/Desc?

bloodox wrote:

but everything else i treid got rid of everything.

#brdtitle p {display:none;}

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.