Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 193
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 197
Total: 197

Author Topic: 4. Global Headers and Footers  (Read 106694 times)

0 Members and 1 Guest are viewing this topic.

Offline buhaychat.com

  • Member
  • *
  • Posts: 5
    • View Profile
    • BuhayCHAT Online Community for Filipino Adult Chatters
Re: 4. Global Headers and Footers
« Reply #45 on: December 09, 2006, 05:33:13 pm »
Ahh okay let me look there, thanks.

Offline buhaychat.com

  • Member
  • *
  • Posts: 5
    • View Profile
    • BuhayCHAT Online Community for Filipino Adult Chatters
Re: 4. Global Headers and Footers
« Reply #46 on: December 10, 2006, 12:02:52 am »
I found the code in the Subs but I can't figure out where to move it so that it's above all the forum table :(

This is the code:

Code: [Select]
//Global Headers
$headercontents = '';
if(!isset($_REQUEST['xml']))
if(file_exists($boarddir . '/smfheader.php'))
{
$headercontents = file_get_contents($boarddir . '/smfheader.php');
echo '<!--Headers-->';
echo $headercontents;
echo '<!--End Headers-->';

}

}

Where should I put it so that that the global headers will appear above the start of the forum tables?  ???

Offline LegacysVodka

  • Member
  • *
  • Posts: 5
  • Queen of the Succubi
    • View Profile
    • Legacy of the Ring
Re: 4. Global Headers and Footers
« Reply #47 on: January 08, 2007, 09:41:56 pm »
Using the Package Manager I downloaded the Global Header/Footer yet it won't let me "install" it. The page simple says List Files and Remove...

Is there something else i didn't do?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 4. Global Headers and Footers
« Reply #48 on: January 08, 2007, 10:16:27 pm »
What's your SMF version?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline LegacysVodka

  • Member
  • *
  • Posts: 5
  • Queen of the Succubi
    • View Profile
    • Legacy of the Ring
Re: 4. Global Headers and Footers
« Reply #49 on: January 08, 2007, 10:20:57 pm »
1.1.1


 the most current I believe

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 4. Global Headers and Footers
« Reply #50 on: January 08, 2007, 10:29:03 pm »
Did you installl the latest version
http://www.smfhacks.com/hacks/Global-Headers-and-Footers.html
And did you have installed before you upgraded?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline LegacysVodka

  • Member
  • *
  • Posts: 5
  • Queen of the Succubi
    • View Profile
    • Legacy of the Ring
Re: 4. Global Headers and Footers
« Reply #51 on: January 08, 2007, 10:33:38 pm »
i'm not exactly sure what you mean...

However, from what it sounds like, Yes I have the latest version on my computer... and No I didn't have it before any other version... I have just recently become a Co-Owner on a board... it was 1.1.1 when I joined.

Offline simeon

  • Member
  • *
  • Posts: 2
    • View Profile
Re: 4. Global Headers and Footers
« Reply #52 on: January 09, 2007, 03:07:26 am »
Hello SMFHacks.

First of all - thanks for the awesome mod. Regretfully I have the same problem, i.e. I simply can't install it! I have the latest version (1.1.1) of SMF and just got the mod off your site. Where do the files go?

Do I manually upload them as the following code says:
<require-file name="globalhf.php" destination="$sourcedir" />
      <require-file name="globalhf.template.php" destination="$themedir" />
      <require-file name="smfheader.php" destination="$boarddir" />
      <require-file name="smffooter.php" destination="$boarddir" />

???

Thanks in advance for your help. I really want to have it in my forum.

Offline simeon

  • Member
  • *
  • Posts: 2
    • View Profile
Re: 4. Global Headers and Footers
« Reply #53 on: January 09, 2007, 04:16:52 am »
PLS IGNORE MY PREVIOUS POST.  I figured it out  :) 

I've been associated with SMF for entire 3 (three!) days and it finally crossed my mind that "packages" in the admin panel relate to "mods"  ;D

Cheers, man Keep up the good work!

Offline LegacysVodka

  • Member
  • *
  • Posts: 5
  • Queen of the Succubi
    • View Profile
    • Legacy of the Ring
Re: 4. Global Headers and Footers
« Reply #54 on: January 09, 2007, 02:13:54 pm »
That's great but I still haven't a Clue how I am going to get the header/footer installed for my board lol.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 4. Global Headers and Footers
« Reply #55 on: January 09, 2007, 03:07:40 pm »
Download the latest version from this site. Upload it the packages folder and try to install it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline LegacysVodka

  • Member
  • *
  • Posts: 5
  • Queen of the Succubi
    • View Profile
    • Legacy of the Ring
Re: 4. Global Headers and Footers
« Reply #56 on: January 11, 2007, 08:54:25 pm »
that's the thing i upload it and it doesn't give me the install option

Offline Iron IC

  • Member
  • *
  • Posts: 4
    • View Profile
Re: 4. Global Headers and Footers
« Reply #57 on: February 17, 2007, 06:43:16 pm »
This mod won`t install from the package mananger. I get the zipfile uploadet and are asked to add the mod, but nothing happens when I proceed clicking that.

I run smf 1.1.2 and are on a unix server. I downloadet the latest version.

I gave write and read permissions to all folders on my server, and I copied smffooter.php and smfheader.php into forum root.

Any solutions? Is this mod compatible with smf 1.1.2?

Please respond. Thank you! :)

Offline tapsilog

  • Member
  • *
  • Posts: 1
    • View Profile
Re: 4. Global Headers and Footers
« Reply #58 on: March 14, 2007, 05:22:27 am »
HI..  how do make a picture appear in my header. Thanks. I have a jpeg file in my hard disk. What should I do to make appear in my header.

Offline mickjav

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Database Dreams
Re: 4. Global Headers and Footers
« Reply #59 on: October 06, 2021, 11:51:21 am »
Hi Are you planning a 2.1 Version?

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
5843 Views
Last post September 08, 2010, 03:01:41 am
by Molly
2 Replies
5441 Views
Last post January 30, 2011, 04:51:14 am
by Seo-luntan
9 Replies
9446 Views
Last post February 21, 2012, 07:52:32 am
by SMFHacks
6 Replies
6057 Views
Last post August 22, 2013, 01:39:57 pm
by inkys
0 Replies
3372 Views
Last post March 31, 2015, 10:33:08 pm
by SethAten

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal