User Controls

New anti-thank feature

  1. #1
    A vote down if you will, what is this hotel gayboy?? where we only have up votes and not down votes?
    The following users say it would be alright if the author of this post didn't die in a fire!
  2. #2
    Fonaplats victim of incest [daylong jump-start that nome]
    If we can't get this then you don't deserve my dick.
  3. #3
    Spy Yung Blood
    that existed years ago and was removed in a software update, it was called the cuck button and it was a big black penis.

    The code is probably lost to history

    it was added between this version and the current ISS version. History shall deem the cuck penis button version as the official name for that era of NIS 2015-16

    https://www.idahostatesman.com/news/politics-government/state-politics/article99395062.html

    The following users say it would be alright if the author of this post didn't die in a fire!
  4. #4
    Spy Yung Blood
    If you code it i'll submit the pull

    https://github.com/Lanny/ISS

    django python , use AI , search repo for thanks and rejigger that, ez
  5. #5
    cigreting Dark Matter
    Originally posted by Spy If you code it i'll submit the pull

    https://github.com/Lanny/ISS

    django python , use AI , search repo for thanks and rejigger that, ez

    wats pull
  6. #6
    Haxxor Space Nigga
    Originally posted by Spy If you code it i'll submit the pull

    https://github.com/Lanny/ISS

    django python , use AI , search repo for thanks and rejigger that, ez

    Never be afraid to try. The only angle through which you can approach success is by the “try-angle”. You may fail if you try, but shame unto you if you don’t try at all. If you fail…rise up and try again and again!
  7. #7
    A Tuskegee Airman [my neurobiological trilled kampala]
    Originally posted by Haxxor Never be afraid to try. The only angle through which you can approach success is by the “try-angle”. You may fail if you try, but shame unto you if you don’t try at all. If you fail…rise up and try again and again!

    you're try-hard'ing pretty hard there, nigger.

    <form action="/post//thank-post" method="POST" class="thank-action-form">
    <input type="hidden" name="csrfmiddlewaretoken" value="">
    <input type="submit" value="Bleat" class="sheep-action" />
    </form>

    <form action="/post//thank-post" method="POST" class="thank-action-form">
    <input type="hidden" name="csrfmiddlewaretoken" value="">
    <input type="submit" value="Thank" class="thank-action" />
    </form>


    (function() {
    function wrap($) {
    var module = {
    handleThankIntention: function(buttonElement) {
    var button = $(buttonElement),
    form = button.closest('form'),
    post = form.closest('.post'),
    thanksBlock = post.find('.thanker-block'),
    controlsBlock = post.find('.post-controls'),
    csrfToken = form.find('[name=csrfmiddlewaretoken]').attr('value');

    if (button.is('[disabled]')) {
    e.preventDefault();
    return;
    }

    button.prop('disabled', true);

    return $.ajax(form.attr('action'), {
    method: form.attr('method'),
    data: { 'csrfmiddlewaretoken': csrfToken },
    dataType: 'json'
    })
    .done(function(data) {
    if (data.status !== 'SUCCESS') {
    alert('Failed to submit request');
    return;
    }

    if (thanksBlock.length < 1) {
    thanksBlock = $('<div>').appendTo(post);
    }

    thanksBlock.replaceWith($(data.thanksBlock));
    controlsBlock.replaceWith($(data.postControls));
    })
    .fail(function(data) {
    console.error(data);
    alert('Failed to submit request');
    })
    .always(function() {
    button.prop('disabled', false);
    });
    }
    };

    $(document).on('click', '.thank-action', function(e) {
    module.handleThankIntention(this);
    });

    $(document).on('click', '.sheep-action', function(e) {
    // Handle the "Bleat" button click event here
    // Add your logic for the "Bleat" action if needed
    e.preventDefault();
    console.log("Bleat button clicked!");
    });

    return module;
    }

    define(['jquery'], wrap);
    })();


    pretty sure this doesn't work but if it does it should add another button that bleats a post, could be changed to anything, there is another file in ISS/ISS/static-src/src/thanks thanks.js and thread.js DONT QUOTE ME ON THAT THOUGH
  8. #8
    frala Avant garde shartist
    No thank = anti-thank
  9. #9
    Originally posted by frala No thank = anti-thank

    Well no it doesn't...that doesn't show someone actively said "this is crap"...it doesn't even indicate the person read it...
  10. #10
    frala Avant garde shartist
    Originally posted by Jiggaboo_Johnson it doesn't even indicate the person read it…
  11. #11
    Exactly..try to think!
  12. #12
    frala Avant garde shartist
    No thanks
    The following users say it would be alright if the author of this post didn't die in a fire!
  13. #13
    frala Avant garde shartist
    *snorts*
  14. #14
    Meikai Heck This Schlong
    i made a design for ur special button so i guess this is me submitting a pool
  15. #15
    your post so weak you need another button to amplify your message huh.
  16. #16
    Donald Trump Black Hole
    As a soy-MOON PERSON the concept of dislikes or down-arrows or thumbs down doesn't sit well with me.

    We should thank all posts by default, and the ones that we don't like we can just not thank.
  17. #17
    Anti-Thank Gay Men
  18. #18
    Originally posted by Donald Trump As a soy-MOON PERSON the concept of dislikes or down-arrows or thumbs down doesn't sit well with me.

    We should thank all posts by default, and the ones that we don't like we can just not thank.

    What a woke new world gay friendly opinion...

    "Lets only spread positivity! "

    Get the fuck out of here with that fag loving faggotry...

    What is this? youtube where down thumbs are no longer displayed?

    Fooooking gay as me old mum used to say.
  19. #19
    Donald Trump Black Hole
    It's about celebrating diversity of opinion
  20. #20
    aldra JIDF Controlled Opposition
    Originally posted by Donald Trump It's about celebrating diversity of opinion

    we can add a second cuck button with a white penis
Jump to Top