ParlorPink Iβm working on this also https://github.com/justoverclockl/header-slideshow
Custom Header
i wonder to implement a different background image for guest
- Edited
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';
}
luceos yes exactly what i have in mind
I would love to see an option to customize the background image using a link instead of having to interact with the assets folder
- Edited
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
Justoverclock you could do something like
https://github.com/the-turk/flarum-mathren/blob/v1.0.0/src/Providers/AssetProvider.php
Kylo interesting, this basically add
@config-copy-tex: {$copyTeX};"
to css? where {$copyTeX}
is the value from the backend?
Justoverclock yeah that's right
Kylo this can be really useful for me! many thanks
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
katos maybe I need to extend page instead of index page
Justoverclock Ahh! Possibly
0.1.5
- settings that allow admin to set a custom background image
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.
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 =)
sergio this is for sure my next fix
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
BENON_ can you provide some error in your console?