- Joined
- Nov 30, 2023
- Posts
- 7,666
- Rep Power
- 5,776
best banner ever
drew the rest of the arm/finger and tip of hair in order to horizontally expand image
transparent
same aspect ratio as current banner
working on it nowDisplay A Random Banner
Wow look how much shorter and simpler that code got. It was about 6 lines last night and now it's only two. Good work!xenforo.com
can't test this bcuz cannot access ftp
@$lave chop chop
wat about stiff's ideaisnt working :/
ill try it, im also trying 2 get the configuration for place 2 work right.wat about stiff's idea
page_container
and then selecting them however you want (randomly here).#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)
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 )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 inpage_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