1. viper357

    viper357 - Jul 19, 2017 New Member

    Credit
    Point
    Hello, would it be possible to have the "View In Facebook" link placed inside the actual post?
     
    Loading...
  2. viper357

    viper357 - Jul 21, 2017 New Member

    Credit
    Point
    Hello?
     
    #2
  3. viper357

    viper357 - Jul 23, 2017 New Member

    Credit
    Point
    Why am I not getting any support? I bought 2 copies of this add-on and now I'm getting ignored.
     
    #3
  4. Lisa Nguyen

    Lisa Nguyen - Jul 24, 2017 Brivium Tester Staff Member

    Credit
    Point
    #4
  5. viper357

    viper357 - Jul 24, 2017 New Member

    Credit
    Point
    Hi, no, I would like the link to be put somewhere inside the post that is made on the forum, maybe in the signature or at the bottom of the post. Because when people read the post they do not know that the post is from facebook. See screenshot, thank you.

    07_thread_post_FB
     
    #5
  6. xxhunterxx

    xxhunterxx - Jul 25, 2017 Moderator Staff Member

    Credit
    Point
    In template "post" find code:
    Code:
    <xen:set var="$messageContentAfterTemplate"><xen:if is="{$post.attachments}"><xen:include template="attached_files" /></xen:if></xen:set>
    replace
    Code:
    <xen:set var="$messageContentAfterTemplate">
        <xen:if is="{$post.attachments}"><xen:include template="attached_files" /></xen:if>
        <xen:if is="{$post.brfbgtp_comment_id} && {$post.post_id} == {$thread.first_post_id}">
            <a href="https://www.facebook.com/{$post.brfbgtp_comment_id}">
                {xen:phrase BRFBGTP_view_in_facebook}
            </a>
        </xen:if>
    </xen:set>
     
    viper357 likes this.
    #6
  7. ducthang2017

    ducthang2017 - Jul 25, 2017 New Member

    Credit
    Point
    I'm also wondering about this issue. Thank you.
     
    #7
  8. viper357

    viper357 - Jul 25, 2017 New Member

    Credit
    Point
    #8
  9. viper357

    viper357 - Aug 23, 2017 New Member

    Credit
    Point
    Hi, I've done that but nothing shows up?
     
    #9
  10. viper357

    viper357 - Aug 23, 2017 New Member

    Credit
    Point
    I managed to fix it, I changed both instances of $post.brfbgtp_comment_id to $thread.brfbgtp_post_id
     
    #10