Advertisement:

Author Topic: Global Headers and Footers  (Read 397183 times)

Offline Kirsten07734

  • Semi-Newbie
  • *
  • Posts: 40
Re: Global Headers and Footers
« Reply #20 on: December 12, 2006, 01:58:09 AM »
Installed fine on my 1.1 test forum, and runs fine.

A request....
It would be nice to be able to use BBC in the headers and footers for formatting.  Specifically, I tried to center my copywrite statement at the bottom, but BBC wasn't recognized.

I really appreciate your work on this mod.  I've wanted for a long time to add my own copywrite statement at the bottom which was only available in some themes. 

Offline howlerckc

  • Semi-Newbie
  • *
  • Posts: 27
    • Stay at Home Dads, You're Not Alone
Re: Global Headers and Footers
« Reply #21 on: December 12, 2006, 03:57:45 PM »
Installed fine on my 1.1 test forum, and runs fine.

A request....
It would be nice to be able to use BBC in the headers and footers for formatting.  Specifically, I tried to center my copywrite statement at the bottom, but BBC wasn't recognized.

I really appreciate your work on this mod.  I've wanted for a long time to add my own copywrite statement at the bottom which was only available in some themes. 

You can use html <center></center> to center what you want.

Offline Kirsten07734

  • Semi-Newbie
  • *
  • Posts: 40
Re: Global Headers and Footers
« Reply #22 on: December 13, 2006, 04:54:15 PM »
Quote
You can use html <center></center> to center what you want.

Doh!  Thanks for reminding me.  I have no idea why I had it in my head it had to be bbc, mod overload I suppose (I'm a kid in a candy store).  But yes, you are right and it works perfectly.  Thanks.

Great mod.

Offline Spike2

  • Semi-Newbie
  • *
  • Posts: 50
Re: Global Headers and Footers
« Reply #23 on: December 14, 2006, 03:29:26 AM »
I cant uninstall the mod :S

Help me!

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Global Headers and Footers
« Reply #24 on: December 15, 2006, 02:09:10 AM »
The link is in my signature.

Err... Header is at the top and footer is at the bottom. This isn't either.

Anyone got any good ideas?
My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #25 on: December 15, 2006, 02:56:50 PM »
What's the error? It sort of depends on the theme. It adds code  after the template_above function is code and before template_footer function is called.
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

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Global Headers and Footers
« Reply #26 on: December 15, 2006, 03:31:42 PM »
What's the error? It sort of depends on the theme. It adds code  after the template_above function is code and before template_footer function is called.

Oh no error really other than it isn't at the very top which is where a "header" would normally be. I've still found a use for it I suppose though if there's a way to get it to actually go to the top it would be better I guess.

The link in my signature shows the site in question. It is called "My Mess" at this point as I'm not entirely sure where it will go. It is where the news fader would normally be on the default theme and is indeed just using the default theme.

The footer follows suit. It isn't at the end of the page but, rather, is above the copyright information. That works just fine though. I'll find something to put there. ;)

I would, however, like to know if there is an easy way to get the header up to the absolute top that you're aware of?
My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Offline Dirtrocker

  • Semi-Newbie
  • *
  • Posts: 84
    • BAT Auto Technical
Re: Global Headers and Footers
« Reply #27 on: December 18, 2006, 03:11:08 AM »
The mod says it installed fine on 1.1, but when I had it on 1.1 RC3, there was a link on the administration menu to the global header and footers.
On the install of 1.1, when I installed the mod, there is no link on the admin menu.
Any ideas?
Where did it put the link to manage it?

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #28 on: December 21, 2006, 11:51:08 AM »
Where do I upload this Mod to?  What directory or path?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #29 on: December 21, 2006, 11:56:01 AM »
To the packages folder of your SMF Forum then you go to the package manager to install it.
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

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #30 on: December 21, 2006, 12:35:20 PM »
Got it installed through the package area.  no menu shows up on the left side to click on in the  "Configuration" area.  I'm running SMF version 1.1.1

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #31 on: December 21, 2006, 01:31:48 PM »
Are you running on another language?
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

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #32 on: December 21, 2006, 02:14:21 PM »
English

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #33 on: December 21, 2006, 02:15:34 PM »
Check if you can access http://www.yoursite.com/index.php?action=globalhf

If you can't access that page then the mod is not installed.
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

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #34 on: December 21, 2006, 02:18:21 PM »
That just pulls up our index page/ home page

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #35 on: December 21, 2006, 02:19:36 PM »
Then the mod did not install.
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

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #36 on: December 21, 2006, 02:20:25 PM »
Should I uninstall then reinstall?

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #37 on: December 21, 2006, 02:24:02 PM »
 Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php         Test successful
2. Execute Modification ./index.php                 Test successful
3. Execute Modification ./Sources/Subs.php           Test successful
4. Extract File ./Sources/globalhf.php 
5. Extract File ./Themes/default/globalhf.template.php 
6. Extract File ./smfheader.php 
7. Extract File ./smffooter.php

Looks like all the files are not installing properly in the package manager

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Global Headers and Footers
« Reply #38 on: December 21, 2006, 02:25:47 PM »
I would check the permissions on the files to see it is allowed to edit and add 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

Offline bugpage

  • Semi-Newbie
  • *
  • Posts: 13
Re: Global Headers and Footers
« Reply #39 on: December 21, 2006, 02:46:07 PM »
This is to stressfull before the holidays..LOL  I have all permissions set to write.  Still no luck. bummer