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

Nofollow Manager 1.2

Allows managing when the rel="nofollow" tag is used.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Nofollow Manager - Allows managing when the rel="nofollow" tag is used.

    Read more about this resource...
  2. Rob

    Rob Well-Known Member

    What a great idea!

    Thanks, this is a very much needed mod for many who operate multiple sites / domains / sub domains.
    AndyB likes this.
  3. Kerby

    Kerby Active Member

    Request: Blacklist feature
  4. Rob

    Rob Well-Known Member

    xenforo already adds nofollow to everything kerby so blacklist isn't required.
  5. Kerby

    Kerby Active Member

    I know. But it doesn't add nofollow to moderator links. To get control over posts from my moderators, I would like to have at least one of two possibilities:
    - blacklist URLs
    - globally add nofollow to all moderator posts (so only admin posts are dofollow)
  6. Rob

    Rob Well-Known Member

    I'ts easy to do....
    inside library/Andy/NofollowManager/BbCode/Formatter/Base.php

    find this code
    if ($type == 'internal')
                    $noFollow = '';
    Change to this
    if ($type == 'internal')
                    //$noFollow = '';
    That change will make links posted by all members, staff or not, subject to the whitelist only.
    Triops likes this.
  7. Rob

    Rob Well-Known Member

    Andy, you could an an option to make staff subject to the whitelist also ;)
  8. Rob

    Rob Well-Known Member

    Err... Ignore that... Blond moment ;)
  9. AndyB

    AndyB Well-Known Member

    Kerby likes this.
  10. usAdultAds

    usAdultAds Active Member

    I forgot about XF with their do-follow links, what would be nice (after the fact) when posts have
    already been created, maybe add an option to click that would run through and auto add
    no-follow to links that may have have been missed or created after the fact, oh well,
    not a biggie I guess. or does it even matter if the links where posted before or after the addon was installed?
    As I have the addon installed now, and looking at a url in bbcode, and
    see nothing added showing that it will be posted as "nofollow"

    maybe xf should add options to nofollow user profiles and
    forum categories, unless there is a reason for this....
    Last edited: May 1, 2015
  11. janowitz

    janowitz Member

    I just installed the plugin and added some domains to my whitelist (tested with/without http(s)/www) but still all external links to whitelisted domains look like this:
    <a href="https://www.google.com/" target="_blank" class="externalLink" rel="nofollow" style="">https://www.google.com/</a>
    I'm on Xenforo 1.5.2 and tested with the standard style. Any ideas?

    Sorry, my fault. There was a whitespace next to a comma and it didn't work because of that.
    Last edited: Nov 12, 2015
  12. istanbulzoom

    istanbulzoom Member

    Hello Andy,

    Firtly big thanks for your great works...

    Its working for only last entered domain (https://xenforo.com/) on my forum. What is the my fault you think?

    http://www.google.com ,http://www.yahoo.com ,https://xenforo.com/
  13. kmagoo

    kmagoo New Member

    Great add-on but unfortunately I'm also having the same problem with 1.58. If I add one URL to the whitelist it works. If I add a second domain (with a comma in-between) then the whitelist no longer functions. Has anyone figured out what is going on here? Is there a particular format I need to follow when adding more than one domain to the whitelist?

  14. cbpayne

    cbpayne Member

    Yep; I have the exact same problem
    The whitelist only works when there is one domain name added. Adding additional domain names separated by a comma result in none of them being whitelisted.
    Anyone found a work around?
  15. cbpayne

    cbpayne Member

    Fixed it. There has to be no space after the comma

    ie this:

    NOT: http://google.com, http://twitter.com
    Triops likes this.
  16. cbpayne

    cbpayne Member

    Sorry, but I have to retract that. It is no longer working.
    I can only get this to work with one domain name listed. Add anymore separated by a comma or a comma and space, it does not work for any of them.
  17. cbpayne

    cbpayne Member

    @AndyB - thanks for the PM and thanks for looking into this. can confirm that 1.2 fixed the problem. All good now.
  18. AndyB

    AndyB Well-Known Member

  19. Rixa

    Rixa Member

    Really great add-on. This is what I need when there are partners who need to disable "nofollow". Very easy to use add-on
    AndyB likes this.

Share This Page