Welcome, Guest. Please Login or Register.
May 13, 2025, 06:02:55 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Poll Stats « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Poll Stats  (Read 372 times)
jenigma
Noobie
*
Posts: 33


crazy is as crazy does

WWW
Poll Stats
« on: April 08, 2003, 01:00:29 PM »
Reply with quote

I'd like to be able to see who's voting in polls, and, optionally, what they voted for.

I'd also like to be able to restrict who can vote by membergroup, so I can disallow newbies from voting... so that people cannot register new accounts just to sway the vote.
Logged
jenigma
Noobie
*
Posts: 33


crazy is as crazy does

WWW
Re:Poll Stats
« Reply #1 on: April 12, 2003, 05:20:52 PM »
Reply with quote

Is there at least an SQL query I can use to find out who has voted in a particular poll?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Poll Stats
« Reply #2 on: April 12, 2003, 08:41:55 PM »
Reply with quote

SELECT mem.realName
FROM yabbse_members AS mem, yabbse_polls AS p
WHERE FIND_IN_SET(mem.ID_MEMBER, p.votedMemberIDs)
  AND ID_POLL={thePollYouWantToLookAtsID};

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Poll Stats « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.116 seconds with 21 queries.