Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
howto:door:slyvote [2018/01/30 15:06] – [Installation] Added details on updating to a Synchronet development build nightfox | howto:door:slyvote [2018/12/29 15:36] – [Getting SlyVote] Updated download links with all-lowercase slyvote nightfox |
---|
====== SlyVote ====== | ====== SlyVote ====== |
[[http://digdist.synchro.net/DigDistBBSStuff/DigDistBBSStuff.html|SlyVote]] version 0.34 beta (released on 2018-01-28) 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). | [[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). |
| |
===== Getting SlyVote ===== | ===== Getting SlyVote ===== |
SlyVote can be acquired in one of the following ways:\\ | SlyVote can be acquired in one of the following ways:\\ |
* 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]]) | * 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]] | * Download SlyVote from the [[http://digdist.synchro.net/DigDistBBSStuff/DigDistBBSStuff.html|Digital Distortion BBS Doors and Tools page]] |
| |
* frame.js | * frame.js |
* scrollbar.js | * scrollbar.js |
* DDLightbarMenu.js | * dd_lightbar_menu.js (''[[custom:javascript:lib:ddlightbarmenu.js]]'') |
* smbdefs.js | * smbdefs.js |
* avatar_lib.js | * avatar_lib.js |
In addition, SlyVote has an option to post a poll, which executes postpoll.js (in the ''[[dir:exec]]'' directory). | In addition, SlyVote has an option to post a poll, which executes postpoll.js (in the ''[[dir:exec]]'' directory). |
| |
SlyVote requires an ANSI terminal, since SlyVote makes use of lightbar menus which do cursor movement, as well as a scrolling frame to display poll messages. | SlyVote requires an ANSI terminal, since SlyVote makes use of lightbar menus which do cursor movement, as well as a scrolling frame to display poll results. |
===== Installation ===== | ===== Installation ===== |
First, ensure that you have an up-to-date Synchronet system running Synchronet 3.17 or higher, and ensure that your Synchronet JavaScript files in sbbs/''[[dir:exec]]''/load are up to date (it wouldn't hurt to also ensure your .js files in your ''[[dir:exec]]'' directory are also up to date). The easiest way to update your JavaScript files would probably be to download [[ftp://vert.synchro.net/Synchronet/sbbs_run.zip|sbbs_run.zip from Vertrauen]], extract that somewhere, and then copy the .js files from ''[[dir:exec]]'' and ''[[dir:exec]]''/load to your sbbs/exec and sbbs/exec/load directories. | First, ensure that you have an up-to-date Synchronet system running Synchronet 3.17 or higher, and ensure that your Synchronet JavaScript files in sbbs/''[[dir:exec]]''/load are up to date (it wouldn't hurt to also ensure your .js files in your ''[[dir:exec]]'' directory are also up to date). The easiest way to update your JavaScript files would probably be to download [[ftp://vert.synchro.net/Synchronet/sbbs_run.zip|sbbs_run.zip from Vertrauen]], extract that somewhere, and then copy the .js files from ''[[dir:exec]]'' and ''[[dir:exec]]''/load to your sbbs/exec and sbbs/exec/load directories. |
SlyVote uses the following lines from Synchronet's text.dat file (located in the sbbs/ctrl directory): | SlyVote uses the following lines from Synchronet's text.dat file (located in the sbbs/ctrl directory): |
* 120 (CantPostOnSub) | * 120 (CantPostOnSub) |
* 501 (SelectItemHdr) | |
* 503 (SelectItemWhich) | * 503 (SelectItemWhich) |
* 759 (CantReadSub) | * 759 (CantReadSub) |
* 781 (R_Voting) | * 781 (R_Voting) |
* 787 (PollVoteNotice) | * 787 (PollVoteNotice) |
| * 791 (BallotHdr) |
| |
===== See Also ===== | ===== See Also ===== |