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

How do you add a poll to an existing thread?

Discussion in 'XenForo Questions and Support' started by Jaxel, Feb 7, 2011.

  1. Jaxel

    Jaxel Well-Known Member

    Is this possible?
    erich37 likes this.
  2. Bob

    Bob Well-Known Member

    I can tell ya how, but ya may not like the way I do it lol

    The fastest way (for me) is to create a new temp thread with a poll. Then you need to make 2 quick changes to the Database to move the poll from the temp thread to the thread you want the poll in. You need the thread_id for the thread you want the poll in.

    TABLE: xf_poll -- FIELD: content_id -- CHANGE ID from the Temp Thread to the Thread ID that you want to move the poll into

    Then you need to edit the thread table to add a value to the discussion type field. (the row for the existing thread)

    TABLE: xf_thread -- FIELD: discussion_type -- ADD THIS VALUE: poll

    then delete the temp thread..
  3. Brogan

    Brogan XenForo Moderator Staff Member

    It isn't possible to add to a poll to an existing thread but there is an easier way than above.

    Create a new thread with a poll.
    Merge the existing thread into the new poll thread as the destination.
    Cool likes this.

Share This Page