1. 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?

Discussion in 'XenForo Questions and Support' started by DRE, Sep 18, 2012.

  1. DRE

    DRE Well-Known Member

    How do I find all the vote poll threads?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    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)
     
    Rob Fritz, Digital Doctor and 8thos like this.
  3. DRE

    DRE Well-Known Member

    THAANKS!!!!! *gives me new thread idea*
     
    Rob Fritz likes this.

Share This Page