Results 1 to 7 of 7

Thread: Vote Counter

  1. #1
    Member Member novice's Avatar
    Join Date
    Sep 2016
    Location
    Oslo, Norway
    Posts
    691

    Default Vote Counter

    Here is some brief info about the chrome browser plugin referred to as the Vote Counter on these forums.

    The plugin can count votes, compile tallies, and do ISOs.

    To install it, you need to install the Tampermonkey add-in for chrome. Then click this link to install the Vote Counter plugin.

    The plugin installs a small menu in the thread header where you can enable the Vote Counter (actual name: Mafia Helper) functionality and do ISOs. There is also a menu in every post's header which among other things lets you see the current vote tally and post that tally to the thread. (Don't worry, the button takes you to the preview post screen first.)

    The Vote Counter counts votes by identifying bolded statements starting with Vote: or Unvote.
    So e.g. Vote: novice is counted as vote for me, and Unvote is technically counted as a vote for the unfortunate player named Unvote. Votes are counted in the order they're posted, you don't need to Unvote before changing your vote.

    To get correct tallies you need to tell the plugin where in the thread a new phase starts, there's a "Start new day" link for this in the post header menu. You also have to allow the plugin to actually count all the votes in the phase, you do that by having the plugin enabled and then visiting every page of the thread. Once the plugin has the information needed to compile tallies, a "Post tally" becomes available.

    It is also possible to get the plugin to work, somewhat clunkily, in Safari on PCs, iPhones and iPads:
    Spoiler Alert, click show to read: 
    In Safari (also on iPhone and iPad) you can get it to run as a bookmarklet:
    1: Create a bookmark to any page, name it Mafia Helper.
    2: Edit the bookmark, delete the bookmark url, and instead paste this code:
    Code:
    javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://dl.dropboxusercontent.com/u/15215428/mafiahelper/Realms%20Beyond%20Mafia%20Helper.user.js';})();
    This modifies your bookmark so that it runs a script that loads the Mafia Helper script when you click the bookmark.
    3: To use Mafia Helper, navigate to a mafia thread, then select your Mafia Helper bookmark. The Mafia Helper script will load and the Mafia Helper functionality will appear.
    4: When you switch pages the page reloads and you unfortunately have to reselect the Mafia Helper bookmark to reload the script. It's a bit clunky, but you get used to it. Also, you can modify your forum profile settings to display 200 posts per page to mitigate the problem.

    The plugin was originally developed for the Realms Beyond forums and there is more information about the plugin over there.

  2. #2
    syö minun šortsini Member Space Invaders Champion, Asteroids Champion, Metal Slug Champion, Bubble Trouble Champion, Curveball Champion, Moon Patrol Champion, Duck Tracker Champion, Twelve Swap Champion, Zelda Champion, Minigolf Champion
    Join Date
    Apr 2011
    Location
    Battening down hatches
    Posts
    3,011

    Default Re: Vote Counter

    Is there any way to use this thing on other browsers?
    good lord| if you're telling the truth you're setting new records for scumminess as a townie -Renata on IM, 16/09/2011
    Feles deliberatissimae subiugare humanitiati sunt, et res solae quae eas desinunt canes sunt.
    I see I've been sigged yet again -Askthepizzaguy, 02/08/2012
    Hindsight is 20/20 Askthepizzaguy, 10/07/2013

  3. #3
    Member Member novice's Avatar
    Join Date
    Sep 2016
    Location
    Oslo, Norway
    Posts
    691

    Default Re: Vote Counter

    There's a GreaseMonkey addin for Firefox which should let you install the plugin in Firefox, but I haven't tested that in ages.

  4. #4
    Member Member Dp101's Avatar
    Join Date
    Sep 2016
    Posts
    1,038

    Default Re: Vote Counter

    The program is returning incorrect results in the ongoing game, any reason for this to be happening? I made sure to load every page individually, but the tally is incorrect.

  5. #5
    Member Member novice's Avatar
    Join Date
    Sep 2016
    Location
    Oslo, Norway
    Posts
    691

    Default Re: Vote Counter

    It doesn't understand
    unvote, vote: x
    nor
    unvote; vote: x

    Just simply post vote: x. You don't need to unvote.
    If you absolutely want to unvote first, do it in a separate bolded segment, e.g. Unvote and Vote: x

    In general, if a vote is recognized by the script, the post header will indicate that the post contains a vote.

  6. #6
    Senior Member Senior Member Othello Champion Montmorency's Avatar
    Join Date
    Sep 2010
    Posts
    8,577

    Default Re: Vote Counter

    That's all well and good, but the unvote is a crucial tactical, rhetorical, and symbolic element of the game and it must not be abandoned.
    Vitiate Man.

  7. #7
    syö minun šortsini Member Space Invaders Champion, Asteroids Champion, Metal Slug Champion, Bubble Trouble Champion, Curveball Champion, Moon Patrol Champion, Duck Tracker Champion, Twelve Swap Champion, Zelda Champion, Minigolf Champion
    Join Date
    Apr 2011
    Location
    Battening down hatches
    Posts
    3,011

    Default Re: Vote Counter

    Indeed. We simply have to vote for buns.
    good lord| if you're telling the truth you're setting new records for scumminess as a townie -Renata on IM, 16/09/2011
    Feles deliberatissimae subiugare humanitiati sunt, et res solae quae eas desinunt canes sunt.
    I see I've been sigged yet again -Askthepizzaguy, 02/08/2012
    Hindsight is 20/20 Askthepizzaguy, 10/07/2013

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO