7 days later

Justoverclock

if (user) {
    const bg = app.forum.attribute('baseUrl') + '/assets/extensions/justoverclock-custom-header/bg-member.jpg';
} else {
    const bg = app.forum.attribute('baseUrl') + '/assets/extensions/justoverclock-custom-header/bg-guest.jpg';
}

https://github.com/justoverclockl/custom-header/blob/033ae1af9e04df0fca2d8474501b18535aebe0d3/js/src/forum/index.js#L21

    I would love to see an option to customize the background image using a link instead of having to interact with the assets folder πŸ™‚

      Ralkage me too but I do not know how to serialize css property πŸ˜…

      The only way I know is…put a variable into the bg name πŸ€”

      • Kylo replied to this.

        Kylo interesting, this basically add

        @config-copy-tex: {$copyTeX};"

        to css? where {$copyTeX} is the value from the backend?

        • Kylo replied to this.

          Is there a way to get this to show on the tags page @Justoverclock ? At the minute this only seems to show on the "all discussions" page πŸ™‚

            8 months later
            a month later

            Hi, thx for this extension !
            Is there an option ou trick to make the image looks good on mobile phone? At the moment it only zoom on a short part of the plein image.

            21 days later

            Hi. i like your extension, many thanks!.
            I note that if button1/button2 are not in use, they still appears at header.
            May be it could be optional, so user can disable these buttons and hide it totally.

            Thanks =)

              2 months later

              the bug occurred this morning when I opened the forum suddenly the index page was empty when I didn't activate the custom header index extensions back to normal, please fix it πŸ™