Forum meme/banner general

SowiesoGroyp

nazo nazo
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,666
Rep Power
5,776
lain.png
 

SowiesoGroyp

nazo nazo
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,666
Rep Power
5,776
anyone who wants their banner included in the rotation (if we figure it out): repost your banner scaled/cropped to fit the dimensions of 580x200 or 1600x550 (or anything roughly with the same length/width ratio as those). preferable post a version that is 2x the regular dimensions, otherwise i will have to just upscale it myself and it'll be pixelated for people with massive screens.

cuz now that i just made a 2nd banner i like, i actually wanna implement rotation asap.
 

$lave

11112
Staff member
High rep power
Joined
Apr 16, 2023
Posts
5,269
Rep Power
3,043

Stiff

I 🖤 love
12222
Developer
High rep power
Joined
Apr 20, 2024
Posts
170
Rep Power
512
You shouldn't need FTP/server access to do this, you could use images right from this forum (preferably same domain, not embedded) by including them as an array in page_container and then selecting them however you want (randomly here).

PHP:
#declare somewhere
$logos= array('https://i.ibb.co/r7Qwpdj/lain2-tl.png', 'https://mindseyemag.com/forum/index.php?attachments/61034-png.1981/'); # array of strings (image URLs)
$randumb = array_rand($logos); # randomly select an index from the array

# and then, at the appropriate src attribute
$logos[$randumb] # get the logo array element at the random index (an image URL)

There are more elegant ways but if you just want it to work fast now then this should be fine
 

SowiesoGroyp

nazo nazo
11111
Staff member
Elite rep power
Joined
Nov 30, 2023
Posts
7,666
Rep Power
5,776
You shouldn't need FTP/server access to do this, you could use images right from this forum (preferably same domain, not embedded) by including them as an array in page_container and then selecting them however you want (randomly here).

PHP:
#declare somewhere
$logos= array('https://i.ibb.co/r7Qwpdj/lain2-tl.png', 'https://mindseyemag.com/forum/index.php?attachments/61034-png.1981/'); # array of strings (image URLs)
$randumb = array_rand($logos); # randomly select an index from the array

# and then, at the appropriate src attribute
$logos[$randumb] # get the logo array element at the random index (an image URL)

There are more elegant ways but if you just want it to work fast now then this should be fine
tell me your twitter (or just DM @SneedGroyper) so i can verify that ur not a secret antifa soldier and then if @$lave approves we can make you an admin (if you want..... idk why you'd say no tho :yellowbird:)

i have too much shit i've been procrastinating irl to fuck with this myself rn :halpert:
 
Top