xin giúp đỡ về link facebook và chia sẻ trang

Thảo luận trong 'Style & Template Questions' bắt đầu bởi tuananhcm, 4/8/13.

1votes
5/5, 1 vote

  1. tuananhcm

    tuananhcm New Member

    Bài viết:
    46
    Likes :
    1
    Mình cài code comment face như thế này
    Mã:
    <xen:if is="{$message.isFirst}">
    <xen:hook name="thread_view_qr_after" params="{xen:array 'thread={$thread}'}" />
     
    {xen:raw $threadStatusHtml}
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <div id="fb-root"></div>
    <fb:comments href="http://vnbadminton.com/{xen:link threads, $thread}"" num-posts="4" width="800"></fb:comments>
    <xen:include template="share_page">
        <xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
    </xen:include>
    <xen:include template="sharebar" />
    </xen:if>
    Vào message thì comment face đã ra rồi. Nhưng khi bấm vào comment và chia sẻ link thì khi lên face mình kiểm tra lại ra như thế này http://vnbadminton.com.com/threads/offline-giao-luu-cau-long-nhan-dip-he-2013-de-e-e-4-8-2013.5796/

    Dính 2 lần .com.com. Mình tìm hiểu hoài mà ko ra chổ này. Face mình đây https://www.facebook.com/tuananhcm

    Một vấn đề nữa là chia sẻ trang forum. Mình có nhờ a bạn bấm vào chia sẻ link trên face thì nó lại ra thế này https://www.facebook.com/apps/application.php?id=193048140809145
    Mặc dù mình ko cài ID này trong xenforo . Face anh ấy đây https://www.facebook.com/sonhva

    Mình điều chỉnh trong
    Facebook Integration

    Facebook Application ID
    538731412848760
    Facebook Application Secret
    a661f3f2f27a463e988ad2d0a09f0734
    Facebook Page Admins
    2147483647

    Mình đã đăng nhập được vào forum bằng facebook và test qua thì rõ ràng là acc mình truy xuất được, thành viên vào được. Nhưng ko hiểu cái link trên nằm ở đâu mà sửa.
    Bác nào PRo chỉ em với
     
    Đang tải...
  2. hieuhaist

    hieuhaist New Member

    Bài viết:
    17
    Likes :
    2
    <fb:comments href="http://vnbadminton.com/{xen:link threads, $thread}"" num-posts="4" width="800"></fb:comments>
    sửa thành


    <fb:comments href="{xen:link 'canonical:threads', $thread}" num-posts="4" width="800"></fb:comments>
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...