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

Profilepage => postingstab

#1
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.
PHP:
    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(
            $userId, 0, 15
        );
        $results = $this->getModelFromCache('XenForo_Model_Search')->getSearchResultsForDisplay($results);
        if (!$results)
        {
            return $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.