• 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

#1
Hello,

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.
 
#3
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.
 
#5
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.
 

Brogan

XenForo moderator
Staff member
#6
You can do it with the ad_message below template, a conditional statement and some HTML/CSS.

Like this:
upload_2014-12-10_9-40-6.png
 

Brogan

XenForo moderator
Staff member
#8
HTML:
<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" />
                </div>
                <h3 class="userText">
                <span class="username" itemprop="name" style="font-weight: bold">Name</span>
                <em class="userTitle" itemprop="title">Title</em>
                </h3>
                <span class="arrow"><span></span></span>
            </div>
        </div>
        <div class="messageInfo primaryContent">
            <div class="messageContent">
                <article>
                    <blockquote class="messageText ugc baseHtml">
                        Content.
                    </blockquote>
                </article>
            </div>
        </div>
    </li>
</xen:if>