PaulB
Well-known member
In Tinhte_XenTag_Search_DataHandler_{Forum,Page,Resource} on line 30, the current visitor's ID is passed as the sixth argument to insertIntoIndex. This is incorrect, and results in several bugs, as pages, forums, and resources are not associated with users. For example, on users' profile pages under the Postings tab, forums will start to appear alongside threads and posts. As an administrator, if I rebuild the search index, all forums will appear under my Postings tab.
I believe the search index is currently only for content that is associated with users. You could try passing a user ID of 0 (guest) or -1, but there's no guarantee that it wouldn't break something. You may want to consider requesting that XenForo officially support indexing of content that lacks a creator.
I believe the search index is currently only for content that is associated with users. You could try passing a user ID of 0 (guest) or -1, but there's no guarantee that it wouldn't break something. You may want to consider requesting that XenForo officially support indexing of content that lacks a creator.