1 (edited by hklown 2011-12-26 20:57)

Topic: [Release] Logo in Header

header_image

This extension allows you to have a logo image at the top of your forum. There are 3 options for the position of the image: Above the title, below the title (and description), and behind the title (background of the title bar). You can also set a link for the user to be taken to when they click on the image.

All options are configurable at the settings page of the ACP. All feedback is appreciated.

Screenshots:

http://i.imgur.com/PD6qo.png
Logo image above forum Name

http://i.imgur.com/BHns4.png
Logo image behind forum name

http://i.imgur.com/vueR9.png
Options for configuring logo image in Admin Control Panel

Download v.1.1.3: http://www.mediafire.com/download.php?8vbgr6m3l93v2k2

Re: [Release] Logo in Header

YES, finally :-)

Will test this out ASAP.

Re: [Release] Logo in Header

It works perfect, thanks a million.

Re: [Release] Logo in Header

How do I make the logo "clickable" so that it takes members/visitors back to the mainpage?

Re: [Release] Logo in Header

It's not possible in the current version, but I can add it easily. I'll do that later today.

6 (edited by hklown 2011-06-26 18:29)

Re: [Release] Logo in Header

Okay, that should do it for you.

Download v.1.1.0: http://www.mediafire.com/?zmasb54l8dbih7i

Re: [Release] Logo in Header

thank u  great extension

Re: [Release] Logo in Header

please add a demo or screens

Re: [Release] Logo in Header

fantasma wrote:

please add a demo or screens

Okay, added screens.

Re: [Release] Logo in Header

thank you!

Re: [Release] Logo in Header

Awesome! Just what I need!

12

Re: [Release] Logo in Header

^ Above me is a bot?

Anyway, I like this mod, and I will implement it to my board when I finally get it sorted >_>

Re: [Release] Logo in Header

great, i was looking for this one

14

Re: [Release] Logo in Header

You tested in 1.4 this exp?

15

Re: [Release] Logo in Header

Yes, updated to use forum_loader for css.

16

Re: [Release] Logo in Header

Hey
in 1.1.2
getting

Parse error: syntax error, unexpected T_SL in /home/.../header.php(124) : eval()'d code on line 139

then I changed "EOT" to EOT; since then it works

bug?

        <!--Include style info-->
        <hook id="hd_head">
            <![CDATA[
                $forum_loader->add_css( $ext_info['url'].'/css/'.$ext_info['id'].'.css', array( 'type'=>'url' ) );
                
                if ($forum_config['o_header_image_postition'] == 'BEHIND_TITLE')
                {
                    $header_image_url = $forum_config['o_header_image_url'];
                    $header_css = <<<EOT
    #brd-head
    {
        background-image: url('$header_image_url');
    }
EOT;
                    $forum_loader->add_css( $header_css, array( 'type'=>'inline' ) );
                }
            ]]>
        </hook>

17

Re: [Release] Logo in Header

Will check it out!

18

Re: [Release] Logo in Header

I can't seem to reproduce the error- what settings are you using + what version of php are you running?

19

Re: [Release] Logo in Header

FreeBSD
PHP: 5.2.17 -
Accelerator: eAccelerator
MySQL Improved 5.1.58

happens because of 1.1.2  and that "EOT" ....

default settings, i.e. as soon as it's installed... happened on 2 forums..

20

Re: [Release] Logo in Header

Weird, error doesn't show in PHP 5.3.8. But it was my mistake, I had confused heredoc and nowdoc syntax.

Updated to 1.1.3 in OP- can I move this to "supported extensions" forum or is that only for official extensions?

21

Re: [Release] Logo in Header

I think supported is good...  not sure what the distinction is tbh...
thanks!

22

Re: [Release] Logo in Header

I like it, is sure to be a lot of help
Thank you!

Re: [Release] Logo in Header

How i can move the image on right of the header ? Like a banner wink

This extension is nice !

Re: [Release] Logo in Header

I really like the idea of this banner. But I have a problem. I am so new to this type of programming I don't know what file to put it in, and where to put it. I'm a 62 year old disabled vet and would love to get this working. I would appreciate some help.

25

Re: [Release] Logo in Header

Thank youuu!