Source: drama source code @ https://fsdfsd.net/
If a janny makes a post it gets the equivalent of progressive stack automatically
if SITE_NAME == 'rDrama':
PERMS = { # Minimum admin_level to perform action.
#[...]
#[Sneed]
#[...]
'IS_PERMA_PROGSTACKED': 2,
def vote_post_comment(target_id, new, v, cls, vote_cls):
#[...]
#[Sneed]
#[...]
# this is hacky but it works, we should probably do better later
def get_vote_count(dir, real_instead_of_dir):
#[...]
#[Sneed]
#[...]
if SITE_NAME == 'rDrama':
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
#[...]
#[Sneed]
#[...]
mul = 1
if target.is_approved == PROGSTACK_ID:
mul = PROGSTACK_MUL
#[...]
#[Sneed]
#[...]
elif target.author.progressivestack or (IS_HOMOWEEN() and target.author.zombie < 0) or target.author.admin_level >= PERMS['IS_PERMA_PROGSTACKED']:
mul = 2
#[...]
#[Sneed]
#[...]
target.realupvotes = floor(target.realupvotes * mul)
g.db.add(target)
Where is boo when we need him?
@boo @NotNotNotNotNotNotBoo @NotNotNotNotNotBoo @NotNotNotNotBoo @NotNotNotBoo @NotBoo @YoureABigMarsey @Roobix4 @A__J__A__B__FOREVER @Jamp3 @A_J_A_B @ZoomZoomGoBoomBoom @AllJanniesAreRedditors @ThrowTheJannyDownTheWell @FriendlyLeftWingUser420 @boooosy @NoJannyWillEverBeLoved @StompOnAJanny @MajinBuusy @dwama @Hoopla @OhComely @Boomdeyada @SchlomoWeinbergenstein @SerUlrichVonLichtenstein @ree @cornholio @sneedolatry @KILL_ALL_JANNIES_2 @Cashenstein @schmecklebergstein @xx420_TrainDerailer_69xx @JanniesTongueMyAnus @dweme @A__JA__B @I_Execute_Redditors @JanniesRLessThanPondScum @killjanniesgetmoney @All_Jans_Are_Trans @KILL_ALL_JANNIES_3 @zaboomafoo @NotNotNotNotNotNotBoo @NotNotNotNotNotBoo @NotNotNotNotBoo @NotNotNotBoo @NotBoo @YoureABigMarsey @Roobix4 @A__J__A__B__FOREVER @Jamp3 @A_J_A_B @FuckoBoingo @ZoomZoomGoBoomBoom @AllJanniesAreRedditors @Niggeriffic @ThrowTheJannyDownTheWell @FriendlyLeftWingUser420 @boooosy @EPIC_WHOLESOME_TRANNY @NoJannyWillEverBeLoved @StompOnAJanny @MajinBuusy @screamkwinn @grizzly @dwama @Hoopla @OhComely @AJAB_BUT_ESP_AEVANN @Boomdeyada @SchlomoWeinbergenstein @SerUlrichVonLichtenstein @ree @cornholio @sneedolatry @KILL_ALL_JANNIES_2 @Cashenstein @schmecklebergstein @xx420_TrainDerailer_69xx @JanniesTongueMyAnus @dweme @A__JA__B @I_Execute_Redditors @JanniesRLessThanPondScum @alljanniesrtrannies2 @killjanniesgetmoney @All_Jans_Are_Trans @KILL_ALL_JANNIES_3 @boooooosy @Jamp @JannicideNow @KILL_ALL_JANNIES @BingBongBing @ChapoidDestroyer @I_DISLIKE_TROIDS @FuckJanoids4Ever @Screed_And_Knead @platyplatyplaty @NotNotBoo @snigger @Roobix2 @niggerman @AskAboutIt @Diabolicus @Lv100_Skeleton @FUCK_JANNIES_2 @LasJanitoriasDeFaggita @JebediahKerman @Jannophobe Discuss
Jump in the discussion.
No email address required.
Snapshots:
https://fsdfsd.net/:
ghostarchive.org
archive.org
archive.ph (click to archive)
https://fsdfsd.net/rDrama/rDrama/src/commit/a6903f67fe0094037f2c6083b33c3eba3f8aaee4/files/helpers/config/const.py:
ghostarchive.org
archive.org
archive.ph (click to archive)
https://fsdfsd.net/rDrama/rDrama/src/commit/768444124bf31c42e5b904d6ff9e92a6998e2f98/files/routes/votes.py:
ghostarchive.org
archive.org
archive.ph (click to archive)
Jump in the discussion.
No email address required.
More options
Context