• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Search for All Vote Poll Threads?

Chris D

XenForo developer
Staff member
#2
If you're talking about some sort of front end search - unfortunately there isn't one.

However, I just wrote this query which might help if you run in PHP My Admin

Code:
SELECT xf_thread.title, xf_thread.thread_id, xf_poll.question
FROM xf_thread, xf_poll
WHERE xf_thread.thread_id = xf_poll.content_id
Returns every thread that contains a poll with the thread title, thread ID and poll question.

poll-query.PNG

(y)
 

DRE

Well-known member
#3
If you're talking about some sort of front end search - unfortunately there isn't one.

However, I just wrote this query which might help if you run in PHP My Admin

Code:
SELECT xf_thread.title, xf_thread.thread_id, xf_poll.question
FROM xf_thread, xf_poll
WHERE xf_thread.thread_id = xf_poll.content_id
Returns every thread that contains a poll with the thread title, thread ID and poll question.

View attachment 34376

(y)
THAANKS!!!!! *gives me new thread idea*