Global Headers and Footers

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

Previous topic - Next topic

sethea

I've installed, uninstalled and reinstalled this mod, but at no point do I get an option under "Configuration" (or any other admin section) for Headers and Footers.  After giving up, I installed another unrelated mod for ads and I now see that mod's options under configuration, so I know that part works on the forum.  I'm assuming that the global headers and footers mod should also show up there once installed, but it is not.  Any advice?

Thanks for your help.

Seth

nina-nina

I have been using this mod for quite some time and I like it a lot. Never have had a problem with it. 
I would like to ask some advice though.  How can I make the image(s) to be in the middle?
Whenever I insert an embedded code, the image goes to the left side.  What if I want the image to be in the middle or in the right side?
Thank you.

!RFAN

Quote from: vbgamer45 on April 13, 2010, 03:01:48 PM
That should work don't use </img though
okay i removed </img> but it is still not working..

tanshin

Quote from: amigozone on April 16, 2010, 11:35:14 AM
Quote from: vbgamer45 on April 13, 2010, 03:01:48 PM
That should work don't use </img though
okay i removed </img> but it is still not working..

Make sure you are using the right format for image tags. <img src="URL" />

akbora

This is a very good and big mod. Is it possible that setting area show? For example I don't want to show header section on portal or other area...

Thanks.
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

!RFAN

Quote from: tanshin on April 18, 2010, 09:28:37 PM
Quote from: amigozone on April 16, 2010, 11:35:14 AM
Quote from: vbgamer45 on April 13, 2010, 03:01:48 PM
That should work don't use </img though
okay i removed </img> but it is still not working..

Make sure you are using the right format for image tags. <img src="URL" />

look.. image is visible but it is not linked

should i use <a href="url">
coz i am using <url="url">
i think i was wrong...

tanshin

Yes, you would use:
<a href="URL"><img src="URL of image" /></a>

That's what I would do anyways.


Hj Ahmad Rasyid Hj Ismail

Why I cannot get this mod to work as it was before. Last time I used this on 1.1.X it was on the very top of the forum. Now when I am using it with 2.0 RC3 it is just under the menu. How do I change it to be on the top of the forum?

Hj Ahmad Rasyid Hj Ismail

#609
I change add global header code i.e.:

// Global Headers
$headercontents = '';

$noheaders = false;
if (isset($_REQUEST['action']))
{
if ($_REQUEST['action'] == 'dlattach')
$noheaders = true;

}


if(!isset($_REQUEST['xml']) && $noheaders == false)
if(file_exists($boarddir . '/smfheader.txt'))
{
$headercontents = file_get_contents($boarddir . '/smfheader.txt');
echo '<!--Headers-->';
echo $headercontents;
echo '<!--End Headers-->';

}

from after this code
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
{
$settings['theme_url'] = $settings['default_theme_url'];
$settings['images_url'] = $settings['default_images_url'];
$settings['theme_dir'] = $settings['default_theme_dir'];
}

to add after this code
header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
}

to rectify my problems.

I hope it will be useful to others using this mod and want to change the global header place from under the main menu to above the whole forum.

vbgamer45

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

Hj Ahmad Rasyid Hj Ismail

Quote from: vbgamer45 on April 21, 2010, 08:50:40 PM
Nice tip.

One typo
  hyeader
Should be
  header
Edited. Thanks for checking and pointing it out.

WhatsTheRent

#612
Hey.  I'm running RC3 and having some trouble.  After I installed i entered in some HTML, which by the way I wrote incorrectly, and now whenever I click inside either the header box, the footer box, hit save, or try and uninstall the mod I get a blank screen with this error message: The requested URL />Home Page</a><!--End Headers--><div class= was not found on this server.

So I'm not able to delete the link I put in the header box, and I am not able to uninstall the mod. 

EDIT:  I got this fixed.  I left out some quotes in the HTML code and this was evidently making safari upset, so I used firefox and it let me edit the code, so all is well

vbgamer45

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

akbora

Quote from: akbora on April 18, 2010, 09:49:54 PM
This is a very good and big mod. Is it possible that setting area show? For example I don't want to show header section on portal or other area...

Thanks.
vbgamer please...
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

vbgamer45

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

aw06

Can i see a site using this mod .. or a screen pic ??
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth


aw06

Quote from: mrtrc266 on April 26, 2010, 01:23:58 AM
Quote from: aw06 on April 26, 2010, 12:24:47 AM
Can i see a site using this mod .. or a screen pic ??

Screen shot are provide here.....
http://mods.simplemachines.org/index.php?mod=351

That shows only for the admin section, want to see it inuse on the forum itself
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

tanshin

Quote from: aw06 on April 27, 2010, 02:32:35 AM
Quote from: mrtrc266 on April 26, 2010, 01:23:58 AM
Quote from: aw06 on April 26, 2010, 12:24:47 AM
Can i see a site using this mod .. or a screen pic ??

Screen shot are provide here.....
http://mods.simplemachines.org/index.php?mod=351

That shows only for the admin section, want to see it inuse on the forum itself

That's a little difficult to show because everybody will be using different codes. For example, I'm using a code by one of our members that gives us multi-colored names.
http://forum.nintendoaddict.com

Advertisement: