Nested Quotes

CoreIssue

Member
I realize for most multi-quote is more desirable than nested and nested are disliked.

My site is the opposite. We hardly ever use multi-quote but we do have long posts with a lot of detail within each where nested quotes keep the conversation flowing and making sense.

So, is there a way I can set nested quotes to at least 3 deep?

I really need it. On vB I had the Nested Quotes. I don't care if mutli-quote works right or not.

Thanks.
 
The only possible way to do this is still with core files editing ?
This thread was 2 years ago, just wondering if there's a new addon to do this or something. It's a feature that was requested by members of our forum.

XenFacil only nest quotes when displaying posts. In quick reply, the quotes dept are still limited, eg no quotes inside quotes
 
Yep, only through core file editing.
Every xenforo update before uploading files to run update, I have to edit post.php file.
I asked for option to somehow give us solution in xenforo 2, but ...
 
XenForo supports nested quotes, but the reply form only quotes one-level deep. That's not to say you can't manually nest the quotes. It will work.

If you want the editor to automatically do fully nested quotes then you need to modify the code:

library/XenForo/ControllerPublic/Post.php

This is the relevant code:

Code:
    /**
     * Displays a form to add a reply to a thread.
     *
     * @return XenForo_ControllerResponse_Abstract
     */
    public function actionQuote()
    {
        $postId = $this->_input->filterSingle('post_id', XenForo_Input::UINT);

        $ftpHelper = $this->getHelper('ForumThreadPost');
        list($post, $thread, $forum) = $ftpHelper->assertPostValidAndViewable($postId,  array(
            'join' => XenForo_Model_Post::FETCH_USER
        ));

        $quote = $this->_getPostModel()->getQuoteTextForPost($post);

        $viewParams = array(
            'thread' => $thread,
            'forum' => $forum,
            'post' => $post,
            'quote' => $quote
        );

        return $this->responseView('XenForo_ViewPublic_Post_Quote', 'post_quote', $viewParams);
    }

You would need to modify this line:

Code:
        $quote = $this->_getPostModel()->getQuoteTextForPost($post);

like so:

Code:
        $quote = $this->_getPostModel()->getQuoteTextForPost($post, -1);

Directly editing the files isn't ideal. You should use an addon. If you are a programmer then you can post in the Development Questions forum for help with this. Or post an Add-on Request and some one may be able to write this for you.

The applicable section of */Post.php has changed slightly (it has an if else structure now). Do we just edit the else block or do we edit both occurrences of $quote = ...?

Thanks!
 
It is just one
in library/XenForo/ControllerPublic/Post.php

Find:
Code:
$quote = $postModel->getQuoteTextForPost($post);

Replace:
Code:
$quote = $postModel->getQuoteTextForPost($post, -1);
 
We tried removing nested quotes this past weekend with the upgrade... they cannot be removed.

Now, I have a member with a new problem.

"Up until just a few days ago, I used to be able to cut out nested quotes from a reply. Now I can no longer do so. Neither on my tab nor on my phone. Best I can now do is remove the content—the text—from the nested quotes but the nests (and their authors) remain in my reply. It sucks. And I won’t do it. "


HALP
 
Top Bottom