1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to implement the no-follow tag?

Discussion in 'Styling and Customization Questions' started by VtoX, Apr 7, 2012.

  1. VtoX

    VtoX Member

    I'd like to be able to control which links are given the no-follow tag. I'm using a custom style.

    Is this something that is done on the style level or somewhere else?

    Thanks.
     
  2. ragtek

    ragtek Guest

    on code level;)



    it's controlled by
    PHP:
    if ($options['noFollow'] === null)
    {
    $options['noFollow'] = empty($message['isTrusted']) ? true false;
    }
    in XenForo_ViewPublic_Helper_Message
    and XenForo_Model_User::prepareUser


    you could check this add-on to see how you could manipulate it
     

    Attached Files:

  3. VtoX

    VtoX Member

    Thanks ragtek. :)
     

Share This Page