News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Global Headers and Footers

Started by SMFHacks.com Team, August 02, 2006, 10:39:07 PM

Previous topic - Next topic

Arantor

That's what it's supposed to do - the same thing at the top of every page.

vbgamer45

If you mis enter a tag and are unable to reach the forum the best bet would be to clear out the smfheader.txt and smffooter.txt in the root directory of your forum.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

primetime

I have this MOD installed and I am using the silentwave theme. The headers and footers display(banners) properly on the index but only the alternate text shows up on the thread/child boards.

site is www.reefersrus.com

Prime

swaite53

Thanks for this mod.

I've just set my firt forum up over the last couple of days, and have a lot to learn. This is exactly what I needed. I'd tried various other ad and banner mods, but couldn't get any of them to work. This went straight on without a problem and is perfect for my needs.

tommybishop

I set up this mod, but it says it can't find the txt files even though theyre right in the root directory where it says to put them... any help would be greatly appreciated.

primetime

Quote from: primetime on October 18, 2009, 12:47:05 PM
I have this MOD installed and I am using the silentwave theme. The headers and footers display(banners) properly on the index but only the alternate text shows up on the thread/child boards.

site is www.reefersrus.com

Prime


Any suggestions on how to fix this?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MultiformeIngegno

RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

clewis789

Love the mod vbgamer but i think the footers one should be below the satus thing also not just the board index is there any way you could pot this in the next update ?
My Mods:

Playstation 3 Avatars - http://custom.simplemachines.org/mods/index.php?mod=2150

Xbox 360 Avatars - Will be up very soon.

Nintendo Wii Avatars - Coming Soon

Liam.

This mod used to throw up quite a few errors for me but luckily now it's fine ^_^
Clewis, I'm sure that's possible, it's just a case of putting it before the template function on index.template.php, as far as I am aware.

Scarlett

I've just installed this mod on my forum, running 1.1.11 SMF with Izler theme. It installed fine, the admin section came up fine, but when I put the html in the box it comes out just as a black box. I can't work out why it's not showing the html? I also tried doing a simple html text link, but although the text worked, the link was inactive.

      <table width="730" border="0" cellspacing="0" cellpadding="0" align="center">
         <tr height="5">
            <td width="5" height="5"></td>
            <td bgcolor="black" width="720" height="5"></td>
            <td width="5" height="5"></td>
         </tr>
         <tr>
            <td width="5"></td>
            <td bgcolor="black" width="720"><a href="http://www.dirtybobbers.co.uk/links [nofollow]"><img src="http://dirtybobbers.co.uk/links_intro.jpg [nofollow]" alt="" height="35" width="720" border="0" /></a></td>
            <td width="5"></td>
         </tr>
         <tr height="35">
            <td width="5" height="35"></td>
            <td bgcolor="black" width="720" height="35"><a href="http://www.dirtybobbers.co.uk/shop [nofollow]"><img src="http://dirtybobbers.co.uk/shop_strip.jpg [nofollow]" alt="" height="35" width="720" border="0" /></a></td>
            <td width="5" height="35"></td>
         </tr>
         <tr height="5">
            <td width="5" height="5"></td>
            <td bgcolor="black" width="720" height="5"></td>
            <td width="5" height="5"></td>
         </tr>
      </table>

navjotjsingh

I added Google Analytics + Adsense integration code in footer and header respectively. But only footer code works and not the header one. ( Forum: forum.geneliaonline.in )

How to fix this? I am on 2.0 RC2.

jrstark

I have a custom theme that basically is a new header/footer with different colors in the CSS.  I just upgraded my test forum to SMF 2 RC 2, and installed this.  The footer is fine, but the header is in the wrong place.  Instead of being at the top of the page, it starts after the nav links.

How do I move the header to the top and delete the existing first line (name of forum and SMF logo)?

vaulter

Quote from: jrstark on December 22, 2009, 04:11:44 PM
I have a custom theme that basically is a new header/footer with different colors in the CSS.  I just upgraded my test forum to SMF 2 RC 2, and installed this.  The footer is fine, but the header is in the wrong place.  Instead of being at the top of the page, it starts after the nav links.

How do I move the header to the top and delete the existing first line (name of forum and SMF logo)?


I have the same problem. I wanted to add a header, not insert html after the links.  Is this a bug or a feature?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

supahben

vulnerability:

smffooter.txt
smfheader.txt

can be easily accessed/downloaded in your forum

vbgamer45

Not a vuln those files do not execute code and all the html/javascript in those files is already loaded on your forum people can just view source and see the same code as those files.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

supahben

Quote from: vbgamer45 on January 13, 2010, 09:33:18 PM
Not a vuln those files do not execute code and all the html/javascript in those files is already loaded on your forum people can just view source and see the same code as those files.
i see.. thanks :)

vaulter

Quote from: vbgamer45 on January 13, 2010, 07:35:09 PM
That's the default feature.

Is there any chance you could add a 'select area for header' check box and one for footer in a future release?

Maybe something like 'Tick here for top of page *' and 'Tick here for after the menu *'  ?

That would be cool if you could :)


vbgamer45

No cause then it would not work as global headers and footers on every theme.

In the case you are talking about you would have to edit each theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: