Jump to content

Disable "Unlike this" function


Ioannis D

Recommended Posts

Open your theme’s HTML: core → front → global → reputation

Remove this whole part that contains the “unlike”

{{if $content->canGiveReputation( -1 )}}
<a href='{$content->url( 'rep' )->setQueryString( 'rep', -1 )->csrf()}' data-action="giveReputation" class='ipsButton ipsButton_like ipsButton_veryLight'><i class='fa fa-times'></i> <span class='ipsHide' data-role='repCount'>{$content->reputation()}</span> {lang="unlike"}</a>
{{endif}}

 

Also: core → front → global → reputation_mini

{{if $canRepDown}}
<a href='{$giveRepUrl->setQueryString( array( 'rep' => -1, 'mini' => 1 ) )->csrf()}' data-action="giveReputation">{lang="unlike"}</a>
{{endif}}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...