Announcement

Collapse
No announcement yet.

Unable to remove rep/like system

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to remove rep/like system

    I found an old thread on removing repbars but I am unable to successfully remove the like button despite disabling it everywhere, in usergroups, etc. and I also cannot remove it from the statistics on the forum list.

    Any help would be greatly appreciated.

    Thank you

  • #2
    For anyone who happens across this while searching the web, I removed the following:

    in 'conversation_footer'

    Code:
    <vb:if condition="!empty($controls['showVoteCtrl']) OR !empty($showAll)">
                    <vb:if condition="$conversation['permissions']['canuserep']">
                        <li id="vote-{vb:var conversation.nodeid}" class="h-margin-top-xs b-post-control b-post-control--responsive b-post-control__bubble-flyout-container js-post-control__vote {vb:if $conversation['nodeVoted'], voted}">
                            <span class="b-icon b-icon__like b-post-control__icon"></span><span class="b-post-control__label"><vb:if condition="$conversation['nodeVoted']">{vb:phrase unvote_cap}<vb:else />{vb:phrase vote_cap}</vb:if></span>
                            <span class="bubble-flyout b-post-control__bubble-flyout">
                                <i></i>
                                <u></u>
                                <span class="bubble-content votecount {vb:if !$conversation['canseewholiked'], novotepopup}">{vb:number {vb:raw conversation.votes}}</span>
                            </span>
                        </li>
    
                    <vb:elseif condition="$conversation['votes'] > 0" />
    
                        <li id="votecount-{vb:var conversation.nodeid}" class="h-margin-top-xs b-post-control b-post-control--disabled votecount">
                            <span class="b-post-control__icon"></span>
                            <span class="b-post-control__label">{vb:number {vb:raw conversation.votes}} <vb:if condition="$conversation['votes'] > 1">{vb:phrase likes_lower}<vb:else />{vb:phrase like_lower}</vb:if></span>
                        </li>
    
                    </vb:if>
    
                </vb:if>
    Still working on removing 'likes' from the statistics column.

    Comment


    • #3
      Okay I managed to remove the 'likes' statistic as well. It should be noted that this may not be the proper way to do this but I have removed

      in 'display_Topics_item'

      Code:
      <div class="votes-count">{vb:number {vb:raw topic.votes}} <vb:if condition="$topic['votes'] == 1">{vb:phrase like_lower}<vb:else />{vb:phrase likes_lower}</vb:if></div>

      Comment

      Related Topics

      Collapse

      Working...
      X