Problem with Banner

Support for IntegraMOD 141

Moderator: Integra Moderator

Problem with Banner

PostAuthor: Stevey1976 » Fri Jul 13, 2007 4:02 am

Hi All,

I'm having some problems with the banner on my site http://www.twitchythumbs.co.uk I want it to go across the screen fully from left to right, but it's stopping short of going all the way over to the right, can anyone help?

Thanks
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: .QUACK.Major.Pain » Fri Jul 13, 2007 2:54 pm

The right side is reserved for the Overall Banner.
I think it has to be removed to extend all the way over.
There are other posts here about it. I'll see if I can find some.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: .QUACK.Major.Pain » Fri Jul 13, 2007 3:00 pm

http://www.integramod.com/forum/viewtop ... ght=banner

Zenrei has figured it out, maybe PM him for help.

I think you open root/templates/your template/overall_header.tpl

And remove this:

<BEGIN>
<td><div>{BANNER_0_IMG}</div></td>
<END>

Somewhere before this, you would need to align='center'
Not sure where exactly, but I think it would go before the <table

If I get time later I can play around, but may be faster to ask Zenrei since he's done it already.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: Stevey1976 » Sat Jul 14, 2007 12:32 am

I'll give this a try and let you know how it goes, as ever thanks very much for the replies.

Steve
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: .QUACK.Major.Pain » Sat Jul 14, 2007 6:49 am

<BEGIN>
<td><div>{BANNER_0_IMG}</div></td>
<END>
<td> </td>

Actually the last line would have to go too.
Helter mentioned to me that it adds extra spaces of the right side and wouldn't allow your banner to go all the way across.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: Stevey1976 » Sun Jul 15, 2007 10:35 am

Dear .=QUACK=.Major.Pain

Thanks for the advice it worked perfectly, check out the site now at http://www.twitchythumbs.co.uk and there is a perfect banner from left to right, looks awesome - please pass my thanks along to Helter as well.

All the best,



Steve
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: Helter » Sun Jul 15, 2007 10:44 am

the banner your using will not stretch with the forum so your choice is to center it

in your overall_header.tpl, find this table

Code: Select all
<table><tr> <td><a><img></a></td><BEGIN><td><div>{BANNER_0_IMG}</div></td><END><td><img></td></tr></table>


replace with

Code: Select all
<table><tr> <td><a><img></a></td><BEGIN><td><div>{BANNER_0_IMG}</div></td><td><img></td><END></tr></table>


notice, ive moved the spacer <td> inside the banner_0 switch, so when your not using the banner it will not be displayed. This will give you what you want without removing code in case you decide later that you want to use the banner. I have also centered the logo <td> so as the forum stretches the logo will remain in the center
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: Stevey1976 » Sun Jul 15, 2007 12:33 pm

Hi Helter,

You must be a mind reader! After I'd made the changes and then went in to the forum I noticed that the banner was positioned as it was originally on the homepage, e.g not going all the way from left to right. I've made the required changes as above, however my table class had a value of "header" rather than "topbkg", I've kept it as "header" will this be okay?

Also going back to the homepage the banner is perfect from left to right it fills the entire page as I believe it should, however going in to the forum there is a tiny amount of space on each side, would I be correct in saying this is where the center command comes in to effect? Just out of interest is it possible to have the banner going the full width from left to right in the forum as per the homepage?

Many thanks,



Steve
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: Helter » Sun Jul 15, 2007 1:27 pm

only if you give your site a static width...ie 900px instead of 100%

find

Code: Select all
<table><tr><td><table>



replace with

Code: Select all
<table><tr><td><table> Ā 


open dark/viewtopic_body.tpl

find

Code: Select all
no_thread_stretch({BLOCK_WIDTH}+240);


replace with

Code: Select all
no_thread_stretch({BLOCK_WIDTH}+10%);


in the acp/general admin/configuration section, set your banner size to 900x 169
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Problem with Banner

PostAuthor: Stevey1976 » Sun Jul 15, 2007 2:55 pm

"HelterSkelter";p="27318" wrote:the banner your using will not stretch with the forum so your choice is to center it

in your overall_header.tpl, find this table

Code: Select all
<table><tr> <td><a><img></a></td><BEGIN><td><div>{BANNER_0_IMG}</div></td><END><td><img></td></tr></table>


replace with

Code: Select all
<table><tr> <td><a><img></a></td><BEGIN><td><div>{BANNER_0_IMG}</div></td><td><img></td><END></tr></table>


notice, ive moved the spacer <td> inside the banner_0 switch, so when your not using the banner it will not be displayed. This will give you what you want without removing code in case you decide later that you want to use the banner. I have also centered the logo <td> so as the forum stretches the logo will remain in the center


Hi HelterSkelter,

I tried what you suggested in your last post, but the overall result seemed to shrink in the homepage and when I went to the forum the banner although centered had large borders on either side, not sure if I did something wrong, but I think I'm going to stick to the suggestion you gave me above, this has only got very small border on either side of the banner when I'm viewing a message in any Forum and gives me a full banner from left to right on the homepage.

Many thanks for your time and kind assistance.




Steve
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: .QUACK.Major.Pain » Sun Jul 15, 2007 3:55 pm

Ahhh - see I knew Helter knew better than I did. LOL

My suggestions are just my best guess.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: Stevey1976 » Mon Jul 16, 2007 1:07 pm

Very strange,

I'm using IE7 as my browser here and the banner looks fine, but on IE6 and on Mozilla Firefox it's completely different in appearance, IE6 shows it with borders on both sides and Mozilla Firefox has some bizarre orange box putting in an appearance on the left hand corner, I only noticed the difference through visiting the site at work in my break where we're still behind the times with IE6, but a bit more up to date with Mozilla Firefox latest version.

I'll try and add the screens from IE6 and Mozilla tomorrow while at work, but in the meantime any ideas?

Thanks,



Steve
You do not have the required permissions to view the files attached to this post.
Last edited by Stevey1976 on Thu Jul 19, 2007 1:48 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: Stevey1976 » Mon Jul 16, 2007 1:09 pm

Very strange,

I'm using IE7 as my browser here and the banner looks fine, but on IE6 and on Mozilla Firefox it's completely different in appearance, IE6 shows it with borders on both sides and Mozilla Firefox has some bizarre orange box putting in an appearance on the left hand corner, I only noticed the difference through visiting the site at work in my break where we're still behind the times with IE6, but a bit more up to date with Mozilla Firefox latest version.

I'll try and add the screens from IE6 and Mozilla tomorrow while at work, but in the meantime any ideas?

Thanks,



Steve
You do not have the required permissions to view the files attached to this post.
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00

Re: Problem with Banner

PostAuthor: Stevey1976 » Wed Jul 18, 2007 9:03 am

As discussed in my last post please find attached screenshots which show how banner is viewed in IE6 and Mozilla Firefox Version 2.0.0.5

Any suggestions are appreciated.

Thanks,



Steve
You do not have the required permissions to view the files attached to this post.
Last edited by Stevey1976 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Stevey1976
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Mon Jun 25, 2007 2:46 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]