• Welcome to Simple Machines Community Forum. Please login or sign up.

Global Headers and Footers

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

Previous topic - Next topic

PaperCigaretteBoxes

Is it possible to alter this mod so it only displays on the initial page of the forum and not on any boards, the login page or registration page?

Kindred

well, it would not be a GLOBAL header/footer, then, would it? :P
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

brynn

Quote from: SMFHacks.com Team on November 01, 2018, 12:34:52 AM
Have made update to saving/editing headers/footers to hopefully help with possible data issues.

Where?  Mod page is still showing version 2.1, which is the version I have, which is changing the single quote to something else.
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

vbgamer45

2.1 is the new version I just post a few days ago.
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

brynn

Right, I just realized that.  Sorry.

I'll install it and let you know what happens.
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

brynn

Ok, I got an odd result when attempting to install the new version. 

I got the message that it was uploaded successfully.  I clicked install.  There were no red test result errors, so I went ahead through with the installation.

The package manager does not show up.  Here's a screenshot of what I see, since it would take too many words to describe it.

As for the message that's displayed:

<br />
<b>Fatal error</b>:  Function name must be a string in <b>/home/brynn/public_html/forum/Themes/default/smfhacks_templates/global-hf.template.php</b> on line <b>41</b><br />


I don't know what it means, or what I should do about it.

Thanks for your help.
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

SMFHacks.com Team

Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

brynn

Ok, will do.

But first.  Should I just use browser back button to get out of where the page is now (in the screenshot)?  Or was something partially installed, that needs to be removed?  Should I try to get to the Package Manager, and find out if something was partially installed?
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

vbgamer45

If you can. If not download the package and ftp the new template file from 2.0 folder to the default theme folder
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

brynn

Short version -- Success!!

But I honestly can't believe that such a problem was existing in such an important mod, for at least 5 years, without any one finding it!  Surely lots of other people use this mod for such a purpose.  I mean, if nothing else, there must be at least a 1 or 2 percent of users who also use Piwik/Matomo.  And the person who had posted about this a couple of pages back was using google analytics which they said uses single quotes. 

I'm just wondering if this problem should be more widely announced than buried in this mod's thread, where even most users of the mod won't ever see it.  Well, at least I"ll announce it in the Matomo forum.

I'll be having realistic analytics about my site for the first time ever, now!

Thanks vbgamer45!!  Thanks!
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

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

Sir Osis of Liver

Running GHF 2.0.1 in SMF 2.0.15, php 5.6.38, getting a lot of these -

http://www.forum.com/index.php?action=admin;area=eiu;sa=general
2: in_array() expects parameter 2 to be array, boolean given
File: /home/forum/public_html/Themes/default/smfhacks_templates/global-hf.template.php (show_settings sub template - eval?)
Line: 909

"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

vbgamer45

Hmm disable template eval. To see the true error line/file
I do not have in_array in this 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

Arantor

Almost certainly in Admin.template.php with some mod (not necessarily this one, in fact unlikely this one given the URL of area=eiu) misconfiguring the settings it wants to configure.
No good deed goes unpunished
All helpful urges should be circumvented

Sir Osis of Liver


http://www.forum.com/index.php?action=admin;area=eiu;sa=general2
2: in_array() expects parameter 2 to be array, boolean given
File: /home/forum/public_html/Themes/default/Admin.template.php
Line: 909


Looks like it's coming from email inactive users mod.  This forum's a mess, but was working until host did server migration, then it blew up.  Most problems seemed to be from different mysql version.  Got it working, just trying to clean up.  Thx.

"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

nora47

los pies de pagina son muy facil de poner si ya eres muy bueno nada de costara en ayudar a tus amigos , el correo lo puedes ubicar y  :)

-Rock Lee-

Quote from: nora47 on December 07, 2018, 08:32:58 AM
los pies de pagina son muy facil de poner si ya eres muy bueno nada de costara en ayudar a tus amigos , el correo lo puedes ubicar y  :)

Por favor trata de responder en ingles en este tema de soporte, ya que el ingles es lenguaje usado en este foro. Si el ingles no es tu fuerte utiliza el foro en español correspondiente para las dudas.


Saludos!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

TheSnake

Hello!

One of the forums is not working. We got this:
QuoteUnable to load the 'global_hf_above' template.
No backups. How to deal with it?


vbgamer45

Copy the global header footers mod template to your themes/default folder like Shambles linked to
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

Advertisement: