Closed (fixed)
Project:
Best reply
Version:
6.x-6.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 09:58 UTC
Updated:
28 Aug 2009 at 23:11 UTC
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
Comment #1
taslett commentedHi 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.