Resource icon

Vote Tally 1.2.4

No permission to buy ($25.00)
Compatible XF 1.x versions
1.4, 1.5
Additional requirements
php +5.6
License
https://atelieraphelion.com/products/license-agreement
Updates duration
6 Months ($15.00 Yearly Renewal + HST)
Visible branding
No
Allows integrated vote counting via extracting semi-structured text from posts in a thread.

Recommend Threadmarks (free or paid).

Note; this has been a private add-on for nearly a year before public release.

  • First past the post tallying
  • Tallying by username, task, and plan are supported
  • Breaking votes by block, by line, and by plan are supported
  • Vote management supported
Tallying a thread:

You can call the vote tally from the thread tools dropdown, or from your own posts (or any other post you can edit). Either way, you'll get this overlay:
3.png


Each field has a short explanation when you hover over it with your mouse.

The start and end points are where you want the tally to work on, by the post position in thread:
4.png


If the start point is left blank, the addon will attempt to tally from the last threadmark in the thread. If the end point is left blank, the addon will tally to the end of the thread. You may also select threadmarks to tally from using the dropdown menu.

Vote divison can be used to split a vote:
table1.png


The last option is User-vote updating. This determines where votes by username are updated to the latest post by a user, or by the vote at the time of posting. Namely:
table2.png


With your options selected, simply hit tally and wait for a few seconds for the overlay to update!
5.png


Vote management:

You can also manage votes from the addon! In the bottom left of the overlay will be the button to activate the management menu:
management3.png


From here, you can click on any vote to "pick" it up:
management_3.png


Clicking another vote will then register that vote as a 'sub' vote of the other one. Once you're happy with the arrangement, you can apply the mappings to the tally with the button at the bottom right, and you'll return to the original view.
management4.png


You can view the management and initial conditions applied to any given vote by clicking the white i at the top right of an inserted vote.
management_6.png

management_7.png



Inserting a tally:

Inserting a tally to a post makes it so that the tally is visible to everyone viewing said post, like so:
6.png


If called from the thread tools drop down, a new post will be created under your name with the tally in it. You can also delete tallies from a post.

Important notes:

  • The addon ignores formatting and capitalization for purposes of tallying. "[X] Vote" and "[x] vote" are considered the same.
  • Plan votes are fully supported. These can be updated strictly by the initial plan's author, whether by editing the original plan or by creating a new post with a plan of the same name.
  • [Task] votes are fully supported. This will naturally sort out the winner from each category to the top of the list.
  • As a voter, you can guarantee that your vote will be for a user at the time of your posting by prefacing the username with a caret, for example, "[x] ^Username".
  • If a vote marker is struck through, the struckthrough line is ignored.
  • OP posts are not automatically excluded from the tally
  • When the tally is called, it displays the last tally executed on the thread
  • Only one tally may execute per thread, for all users. That is to say, if someone issues a tally after you, they will see the same result you do. This is for performance purposes.
  • A tally takes at minimum five seconds to be returned, and varies by the number of posts that need to be processed.

Planned features:

  • Anonymous votes
Ranked votes are not currently planned, however, we are open to feedback for more features.
Related resources
Author
Xon
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Xon

Latest updates

  1. 1.2.4 - Bugfix update

    Fix "manage votes" option not working as expected with XF >1.5.17
  2. 1.2.3 - Feature update

    Implement compression of votes blob in database Reduce number of queries to load/save vote tally...
  3. 1.1.0 - Feature update

    Skip checking posts for votes by users with blacklisted user groups
Top