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

XF 1.4 'Threads' in Sitemap Options (Included Sitemap Content) not Present

Discussion in 'Troubleshooting and Problems' started by yavuz, Sep 2, 2014.

  1. yavuz

    yavuz Well-Known Member

    The strangest thing; I was wondering why the "threads" option in the sitemap generator option (included sitemap content) is not present:

    Başlıksız-2.png
     
  2. Kevin

    Kevin Well-Known Member

    Would you always want to include /threads by default in your sitemap?
     
  3. yavuz

    yavuz Well-Known Member

    In the "have you seen" videos the thread option is avaliable there, but not in my board.
     
  4. Kevin

    Kevin Well-Known Member

    Looks like the video was an earlier release then what was released to the public because the video does not have the option for including extra URLs. The guys would have to confirm but my guess is that the threads option was there in a early build but was removed at some point because it wouldn't make sense to turn the option off. Correction -- at least with XF 1.4 B3 the "threads" option is present.
     
    Last edited: Sep 3, 2014
  5. yavuz

    yavuz Well-Known Member

    Ok, but when I hit the sitemap rebuilt button it just creates links from forums, categories and if I select users, not threads. Is there a different option I have to select somewhere?
     
  6. Kevin

    Kevin Well-Known Member

    I take it back.... I just checked my XF 1.4 B3 install and the option is there. My mistake.

    Weird that it doesn't show for you at all.
     
    Last edited: Sep 3, 2014
    yavuz likes this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Try rebuilding the master data.
    I can't think of a reason why the Threads checkbox isn't showing for you.
     
  8. Mike

    Mike XenForo Developer Staff Member

    Did you have a sitemap add-on installed at any point?
     
  9. yavuz

    yavuz Well-Known Member

    Yes, I had Jaxel's sitemap addon installed but unistalled later (before upgrading to 1.4).
     
  10. Mike

    Mike XenForo Developer Staff Member

    I suspect that his add-on didn't clean up data correctly then. You can run this query and then rebuild the master data:

    Code:
    REPLACE INTO xf_content_type_field
                    (content_type, field_name, field_value)
                VALUES
                    ('node', 'sitemap_handler_class', 'XenForo_SitemapHandler_Node'),
                    ('thread', 'sitemap_handler_class', 'XenForo_SitemapHandler_Thread'),
                    ('user', 'sitemap_handler_class', 'XenForo_SitemapHandler_User');
     
  11. yavuz

    yavuz Well-Known Member

    it returns empty when I run this query (I did rebuild the master data of course)
     
  12. Mike

    Mike XenForo Developer Staff Member

    That query doesn't return anything -- it inserts data -- so I'm not sure what you're implying there. Did it solve the problem?
     
  13. yavuz

    yavuz Well-Known Member

    Sorry, my phpmyadmin language is Turkish so what it said is that it run an empty query and it took x seconds. Unfortunately it did not solve my problem.
     
  14. yavuz

    yavuz Well-Known Member

  15. Mike

    Mike XenForo Developer Staff Member

    Submit a ticket with ACP and phpMyAdmin access details please.
     
  16. yavuz

    yavuz Well-Known Member

    Just did, thank you.
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Are you on shared hosting?

    It shouldn't take 1.6 seconds to run that query.
     
  18. yavuz

    yavuz Well-Known Member

    No its a dedicated server. I'm not sure why.
     
  19. yavuz

    yavuz Well-Known Member

    @Mike fixed this for me. According to him the "Threads" content type was missing which an addon removed it unexpectedly.
     
    Kevin likes this.

Share This Page