src/sbbs3 getmsg.cpp 1.61 1.62 js_msgbase.c 1.203 1.204 readmsgs.cpp 1.89 1.90 sbbs.h 1.441 1.442 sbbsdefs.h 1.203 1.204
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv24679
Modified Files:
getmsg.cpp js_msgbase.c readmsgs.cpp sbbs.h sbbsdefs.h
Log Message:
Change MsgBase.get_user_votes() to MsgBase.how_user_voted().
New MsgBase header propeties:
- total_votes (total number of votes this msg or poll has received)
- tally[], an array of 16 numbers indicating the total votes for each poll answer
in the case of a normal message, tally[0] is the same as upvotes and tally[1]
is the same as downvotes.
This should complete what echicken needs to display polls and voting results
in his web UI.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net