diff --git a/files/assets/images/PCM/banner.webp b/files/assets/images/PCM/banners/1.webp similarity index 100% rename from files/assets/images/PCM/banner.webp rename to files/assets/images/PCM/banners/1.webp diff --git a/files/assets/images/PCM/banners/croag-pride.webp b/files/assets/images/PCM/banners/2.webp similarity index 100% rename from files/assets/images/PCM/banners/croag-pride.webp rename to files/assets/images/PCM/banners/2.webp diff --git a/files/assets/images/PCM/banners/great-value.webp b/files/assets/images/PCM/banners/3.webp similarity index 100% rename from files/assets/images/PCM/banners/great-value.webp rename to files/assets/images/PCM/banners/3.webp diff --git a/files/assets/images/PCM/banners/great-value-v2.webp b/files/assets/images/PCM/banners/4.webp similarity index 100% rename from files/assets/images/PCM/banners/great-value-v2.webp rename to files/assets/images/PCM/banners/4.webp diff --git a/files/assets/images/PCM/banners/summer-2022.webp b/files/assets/images/PCM/banners/5.webp similarity index 100% rename from files/assets/images/PCM/banners/summer-2022.webp rename to files/assets/images/PCM/banners/5.webp diff --git a/files/assets/images/PCM/banners/yun-network.webp b/files/assets/images/PCM/banners/6.webp similarity index 100% rename from files/assets/images/PCM/banners/yun-network.webp rename to files/assets/images/PCM/banners/6.webp diff --git a/files/assets/images/PCM/banners/banner.webp b/files/assets/images/PCM/banners/banner.webp deleted file mode 100644 index c58f43216..000000000 Binary files a/files/assets/images/PCM/banners/banner.webp and /dev/null differ diff --git a/files/assets/images/PCM/banners/halloween.webp b/files/assets/images/PCM/banners/halloween.webp deleted file mode 100644 index 08bddc13a..000000000 Binary files a/files/assets/images/PCM/banners/halloween.webp and /dev/null differ diff --git a/files/helpers/const.py b/files/helpers/const.py index 20aa0c2fd..272772afc 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -292,6 +292,8 @@ elif SITE == 'pcmemes.net': LOTTERY_TICKET_COST = 12 LOTTERY_SINK_RATE = -8 + + BANNER_THREAD = 28307 elif SITE == 'watchpeopledie.co': WELCOME_MSG = """Hi, you! Welcome to WatchPeopleDie.co, this really cool site where you can go to watch people die. I'm @CLiTPEELER! If you have any questions about how things work here, or suggestions on how to make them work better than they already do, definitely slide on into my DMs (no fat chicks).\nThere's an enormously robust suite of fun features we have here and we're always looking for more to add. Way, way too many to go over in an automated welcome message. And you're probably here for the videos of people dying more than any sort of weird, paradoxical digital community aspect anyway, so I won't bore you with a tedious overview of them. Just head on over to [your settings page](https://watchpeopledie.co/settings/profile) and have a look at some of the basic profile stuff, at least. You can change your profile picture, username, flair, colors, banners, bio, profile anthem (autoplaying song on your page, like it's MySpace or some shit, hell yeah), CSS, all sorts of things.\nOr you can just go back to the main feed and carry on with watching people die. That's what the site is for, after all. Have fun!\nThough, while I have your attention (realistically I probably don't; this is quite a lot of text) - if you'd like to fund WPD's continued existence in the face of commercial and governmental censors, it would be really cool if you'd stop by our [Kofi page](https://ko-fi.com/wpdco/tiers) and consider contributing some paltry sum each month to help us pay for hosting. *But only if you want*. **We do not serve ads. We will never serve ads. We do not sell data. We will never sell data. We do not paywall ANY usage of the site. We will never paywall ANY usage of the site.** Any and all contributions are strictly voluntary and should only be because you'd like to help the site continue to grow and thrive.\nAnyway, in closing, WPD is entirely open source. We don't really need new full-time coders or anything, but if you'd like to take a look at our repo - or even submit a PR to change, fix, or add some things - go right ahead! We are on [GitHub](https://github.com/Aevann1/rDrama).\nWell, that's all. Thanks again for signing up. It's an automated message and all, but I really do mean that. Thank you, specifically. I love you. Romantically. Deeply. Passionately.\nHave fun!""" diff --git a/files/templates/default.html b/files/templates/default.html index f0c675536..6a87bbb3a 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -278,7 +278,8 @@ site banner {% else %} {% if SITE_NAME == 'PCM' %} - {% set banner = 'banners/halloween.webp' | asset_siteimg %} + {% set path = "assets/images/" + SITE_NAME + "/banners" %} + {% set banner = "/" + path + "/" + listdir('files/' + path)|last + '?v=1' %} {% else %} {% set banner = 'banner.webp' | asset_siteimg %} {% endif %}