Members profile pages

Can anyone please explain what has gone wrong with this?
profile view.jpg
It should be the members profile page but it has gone a bit wrong.
I have quite a few add ons so it could be one of them interfering?
 

Jake Bunce

XenForo moderator
Staff member
The problem only exists on profile pages?

Try reverting any related templates such as member_view, and try disabling addons to troubleshoot.
 
As far as I have noticed it is only on profile pages.
I'll have a look at the add ons in the morning and let you know how it goes. Off the top of my head I can't say if there are any relevant but I'll disable them one by one and see if is a fix.
Many thanks.
 
There is a great potential for that as I have a homemade side bar addition that is written by myself. I'll have a good look through it. Thanks (y)
 
The error is somewhere in this lot...

<xen:if hascontent="true">
<xen:require css="sidebar_share_page.css" />
<div class="section infoBlock sharePage">
<div class="secondaryContent">
<h3>{xen:phrase share_this_page}</h3>
<xen:contentcheck>
<xen:hook name="sidebar_share_page_options">
<xen:if is="{$xenOptions.tweet.enabled}">
<div class="tweet shareControl">
<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"
data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}"
data-url="{$url}"
{xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
{xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:phrase tweet}</a>
</div>
</xen:if>
<xen:if is="{$xenOptions.facebookLike}">
<div class="facebookLike shareControl">
<xen:container var="$facebookSdk">1</xen:container>
<fb:like href="{$url}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
</div>
</xen:if>
<xen:if is="{$xenOptions.plusone}">
<div class="plusone shareControl">
<div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}"></div>

</xen:if>
</xen:hook>
</xen:contentcheck>
 

Coolhaus

Member
You are missing a couple of closing </div>. Then it displays fine.
HTML:
<xen:if hascontent="true">
    <xen:require css="sidebar_share_page.css" />
    
        <div class="section infoBlock sharePage">
            <div class="secondaryContent">
            <h3>{xen:phrase share_this_page}</h3>            
                <xen:contentcheck>
                <xen:hook name="sidebar_share_page_options">
                    <xen:if is="{$xenOptions.tweet.enabled}">
                        <div class="tweet shareControl">
                        <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"
                        data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}" data-url="{$url}"
                            {xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
                            {xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:phrase tweet}</a>
                        </div>                        
                    </xen:if>
                    <xen:if is="{$xenOptions.facebookLike}">
                        <div class="facebookLike shareControl">
                            <xen:container var="$facebookSdk">1</xen:container>
                            <fb:like href="{$url}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
                        </div>
                    </xen:if>                    
                    <xen:if is="{$xenOptions.plusone}">
                        <div class="plusone shareControl">
                            <div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}">                                
                        </div>
                    </xen:if>
                </xen:hook>
                </xen:contentcheck> 
            </div>
        </div>
</xen:if>
 
Top