I would like to hide the "view Best reply" link that is added to each node. I want to hide this because 10px below it is the best reply highlighter for them to see. I don't want to hack my way around this with CSS, could someone please point out to me where in the code I can remove this from printing.

Is this it ?

bestreply.module
Lines 205 -212

if ($brid && user_access('view bestreply')) {
        $links['bestreply_view'] = array(
          'title' => t('view !bestreply', array('!bestreply' => $brname)),
          'href' => 'node/'. $node->nid,
          'fragment' => 'comment-'. $brid,
          'attributes' => array('title' => t('Jump to the !bestreply.', array('!bestreply' => $brname)), 'class' => 'br_view'),
        );
      }

Comments

taslett’s picture

Status: Active » Closed (fixed)

Hi animelion,
Yes that's where the link is created in the module, but it's best to leave it alone.
If you have a look at that code the link is only added if they have 'view bestreply' permissions.
So you could just turn that off in /admin/user/permissions.