Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
August 01, 2014, 09:44:48 pm

Login with username, password and session length
Members
Total Members: 11301
Latest: josephy
Stats
Total Posts: 35201
Total Topics: 5895
Online Today: 92
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 59
Total: 59
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 3 [4] Go Down Print
Author Topic: 4. Global Headers and Footers  (Read 59361 times)
buhaychat.com
Newbie
*
Offline Offline

Posts: 5


View Profile WWW
« Reply #45 on: December 09, 2006, 05:33:13 pm »

Ahh okay let me look there, thanks.
Logged
buhaychat.com
Newbie
*
Offline Offline

Posts: 5


View Profile WWW
« 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 Sad

This is the code:

Code:
//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?  Huh
Logged
LegacysVodka
Newbie
*
Offline Offline

Posts: 5


Queen of the Succubi


View Profile WWW
« 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?
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12020


View Profile
« Reply #48 on: January 08, 2007, 10:16:27 pm »

What's your SMF version?
Logged
LegacysVodka
Newbie
*
Offline Offline

Posts: 5


Queen of the Succubi


View Profile WWW
« Reply #49 on: January 08, 2007, 10:20:57 pm »

1.1.1


 the most current I believe
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12020


View Profile
« 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?
Logged
LegacysVodka
Newbie
*
Offline Offline

Posts: 5


Queen of the Succubi


View Profile WWW
« 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.
Logged

simeon
Newbie
*
Offline Offline

Posts: 2


View Profile
« 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" />

Huh

Thanks in advance for your help. I really want to have it in my forum.
Logged
simeon
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #53 on: January 09, 2007, 04:16:52 am »

PLS IGNORE MY PREVIOUS POST.  I figured it out  Smiley 

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"  Grin

Cheers, man Keep up the good work!
Logged
LegacysVodka
Newbie
*
Offline Offline

Posts: 5


Queen of the Succubi


View Profile WWW
« 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.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12020


View Profile
« 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.
Logged
LegacysVodka
Newbie
*
Offline Offline

Posts: 5


Queen of the Succubi


View Profile WWW
« 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
Logged

Iron IC
Newbie
*
Offline Offline

Posts: 4


View Profile
« 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! Smiley
Logged
tapsilog
Newbie
*
Offline Offline

Posts: 1


View Profile
« 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.
Logged
Pages: 1 2 3 [4] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 09:47:23 am]

[July 31, 2014, 10:18:43 am]

[July 30, 2014, 10:29:45 pm]

[July 29, 2014, 02:42:52 am]

[July 28, 2014, 03:10:30 pm]

[July 28, 2014, 12:58:26 pm]

[July 28, 2014, 10:43:03 am]

[July 24, 2014, 03:15:32 pm]

[July 24, 2014, 01:07:19 pm]

[July 23, 2014, 07:52:40 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.295 seconds with 21 queries.