Forum meme/banner general

mochi

12222
High rep power
Joined
Dec 2, 2023
Posts
672
Rep Power
559
pointless_00.png



k
 

Clovis

Guest
I made a couple crude concepts for a thread prefix.
 

Attachments

  • MEM Larp! Concept 2.png
    MEM Larp! Concept 2.png
    695 bytes · Views: 100
  • MEM Larp! Concept 1.png
    MEM Larp! Concept 1.png
    499 bytes · Views: 92

Clovis

Guest
I also made this.
 

Attachments

  • MEM Banner Concept - Eightfold Piercing of the Eye of the Mind.png
    MEM Banner Concept - Eightfold Piercing of the Eye of the Mind.png
    249.9 KB · Views: 91

SowiesoGroyp

yeh
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,694
Rep Power
5,830
bump. im pretty tired of the current banner

either we need the codefags to google php/xenforo tutorials and figure out a rotating banner for us, or we need someone to make a singular banner that is better than our current banner (i'll be the judge of that, thank you very much...)
 

Stiff

I 🖤 love
12222
Developer
High rep power
Joined
Apr 20, 2024
Posts
171
Rep Power
549
either we need the codefags to google php/xenforo tutorials and figure out a rotating banner for us, or we need someone to make a singular banner that is better than our current banner (i'll be the judge of that, thank you very much...)
I've never used XenForo but I'm reading that the header banner is part of the logo_block section in the site template by default.

Wherever it is, setting the image itself should be as easy as inserting a number inline at the image source, randomly:
PHP:
src="/forum/data/assets/logo/banner<? rand(0, $number_of_banners) ?>.gif"
or, exhaustively different based on the current day:
PHP:
src="/forum/data/assets/logo/banner<? ((date('z') + 1) % $number_of_banners) ?>.gif"
etc. (mind the file type if they're not all gifs).

If you want to source images automatically from a thread, or otherwise avoid updating the banner count with every addition, there's a bit more to it, but as long as you can customize the page source it should be trivial. If you already knew all that and the issue is neatly setting multiple images as logos specifically, I don't know if you can do that in XenForo but there should be many workarounds.
 

SowiesoGroyp

yeh
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,694
Rep Power
5,830
I've never used XenForo but I'm reading that the header banner is part of the logo_block section in the site template by default.

Wherever it is, setting the image itself should be as easy as inserting a number inline at the image source, randomly:
PHP:
src="/forum/data/assets/logo/banner<? rand(0, $number_of_banners) ?>.gif"
or, exhaustively different based on the current day:
PHP:
src="/forum/data/assets/logo/banner<? ((date('z') + 1) % $number_of_banners) ?>.gif"
etc. (mind the file type if they're not all gifs).

If you want to source images automatically from a thread, or otherwise avoid updating the banner count with every addition, there's a bit more to it, but as long as you can customize the page source it should be trivial. If you already knew all that and the issue is neatly setting multiple images as logos specifically, I don't know if you can do that in XenForo but there should be many workarounds.
only $lave has access to local hosting. i was hoping for a solution that would allow me to just have tons of imgbb urls on different lines, kind of like how our rotating slogan below the banner is just a bunch of lines of text that are picked randomly
 

SowiesoGroyp

yeh
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,694
Rep Power
5,830
also there is no template called "logo_block" so im not sure what you're referring to
 

SowiesoGroyp

yeh
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,694
Rep Power
5,830
k im pretty sure basically your entire post is like... actually not applicable to the structure of the forum.
i don't think the logo is pulled from somewhere that simply just says "src="
would be nice if that were the case...
 
Top