News:

Wondering if this will always be free?  See why free is better.

Main Menu

Global Headers and Footers

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

Previous topic - Next topic

The Man Who

Quote from: vbgamer45 on July 22, 2009, 02:39:51 PM
What theme are you using? and what language?

the E-N Theme

http://forum.smallbellyguide.com [nofollow]

language?  English - or do you mean programming language? ;)

vbgamer45

Check the language under Admin -> Sever Settings
Should be set to just English
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

OZSlayer

#522
Hi vbgamer45, I have used you mod many time in the past and had only a few issues usually unrelated to the actual mod it self but what I'm trying the display with it.

This time I'm trying to add the header from the main site http://www.makingadiff.org/index2.html into the header mod, its sort of working  http://www.makingadiff.org/forum/index.php

Its breaking and most probably a css conflict with the forum, heres the code in the global header section.

<div id="header2"><link href="http://www.makingadiff.org/styles.css" rel="stylesheet" type="text/css" media="screen" />


<div id="menu">
<ul>
<li><a href="http://www.makingadiff.org/index2.html">Home</a></li>

<li><a href="http://www.makingadiff.org/articles.html">Articles</a></li>
<li><a href="http://www.makingadiff.org/forum/index.php">Forum</a></li>
<li><a href="http://www.makingadiff.org/about.html">About</a></li>
<li><a href="http://www.makingadiff.org/contact.html">Contact</a></li>
</ul>
</div>
<div id="splash"><a href="#">

  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="200" id="FlashID" title="Making A Difference logo">
    <param name="movie" value="http://www.makingadiff.org/images/madlogo.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
    <param name="expressinstall" value="http://www.makingadiff.org/Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->

    <object type="application/x-shockwave-flash" data="/images/madlogo.swf" width="300" height="200">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <param name="expressinstall" value="http://www.makingadiff.org/Scripts/expressInstall.swf" />
      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
      <div>
        <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
      <!--[if !IE]>-->
        </object>
    <!--<![endif]-->
    </object>
    </a></div>
</div>


If anyone could please help in fixing this as it is driving me nuts. Thanks in advance.

OZSlayer

justlove

Is there anyway to remove the header and footer modification from the user profiles?

vbgamer45

No would require edit to the code. This mod adds a header and footer on all pages.
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

justlove

Could you tell me what page or file I will need to edited. Your knowledge would be greatly appreciated if you could possibly point me in the right direction., and I will try to modify the file..

Thank you

CaptPorridge

#526
I've just had a strange experience... just saw someone else had the same problem.  I've used this mod on two other boards in the past with no problems, but I've just set up a new forum and the mod installs perfectly and I get the message it is now functioning... except the Header & Footer link doesn't appear in my admin panel???

Any ideas? I've tried it twice today on two different installations.

Language is set to English-utf8.  The theme is Dilber Multicolor.
Tried it with default theme, same result

The Configeration menu expands to allow for the extra item, but the Header Footer item isn't there:




OOps, just saw the solution.. set language to "English" not "English-utf8

Thanks

vbgamer45

That fixes it utf8 is mainly used for international support if you forum is just english not uft8 works fine.
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

lexa90

Have a problem :(

http://balkanwarez.org/forum/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: globalhf_settings
File: /home/balkanwa/public_html/forum/Sources/Admin.php
Line: 236

Here's the code line:
Quote
235:              'subsections' => array(
==>236:                         'view' => array($txt['globalhf_settings']),

And also this:

http://balkanwarez.org/forum/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: globalhf_title
File: /home/balkanwa/public_html/forum/Sources/Admin.php
Line: 230

And the code:
Quote
229:                            'globalhf' => array(
==>230:                                    'label' => $txt['globalhf_title'],
231:                                           'file' => 'globalhf.php',

Also i tried to add these strings into modification.english.php but it didn't help :( If anyone knows something, please tell. Thanks

vbgamer45

Make sure have it in all modifications.*.english.php files.

If you are using a custom theme check those language files as well.
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

Nodaz

I am unclear as to whether code added through this mod can be edited or removed...
I was lead to this mod as a way to add google adsense, but i need to be able to change the code if need be.

Nodaz

Quote from: UbinTook on October 08, 2009, 06:40:52 PM
I am unclear as to whether code added through this mod can be edited or removed...
I was lead to this mod as a way to add google adsense, but i need to be able to change the code if need be.

Still curious...

vbgamer45

Not a good way to add adsense code. This is mainly for header and footers of forum.
For adsense i recommend ad management mod
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

vbgamer45

If you are just doing google analytics yes this mod is fine for that just add the code in the footer.
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

CBA BBass

OK...I've read just about everything here and I'm still missing the big picture.

I have uploaded the package to my fourm...it says its there but not installed. Cant figure out how to do that...

Also, I opened the header and footer txt document on my computer..are these where I insert my http code?

This thread is 27 pages long and i thought there would be step by step instructions on this but there isnt, or Im missing it???

I dont have allot of knowledge on this stuff but it seems like everyone else come by it pretty easy. Can someone lend me a hand and walk me through from downloading the package to getting it up with what I want on the site? Once i have that, I'm pretty sure I can change my codes once I know how.


This is the right Mod to have for banners right? We want a few local sponsors to have ads on our site and maybe have differant ones on differant pages.



Thanks You!

CBA BBass

Ok...I got it to upload and when it installed it, I got:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

jameswx09


Costa

Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Arantor

jameswx09, please advise how it 'destroyed' your forum.

jameswx09

The mod didn't do anything :D I just wanted to see your reaction. I put an Iframe in the global header... doesn't work. It's all it shows is the iframe on every page. It's all I had on my site was my forum, it was new so I just deleted the database and Smf. I just re-uploaded everything and my forum is back. It's a good thing I didn't have any posts or anything good yet.

Advertisement: