PCM: adjust perms, add christmas banner.

pull/34/head
Snakes 2022-11-30 23:38:05 -05:00
parent 4585323275
commit 1bc086ad1b
Signed by: Snakes
GPG Key ID: E745A82778055C7E
3 changed files with 9 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 KiB

View File

@ -580,6 +580,12 @@ elif SITE == 'pcmemes.net':
PIN_LIMIT = 10
FEATURES['REPOST_DETECTION'] = False
FEATURES['STREAMERS'] = True
PERMS['SITE_SETTINGS'] = 2
PERMS['SITE_SETTINGS_UNDER_ATTACK'] = 2
PERMS['SITE_CACHE_PURGE_CDN'] = 2
PERMS['SITE_CACHE_DUMP_INTERNAL'] = 2
ERROR_MSGS[500] = "Hiiiii it's <b>nigger</b>! I think this error means that there's a <b>nigger</b> error. And I think that means something took too long to load so it decided to be a <b>nigger</b>. If you keep seeing this on the same page but not other pages, then something its probably a <b>niggerfaggot</b>. It may not be called a <b>nigger</b>, but that sounds right to me. Anyway, ping me and I'll whine to someone smarter to fix it. Don't bother them. Thanks ily &lt;3"
ERROR_MARSEYS[500] = "wholesome"
POST_RATE_LIMIT = '1/second;4/minute;20/hour;100/day'

View File

@ -8,13 +8,15 @@
{% if EVENT_BANNER and not sub %}
{% include 'event/' + EVENT_BANNER %}
{% else %}
{% if sub and SITE_NAME != WPD %}
{% if sub %}
{% set src = sub.banner_url %}
{% set alt = ['/h/', sub, 'banner']|join %}
{% set class = 'site-banner-hole' %}
{% elif SITE_NAME == "rDrama" %}
{% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %}
{% set expand = false %}
{% elif SITE_NAME == 'PCM' %}{# special case: christmas #}
{% set src = "/i/PCM/banners_event/2022christmas1.webp" %}
{% endif %}
{{macros.banner(src, href, alt, expand, class)}}
{% endif %}