Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
howto:door:slyvote [2019/04/02 14:07] – [Installation] nightfox | howto:door:slyvote [2023/10/08 14:19] – Removed the link to the Digital Distortion download page, since SlyVote is now only in the Synchronet Git repo Nightfox |
---|
====== SlyVote ====== | ====== SlyVote ====== |
[[http://digdist.synchro.net/DigDistBBSStuff/DigDistBBSStuff.html|SlyVote]] is a voting booth door for Synchronet (written in JavaScript) for viewing and voting on polls, as well as creating polls. SlyVote makes use of the voting feature added in Synchronet 3.17 and also supports displaying of avatars for the people who post polls (avatars were also added in Synchronet 3.17). | [[https://gitlab.synchro.net/main/sbbs/-/tree/master/xtrn/slyvote|SlyVote]] is a voting booth door for Synchronet (written in JavaScript) for viewing and voting on polls, as well as creating polls. SlyVote makes use of the voting feature added in Synchronet 3.17 and also supports displaying of avatars for the people who post polls (avatars were also added in Synchronet 3.17). |
| |
===== Getting SlyVote ===== | ===== Getting SlyVote ===== |
SlyVote can be acquired in one of the following ways:\\ | SlyVote is in the ''[[dev:Git]]'' and can be downloaded from the SlyVote directory within ''[[dir:xtrn]]'' ([[https://gitlab.synchro.net/main/sbbs/-/tree/master/xtrn/slyvote?ref_type=heads|Git repository link]]) |
* Browse to the ''[[dev:CVS]]'' and download SlyVote from the SlyVote directory within ''[[dir:xtrn]]'' ([[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/xtrn/slyvote|CVS link]] or [[http://cvs-mirror.synchro.net/cgi-bin/viewcvs.cgi/xtrn/slyvote|mirror CVS link]]) | |
* Download SlyVote from the [[http://digdist.synchro.net/DigDistBBSStuff/DigDistBBSStuff.html|Digital Distortion BBS Doors and Tools page]] | |
| |
===== Minimum Synchronet version and .js scripts ===== | ===== Minimum Synchronet version and .js scripts ===== |
| |
Synchronet 3.17 can be downloaded from [[http://vert.synchro.net|Vertrauen]] (the home BBS of Synchronet). The fresh install of Synchronet 3.17 is [[ftp://ftp.synchro.net/sbbs317b.zip]], and the upgrade package is [[ftp://ftp.synchro.net/sbup317b.zip]]. After installing Synchronet 3.17, if you want to use the latest daily-built (beta) Synchronet binaries, you can download [[ftp://vert.synchro.net/Synchronet/sbbs_dev.zip|sbbs_dev.zip]] for Windows or [[ftp://vert.synchro.net/Synchronet/sbbs_dev.tgz|sbbs_dev.tgz]] for Linux. If you want to build it yourself on Linux, see ''[[install:nix]]'' for instructions. See ''[[install:dev]]'' for more information on updating to the latest development build of Synchronet. | Synchronet 3.17 can be downloaded from [[http://vert.synchro.net|Vertrauen]] (the home BBS of Synchronet). The fresh install of Synchronet 3.17 is [[ftp://ftp.synchro.net/sbbs317b.zip]], and the upgrade package is [[ftp://ftp.synchro.net/sbup317b.zip]]. After installing Synchronet 3.17, if you want to use the latest daily-built (beta) Synchronet binaries, you can download [[ftp://vert.synchro.net/Synchronet/sbbs_dev.zip|sbbs_dev.zip]] for Windows or [[ftp://vert.synchro.net/Synchronet/sbbs_dev.tgz|sbbs_dev.tgz]] for Linux. If you want to build it yourself on Linux, see ''[[install:nix]]'' for instructions. See ''[[install:dev]]'' for more information on updating to the latest development build of Synchronet. |
| |
| SlyVote should run faster if you use a Synchronet build from April 6, 2019 or newer. That beta build added a new JavaScript function (MsgBase.get_index()) which SlyVote makes use of if available when checking messages in the sub-boards to see if they are poll votes. |
| |
SlyVote is comprised of the following files: | SlyVote is comprised of the following files: |
Same directory as slyvote.js | Same directory as slyvote.js |
| |
| Also, SlyVote also depends on dd_lightbar_menu.js, which should exist in your sbbs/''[[dir:exec]]''/load directory. |
===== Configuration with Synchronet ===== | ===== Configuration with Synchronet ===== |
Run SCFG (Synchronet configuration) and add the following configuration to [[util:SCFG]]->External Programs->Online Programs (Doors) in the section of your choice. Note that this assumes SlyVote is installed in sbbs/xtrn/slyvote. | Run SCFG (Synchronet configuration) and add the following configuration to [[util:SCFG]]->External Programs->Online Programs (Doors) in the section of your choice. Note that this assumes SlyVote is installed in sbbs/xtrn/slyvote. |