News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Global Headers and Footers

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

Previous topic - Next topic

vbgamer45

board directory is the root directory of your forum where SSI.php is located.
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

coldy316

Quote from: Assistance on October 25, 2006, 10:54:05 AM
Configuration
Features and Options
Arcade
Server Settings
Current Theme
Themes and Layout
Global Headers and Footers
Ad Management

I do not see it in that section at all, I installed it via the parser and still
cannot see it. this is the very first time I did it and said it was successfully installed
but its not showing up... doesnt matter now. If mods dont work I just uninstall them.
Would you believe it that i live in gods country
Australia

vbgamer45

Check what language your system is set to under Admin -> Server Settings it should be English and not english utf8
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

Sabre™

Quote from: vbgamer45 on April 10, 2008, 07:55:46 PM
board directory is the root directory of your forum where SSI.php is located.
Thanks mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


coldy316

#244
Quote from: vbgamer45 on April 14, 2008, 10:58:51 PM
Check what language your system is set to under Admin -> Server Settings it should be English and not english utf8

I dont if you was directing the comments at me, but i double check it and it is on english, not english-utf8 also
how do I stop all the mods going to the smf default core theme. this is what is causing the problem
I reckon...
Would you believe it that i live in gods country
Australia

vbgamer45

By default all mods can only install on the default theme. For other themes you have to manually install the mod on that theme.

SMF 2 will allow you to try install mods on other themes.
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

coldy316

got it working now, thanks in regards to the info.
Would you believe it that i live in gods country
Australia

cleanfiles

Hello I posted a question about this mod in the support board...I'm thinking I must have posted in the wrong section because I am not getting any answers over there. This is the same question here.

Hello everybody, I am building a forum and I have some buttons in the global header that I would like to hide from guests.
All I need is a bit of code to add before and after the button code to hide it from guests.
ie. This code works in the same situation when using wordpress:

<?php if ( is_user_logged_in() ) : ?>

~ button code goes here ~

<?php endif; ?>


Screen shot of buttons in global header.


Here is the code I use for my buttons.
<center>
<SCRIPT TYPE="text/javascript">
<!--
var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
    pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}

function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
    {
    rollOverArr[pageImageName].outImg = new Image;
    rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
    }
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}

function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}
//-->
</SCRIPT>
<A
    HREF="http://nqpipes-drums.cp72.org/forum/index.php?action=gallery"
    onMouseOver = "rollover('Gallery')"
    onMouseOut  = "rollout('Gallery')"
    ><IMG
    SRC="http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/gallery.png"
    NAME="Gallery"
    ALT="Gallery" BORDER=0
    HEIGHT=33 WIDTH=128
    ></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/gallery_over.png");
//-->
</SCRIPT>
<A
    HREF="http://nqpipes-drums.cp72.org/forum/index.php?action=Chat%20Room"
    onMouseOver = "rollover('Chat Room')"
    onMouseOut  = "rollout('Chat Room')"
    ><IMG
    SRC="http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/chat.png"
    NAME="Chat Room"
    ALT="Chat Room" BORDER=0
    HEIGHT=33 WIDTH=128
    ></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/chat_over.png");
//-->
</SCRIPT>
<A
    HREF="http://nqpipes-drums.cp72.org/forum/index.php?action=Contact%20List"
    onMouseOver = "rollover('Contact List')"
    onMouseOut  = "rollout('Contact List')"
    ><IMG
    SRC="http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/contact.png"
    NAME="Contact List"
    ALT="Contact List" BORDER=0
    HEIGHT=33 WIDTH=128
    ></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("http://cp72.org/NQpipes-drums/forum/Themes/default/images/buttons/contact_over.png");
//-->
</SCRIPT>
</center>


Any help with this would be appreciated.
Temporary forum url.
http://nqpipes-drums.cp72.org/forum/index.php

vbgamer45

The global headers and footers mod does not support php code to be executed so that code would not work.
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

cleanfiles

Ok thanks, I was able to use php on the custom pages so it doesn't matter to much now anyway.
Thanks for the reply anyways.

PrizeLive.com

Just installed this mod and it said it was successfully installed but I see no changes.

Using Version 1.1.4.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vbgamer45

Should add Headers and Footers section in the Admin Section.

If you are using another language check under Server Settings the language is set to english and not english utf8
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

PrizeLive.com

I'm using the Default theme and language is set to English.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vbgamer45

You may have to install the mod manually then it sees like it is getting stuck. Check your forum's error log and check if other mods install ok.
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

PrizeLive.com

Quote from: vbgamer45 on April 21, 2008, 08:17:29 PM
You may have to install the mod manually then it sees like it is getting stuck. Check your forum's error log and check if other mods install ok.

Where is the error log?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

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

PrizeLive.com

Quote from: vbgamer45 on April 21, 2008, 08:21:43 PM
Admin -> Forum Error Log

I see a lot of:

[<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied

Does that have anything to do with this? How can I fix that?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vbgamer45

That's file permissions. Issue I would post in the General SMF Support you will need to be able to change the file permissions for the files or contact your host on how to do.
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

PrizeLive.com

Quote from: vbgamer45 on April 21, 2008, 08:28:44 PM
That's file permissions. Issue I would post in the General SMF Support you will need to be able to change the file permissions for the files or contact your host on how to do.

All files have 777 permissions.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vbgamer45

In  that case I would contact your host for more information and help.
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: