1. namtam

    namtam - Feb 12, 2016 New Member VIP Member

    Credit
    Point
    Hello, i just purchared for this add-on. But can you show me can i change templatures to make 4 tab for local comments, like article view xenporta2? Thanks, sorry for bad english.
     
    Loading...
  2. namtam

    namtam - Feb 12, 2016 New Member VIP Member

    Credit
    Point
    Hello, i get this error when i use "
    Import Facebook comment to database.
     
    #2
  3. Brivium

    Brivium - Feb 12, 2016 XenForo Services Staff Member

    Credit
    Point
    It requires to change alot on your templates and codes. So we can offer you a custom work service to figure it out.
    Please tell me full error logs on it.
     
    #3
  4. namtam

    namtam - Feb 12, 2016 New Member VIP Member

    Credit
    Point
    Hello this is the error
    PHP:
    Server Error

    file_get_contents
    (http://graph.facebook.com/comments/?date_format=U&ids=http://www.hhpot.eu/quan-an-praha-2-can-gap-boi-ban-lien-he.t237/): failed to open stream: Network is unreachable

    XenForo_Application::handlePhpError()
    file_get_contents() in Brivium/AIOSocialComments/Deferred/FacebookCommentThreads.php at line 31
    Brivium_AIOSocialComments_Deferred_FacebookCommentThreads
    ->execute() in XenForo/Model/Deferred.php at line 295
    XenForo_Model_Deferred
    ->runDeferred() in XenForo/Model/Deferred.php at line 429
    XenForo_Model_Deferred
    ->_runInternal() in XenForo/Model/Deferred.php at line 374
    XenForo_Model_Deferred
    ->run() in XenForo/ControllerAdmin/Tools.php at line 159
    XenForo_ControllerAdmin_Tools
    ->actionRunDeferred() in XenForo/FrontController.php at line 351
    XenForo_FrontController
    ->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController
    ->run() in /web/htdocs3/hhpoteu/home/www/admin.php at line 13
    And some time this error
    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, admin@forpsi.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
     
    Last edited: Feb 12, 2016
    #4
  5. namtam

    namtam - Feb 12, 2016 New Member VIP Member

    Credit
    Point
    I have more question. When i have tag someone in facebook comment. User who i tag has recive a facebook notification? I have try on my self and i not have any notification on facebook.
     
    #5
  6. Brivium

    Brivium - Feb 13, 2016 XenForo Services Staff Member

    Credit
    Point
    It occurs on your server connectiviy. Please make sure that firewall doesn't close the connection between your server with Facebook

    It seems to Facebook comment plugin side which we can't do anymore.
     
    namtam likes this.
    #6
  7. namtam

    namtam - Feb 15, 2016 New Member VIP Member

    Credit
    Point
    Hello, i have this idea. I using templates from quick_reply and add to comment_tab and delete concent disqus like this:

    Code:
    <xen:require js="js/brivium/AIOSocialComments/comment.js" />
    <xen:if is="{$showComment}">
        <xen:require css="BRAIOSC_style.css" />
        <style>
            div[id^='___comments_'], div[id^='___comments_'] iframe {
                width: {$google.width} !important;
            }
            .commentTabs label{
                color: {$labelColor};
            }
            div.fb-comments iframe {width: {$facebook.width} !important;}
            div.fb-comments span {width: {$facebook.width} !important;}
        </style>
    
        <div class="commentTabs comment">
        <xen:foreach loop="$displayOrder" key="$tab" value="$value">
            <xen:if is="{$google} && {$google.show} && {$tab}=='google'">
                <input id="tabGoogle" type="radio" name="radio-set" class="tabSelectorGoogle" {xen:if "{$display}=='google'", 'checked="checked"'} />
                <label for="tabGoogle" class="tabLabelGoogle">Google +</label>
            </xen:if>
            <xen:if is="{$facebook} && {$facebook.show} && {$tab}=='facebook'">
                <input id="tabFacebook" type="radio" name="radio-set" class="tabSelectorFacebook" {xen:if "{$display}=='facebook'", 'checked="checked"'} />
                <label for="tabFacebook" class="tabLabelFacebook">Facebook</label>
            </xen:if>
            <xen:if is="{$disqus} && {$disqus.show} && {$tab}=='disqus'">
                <input id="tabDisqus" type="radio" name="radio-set" class="tabSelectorDisqus" {xen:if "{$display}=='disqus'", 'checked="checked"'} />
                <label for="tabDisqus" class="tabLabelDisqus">Disqus</label>
            </xen:if>
        </xen:foreach>
            <div class="clear-shadow"></div>
            <div class="contentTab">
                <xen:if is="{$facebook} && {$facebook.show}">
                    <div class="tabFacebook">
                        <div class="fb-comments"
                            data-href="{$contentLink}"
                            data-width="{$facebook.width}"
                            data-numposts="{$facebook.num_posts}"
                            data-colorscheme="{$facebook.scheme}">
                        </div>
                    </div>
                </xen:if>
                <xen:if is="{$google} && {$google.show}">
                    <div class="tabGoogle">
                        <script src="https://apis.google.com/js/plusone.js"></script>
                        <div class="g-comments"
                            data-href="{$contentLink}"
                            data-first_party_property="BLOGGER"
                            data-view_type="FILTERED_POSTMOD">
                        </div>
                    </div>
                </xen:if>
                <xen:if is="{$disqus} && {$disqus.show}">
                    <div class="tabDisqus">
                        <div id="disqus_thread"></div>
    [B][COLOR=#0000ff]<xen:require css="quick_reply.css" />
    <xen:require js="js/xenforo/discussion.js" />
    
    <div class="quickReply message">
        
        <xen:include template="message_user_info">
            <xen:map from="$visitor" to="$user" />
            <xen:set var="$isQuickReply">1</xen:set>
        </xen:include>
    
        <form action="{xen:escape $formAction, false}" method="post" class="AutoValidator blendedEditor" data-optInOut="OptIn" id="QuickReply">
    
            {xen:raw $qrEditor}
    
            <div class="submitUnit">
                <div class="draftUpdate">
                    <span class="draftSaved">{xen:phrase draft_saved}</span>
                    <span class="draftDeleted">{xen:phrase draft_deleted}</span>
                </div>
                <xen:if is="{$xenOptions.multiQuote} AND {$multiQuoteAction}"><input type="button" class="button JsOnly MultiQuoteWatcher insertQuotes" id="MultiQuote"
                    value="{xen:phrase insert_quotes}..."
                    tabindex="1"
                    data-href="{xen:escape $multiQuoteAction, false}"
                    {xen:if $multiQuoteCookie, 'data-mq-cookie="{$multiQuoteCookie}"'}
                    data-add="{xen:phrase multiquote_add}"
                    data-add-message="{xen:phrase multiquote_add_message}"
                    data-remove="{xen:phrase multiquote_remove}"
                    data-remove-message="{xen:phrase multiquote_remove_message}"
                    data-cacheOverlay="false" /></xen:if>
                <input type="submit" class="button primary" value="{xen:phrase post_reply}" accesskey="s" />
                <xen:include template="attachment_upload_button" />
                <xen:if is="{$showMoreOptions}"><input type="submit" class="button DisableOnSubmit" value="{xen:phrase more_options}..." name="more_options" /></xen:if>
            </div>
            
            <xen:if is="{$attachmentParams}">
                <xen:include template="attachment_editor">
                    <xen:set var="$attachments" value="{$attachmentParams.attachments}" />
                </xen:include>
            </xen:if>
    
            <input type="hidden" name="last_date" value="{$lastDate}" data-load-value="{$lastDate}" />
            <input type="hidden" name="last_known_date" value="{$lastKnownDate}" />
            <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
    
        </form>
    
    </div>
                    </div>[/COLOR][/B]
                </xen:if>
            </div>
        </div>
    </xen:if>
    Local reply look great, but i dont see any button in local reply. I try delete
    Code:
        <xen:require css="BRAIOSC_style.css" />
    Button is here, but i have problem with css facebook and google+. Can you fix for me? Thanks

    One more question, why is google+ comment has too big space?
    space
     
    #7
  8. namtam

    namtam - Feb 16, 2016 New Member VIP Member

    Credit
    Point
    #8