-
- Downloads
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.
Showing
- src/sbbs3/getmsg.cpp 1 addition, 10 deletionssrc/sbbs3/getmsg.cpp
- src/sbbs3/js_msgbase.c 18 additions, 8 deletionssrc/sbbs3/js_msgbase.c
- src/sbbs3/readmsgs.cpp 3 additions, 2 deletionssrc/sbbs3/readmsgs.cpp
- src/sbbs3/sbbs.h 0 additions, 1 deletionsrc/sbbs3/sbbs.h
- src/sbbs3/sbbsdefs.h 1 addition, 0 deletionssrc/sbbs3/sbbsdefs.h
Loading
Please register or sign in to comment