What add-on is this?

You must validate your XenForo license to see quoted content

Okay, this is what I have.

Template quick_reply_macros

Find:
HTML:
<xf:editor name="message"
        value="{$message}"
        attachments="{{ $attachmentData ? $attachmentData.attachments : [] }}"
        data-min-height="{$minHeight}"
        placeholder="{$placeholder}"
        previewable="0"
        data-deferred="{{ $deferred ? 'on' : 'off' }}"
        data-xf-key="{{ phrase('shortcut.quick_reply') }}" />

Replace:
HTML:
<xf:if is="$thread && $thread.node_id == 167">
    <xf:editor name="message"
        value="{$message}"
        attachments="{{ $attachmentData ? $attachmentData.attachments : [] }}"
        data-min-height="{$minHeight}"
        placeholder="If you are reporting a bug, please click the 'Use bug report form' button below - Write your reply..."
        previewable="0"
        data-deferred="{{ $deferred ? 'on' : 'off' }}"
        data-xf-key="{{ phrase('shortcut.quick_reply') }}" />
<xf:else />
    $0
</xf:if>

Change node_id == 167 to your node id
 
Thanks for your help.

Looks like the only thing added is an extra if statement ands the else $0.
Doesn't seem to work though, it just outputs the $0 for me:

Schermafbeelding 2020-04-13 om 15.53.38.png

Snippet from my edited macro:
Code:
>
    <xf:if is="$thread && $thread.node_id == 22">
    <xf:editor name="message"
        value="{$message}"
        attachments="{{ $attachmentData ? $attachmentData.attachments : [] }}"
        data-min-height="{$minHeight}"
        placeholder="This is a test!"
        previewable="0"
        data-deferred="{{ $deferred ? 'on' : 'off' }}"
        data-xf-key="{{ phrase('shortcut.quick_reply') }}" />
        <xf:else />
        $0
        </xf:if>

    <xf:if is="!$xf.visitor.user_id">
 
Could you post your entire quick_reply_macros please?

Because I think you made more edits. The phrase that should be custom is reply_placeholder (that is what is actually showing the text in the reply field) but your custom template now only seems to edit the phrase $placeholder.
 
You must validate your XenForo license to see quoted content
I was the one that did the original template modification (Admin->Appearance->Template modifications) and I can verify that what @Ozzy47 gave in this post is 100% correct.
https://snogssite.com/threads/what-add-on-is-this.3258/post-24851And there are no other edits.

If you copied the "Find" info directly from what he posted, that could be the problem. XenForo converts tabs to spaces in posts. What he posted should be copied directly from the main template so the tabs are used. Otherwise, the "Find" will never match anything.

And you you are editing the template itself, you shouldn't be. That's what "Template modifications" are for. And what was given in the post won't help you at all because $0 does not exist in an actual template. $0 is a template modification variable for the original "Find" value.
 
Back
Top