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

XF 1.4 Feature: Automatically Reply to a Thread

Discussion in 'XenForo Questions and Support' started by kaloksi, Dec 9, 2014.

  1. kaloksi

    kaloksi Member


    I have setup an RSS feed extraction that automatically creates threads in our forum. The username used to post the threads is a guest user (basically uses the username from blog).

    I am looking at a way to automatically reply to this threads. Do you know if there is such a feature (standard or plugin)?

    Thanks in advance.
  2. SnoSheriff

    SnoSheriff Active Member

    What would be in the auto-reply? Is the auto-reply always the same?
  3. kaloksi

    kaloksi Member

    Yes, auto reply would be always the same for all posts. Something like "What do you think about article?" . Idea is to have members to participate and reply to the auto posts in order to generate more traffic and participation.
  4. tajhay

    tajhay Well-Known Member

    Why not add 'what do you think about this article' at the end of the feeder template that is used?
  5. kaloksi

    kaloksi Member

    I did that but seems to get lost as members don't look at it. If they see in the post feeds that a reply was made then will spice things up driving interest. Just a thought as I believe this would bring benefits to many forums.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You can do it with the ad_message below template, a conditional statement and some HTML/CSS.

    Like this:
  7. kaloksi

    kaloksi Member

    OK, thanks. Any help on how to get it done as a newbie in terms of xenforo statements?
  8. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:hook name="ad_message_below" />
    <xen:if is="{$post.position} == 0 AND {$thread.reply_count} > 0">
        <li class="message">
            <div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">
                <div class="messageUserBlock">
                    <div class="avatarHolder">
                        <span class="helper"></span>
                        <xen:avatar user="$visitor" size="m" img="true" />
                    <h3 class="userText">
                    <span class="username" itemprop="name" style="font-weight: bold">Name</span>
                    <em class="userTitle" itemprop="title">Title</em>
                    <span class="arrow"><span></span></span>
            <div class="messageInfo primaryContent">
                <div class="messageContent">
                        <blockquote class="messageText ugc baseHtml">
  9. kaloksi

    kaloksi Member

    Thanks! Much appreciated.

Share This Page