Advertisement:

Author Topic: Global Headers and Footers (SMF 2.0 Now Supported!)  (Read 208095 times)

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #920 on: February 05, 2013, 01:31:18 PM »
You have to add the image tags...
Code: [Select]
<div class="floatleft" style="width: 50%;"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/FIE-Ad-small.gif" alt="" /></div><div class="floatright" style="width: 50%;"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/VRS3.jpg" alt="" /></div><br class="clear" />

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline GlennLever

  • Charter Member
  • Jr. Member
  • *
  • Posts: 120
  • Gender: Male
    • Lever Family Site
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #921 on: February 05, 2013, 01:37:25 PM »
Ok, two problems, the right image is over the top of the text for the "Members: 83  •  Posts: 201  •  Topics: 71 Please welcome Mod, our newest member.", and they do not scroll.

I could live with the no scroll but would like the "Members: 83  •  Posts: 201  •  Topics: 71 Please welcome Mod, our newest member." not to be obscrued.

If the two images were next to each other that might just give us enough room to allow that text to be visable.

Thanks!

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #922 on: February 05, 2013, 01:37:54 PM »
Have a link?

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications


Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #924 on: February 05, 2013, 01:47:19 PM »
Here ya go :)
Code: [Select]
<div class="floatleft"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/FIE-Ad-small.gif" alt="" /></div><div class="floatleft" style="margin-left: 12px;"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/VRS3.jpg" alt="" /></div><br class="clear" />

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline GlennLever

  • Charter Member
  • Jr. Member
  • *
  • Posts: 120
  • Gender: Male
    • Lever Family Site
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #925 on: February 05, 2013, 01:59:25 PM »
Here ya go :)
Code: [Select]
<div class="floatleft"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/FIE-Ad-small.gif" alt="" /></div><div class="floatleft" style="margin-left: 12px;"><img src="http://www.leverfamilysite.com/images/Hidden_Pictures/VRS3.jpg" alt="" /></div><br class="clear" />

It moved it over but the "members" is still covered up. I could put a white strip at the bottom of the images that would allow the text to be seen but that would be a different color from the board background.

I have another request from the board sponor to make his image (FIE) a clickable link.

Would this work?
<a border=0 href="http://fuelinjectionent.com">="http://www.leverfamilysite.com/images/Hidden_Pictures/FIE-Ad-small.gif"</a>

Could you send the complete text string???

I am really out of my element here, ask me a question about an engine and I'm good, but this is a real strech for me.

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #926 on: February 05, 2013, 02:07:59 PM »
It looks fine to me...and to make it clickable just wrap the img tag with an anchor tag: <a href="URL_HERE"><img tag here /></a>.

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline GlennLever

  • Charter Member
  • Jr. Member
  • *
  • Posts: 120
  • Gender: Male
    • Lever Family Site
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #927 on: February 05, 2013, 02:13:38 PM »
It looks fine to me...and to make it clickable just wrap the img tag with an anchor tag: <a href="URL_HERE"><img tag here /></a>.

Please see below.

Would you code the string for me?

This is the link to his site http://fuelinjectionent.com/

Need a donation for your time, PayPal account?

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #928 on: February 05, 2013, 02:15:56 PM »
I'll send you a PM so we get out of this mod's support topic...

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline melakabikers

  • Newbie
  • *
  • Posts: 2
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #929 on: February 14, 2013, 01:43:00 AM »
Hi Guys

I have Global Headers and Footers installed on my site and have been using it to show my Adsense Links and Banner but just recently the adsense is not showing but if you log-in as Admin and when you click on Header Footers to edit you can see the Adsense link working fine. I'm not sure what happened and I've never modified anything

hxxp:www.melakabikers.com [nonactive]

Offline RustyBarnacle

  • Sr. Member
  • ****
  • Posts: 724
    • Saving Tallingroth
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #930 on: February 19, 2013, 01:48:35 PM »
I sent in a feedback after uninstalling this mod.  You can ignore it as I was wrong.  I said that when this mod was installed I got a white bar that overwrote my menu about 10% of the time.  Well after I uninstalled it the first time this issue went away I thought and when I reinstalled it the problem came back so I thought I'd figured it out.  After uninstalling it the second time this white bar still occurs about 10% of the time so it must not be this mod after all.

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,470
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #931 on: February 19, 2013, 01:50:31 PM »
Not a problem Rusty, glad to hear it wasn't an issue with this modification :)

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline safesoft

  • Newbie
  • *
  • Posts: 4
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #932 on: February 27, 2013, 09:12:07 PM »
I want to use this mod to include my google analytics code, because I have some customizations that are not supported with the google analytics mod.

However, when I insert the code, it appears not to work, and the single quotes in the JS are replaced with the escape code for the single quote (I presume this is why it does not work.)

Suggestions?


<!-- Google Analytics Begin -->

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push([\'_setAccount\', \'UA-123456-7\']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- Google Analytics End -->

Offline Daemon_Magic

  • Newbie
  • *
  • Posts: 1
Re: Global Headers and Footers (SMF 2.0 Now Supported!)
« Reply #933 on: May 21, 2013, 09:55:09 AM »
Hi, safesoft

Just find global-hf.php, there in function GlobalHFCheckSaving at line 63 replace ENT_QUOTES with ENT_NOQUOTES

GreetZ,
   Daemon_Magic.