Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to remove the rel="nofollow" for links in discussions and comments

moosemoose New
edited August 2013 in Vanilla 2.0 - 2.8

I found a similar discussion by @dtbaker where he was able to remove the rel="nofollow" in links for specific users, see here.

When implemented, it removed the rel="nofollow" from the first post in a discussion for a specific user, however, the rel="nofollow" still showed up in the comments underneath the first post for the same specified user.

My question: Is there any way to remove the rel="nofollow" attribute for a specific user, both in the first post of a discussion and for all subsequent comments by that user?

In case anybody's wondering, I added

Gdn_Format::$DisplayNoFollow = ($Aut``hor->UserID!=1);

to helper_functions.php, to remove the rel="nofollow" from the first post of a discussion.

@peregrine - You seem like a smart ole chap, any advice?



Sign In or Register to comment.