Announcement

Collapse
No announcement yet.

How to make links in post nofollow?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make links in post nofollow?

    Hi!
    Guys need to this to reduce spam!
    Making all links in user post nofollow.
    Anyone know how to do this? I have searched it before posting.

    Plz help!

  • #2
    This question is more for vB.org since it requires modifying the source code of your php file.

    In class_bbcode.php

    Code:
    return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    replace it with
    Code:
     return "<a href=\"$rightlink\" target=\"_blank\" rel=\"nofollow\" >$text</a>";
    Disclaimer: I'm not responsible if the above code breaks your forum.
    So Cal Sportbike forum - So Cal Moto - Kawasaki Ninja 250R Forum - Custom vinyl decals - Southern California camping forum

    Comment


    • #3
      Don't worry it won't break
      Thanks!
      Last edited by i13; Sun 25 May '08, 9:32pm.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X