The MU forums have moved to WordPress.org

K2 Custom Header? (5 posts)

  1. suleiman
    Member
    Posted 15 years ago #

    I was about to hack away at the K2 Custom Header Option, seeing as it doesn't work out of hte box in MU, and I was wondering whether anyone else had already done it.

    If you have, could you please post a working copy of your theme here on the forums?

    EDIT: My stupidity. A simple search revealed changing the $path variable in the K2 --> Options --> Display --> Header.php file fixed the issue. Run a search and you'll find it if you were looking.

  2. drmike
    Member
    Posted 15 years ago #

    My question though is if that script runs any security on the uploaded file.

  3. quenting
    Member
    Posted 15 years ago #

    from what i remember, it does a couple of checks (extension) but doesn't run thourgh MU's handle_upload thingy. It doesn't check available space either.

  4. suleiman
    Member
    Posted 15 years ago #

    uh ohh....spagettios!

  5. nolageek
    Member
    Posted 15 years ago #

    Uhg! I dont see where to make this change... anywhere. What file am I supposed to be editing? Where to I put the edit?

    What does

    K2 --> Options --> Display --> Header.php
    mean? The 'K2 Options' menu in Presentation? I look in header.php but I dont see any indication of the upload directory or $path.

    Why does everyone else seem to be able to find it? :)

About this Topic

  • Started 15 years ago by suleiman
  • Latest reply from nolageek