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

Profilepage => postingstab

Discussion in 'XenForo Development Discussions' started by ajnos, Mar 21, 2011.

  1. ajnos

    ajnos Member

    Is there a way, to hide own searchable content types from the search?

    The postings Tab shows EVERY usercontent, and not only the posts made in the profile.
        public function actionRecentContent()
    $userId $this->_input->filterSingle('user_id'XenForo_Input::UINT);
    $user $this->getHelper('UserProfile')->assertUserProfileValidAndViewable($userId);

    $results XenForo_Search_SourceHandler_Abstract::getDefaultSourceHandler()->executeSearchByUserId(
    $results $this->getModelFromCache('XenForo_Model_Search')->getSearchResultsForDisplay($results);
            if (!
    $this->responseMessage(new XenForo_Phrase('this_member_does_not_have_any_recent_content'));
    It's nice to use this for the global search, but the postings tab should IMHO show only the postings!
    ATM it shows also my articles & gallery images inserted by the user.

Share This Page