Insert a banner in the header of the index page

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
enter a valid email
Registered User
Posts: 276
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: Insert a banner in the header of the index page

Post by enter a valid email » Fri Jul 01, 2016 12:40 am

Maybe i start with V 3.2 do you have any experience who it work there? :oops:

User avatar
Lumpy Burgertushie
Registered User
Posts: 66487
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Insert a banner in the header of the index page

Post by Lumpy Burgertushie » Fri Jul 01, 2016 12:48 am

3.2 is not final yet. it is still in the testing stages.

if you want to install 3.2 somewhere to test it, then go ahead and do so.
I have no idea if the changes I showed you how to make will work in 3.2 or not.
I don't know if the code is the same in the 3.2 prosilver files or not. I have not looked since 3.2 is not ready to use yet.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

enter a valid email
Registered User
Posts: 276
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: Insert a banner in the header of the index page

Post by enter a valid email » Fri Jul 01, 2016 6:01 pm

i cant find

Code: Select all

<!-- IF S_HAS_SUBFORUM -->
:oops:

User avatar
pit-PL
Registered User
Posts: 3085
Joined: Sat Nov 21, 2009 12:24 pm

Re: Insert a banner in the header of the index page

Post by pit-PL » Fri Jul 01, 2016 6:44 pm

You're kidding, right?


User avatar
Lumpy Burgertushie
Registered User
Posts: 66487
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Insert a banner in the header of the index page

Post by Lumpy Burgertushie » Fri Jul 01, 2016 7:05 pm

enter a valid email wrote:no i have no idea how it works.
that reply has no meaning in relation to what you said before and what steve asked you.

where are you looking for that? if you are looking in the correct file in 3.1.9 prosilver it is there unless you removed it.

the best way to move forward is to replace the viewforum_body.html file with a new one then follow my instructions on the previous page on how to do this.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?


User avatar
Lumpy Burgertushie
Registered User
Posts: 66487
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Insert a banner in the header of the index page

Post by Lumpy Burgertushie » Fri Jul 01, 2016 7:26 pm

enter a valid email wrote:on which line it should be?
assuming that you are talking about phpbb 3.1.9 prosilver/template/viewforum_body.html, then it is on line #28 in a stock unmodified file.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

enter a valid email
Registered User
Posts: 276
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: Insert a banner in the header of the index page

Post by enter a valid email » Fri Jul 01, 2016 7:59 pm

:oops: :oops: :oops: :oops: :oops: sorry i edited the wrong file... :roll:
Lession 2. Dont do multiple thinks at the same time. :lol:

The only problem is the Link Open on the Forum. So Should I add an .html redirect File to the root?

You say to get it into the viewtopic_body.html I must edit it. That was that i did wrong. :oops:

So i have to add

Code: Select all

</div>
above

Code: Select all

<div class="action-bar top">
?

User avatar
Lumpy Burgertushie
Registered User
Posts: 66487
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Insert a banner in the header of the index page

Post by Lumpy Burgertushie » Fri Jul 01, 2016 9:08 pm

you need to pay attention to instructions and follow them exactly as posted.

go back and read my instructions about how to do it and start over with a new copy of the file.

viewforum_body.html
and, if you want to have the banner show on the topics pages then you have to do the very same exact edits to viewtopic_body.html

do all of the edits as I wrote them, exactly as I wrote them etc.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

enter a valid email
Registered User
Posts: 276
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: Insert a banner in the header of the index page

Post by enter a valid email » Fri Jul 01, 2016 10:16 pm

then you have to do the very same exact edits to viewtopic_body.html
yes that is what i try do do at the first time.
and there is no

Code: Select all

<!-- IF S_HAS_SUBFORUM -->

User avatar
pit-PL
Registered User
Posts: 3085
Joined: Sat Nov 21, 2009 12:24 pm

Re: Insert a banner in the header of the index page

Post by pit-PL » Sat Jul 02, 2016 6:02 am

So you have to add </div> above <div class="action-bar top">


User avatar
Lumpy Burgertushie
Registered User
Posts: 66487
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Insert a banner in the header of the index page

Post by Lumpy Burgertushie » Sun Jul 03, 2016 9:17 pm

you don't have the </div> before the <div class="action-bar top"> in viewtopic_body.html.

did you purge the cache after making the changes?


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

enter a valid email
Registered User
Posts: 276
Joined: Mon May 30, 2016 4:50 pm
Location: VIE
Contact:

Re: Insert a banner in the header of the index page

Post by enter a valid email » Sun Jul 03, 2016 9:19 pm

WTF i moved it 3 lines down and it works... :roll: :oops:
thats stuff is so hard.

Locked

Return to “[3.0.x] Styles Support & Discussion”