MyBB Community Forums

Full Version: How do I make signature links no follow?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
in inc/functions_posts.php, around line 561, the middle line is the one you have to insert, the other two are already there:

$post['signature'] = $parser->parse_message($post['signature'], $sig_parser);
$post['signature'] = str_replace('<a href="', '<a rel="nofollow" href="', $post['signature']);
eval("\$post['signature'] = \"".$templates->get("postbit_signature")."\";");

Personally I don't really see the point in using nofollow in a forum. It's more targeted at comment spam in blogs or guestbooks, i.e. in media that is not actively moderated and does not require registration to post. In a forum, if there is an offending link or post, it should be moderated.
(2010-04-26, 09:27 PM)frostschutz Wrote: [ -> ]in inc/functions_posts.php, around line 561, the middle line is the one you have to insert, the other two are already there:

$post['signature'] = $parser->parse_message($post['signature'], $sig_parser);
$post['signature'] = str_replace('<a href="', '<a rel="nofollow" href="', $post['signature']);
eval("\$post['signature'] = \"".$templates->get("postbit_signature")."\";");

Many thanks. Smile
Pages: 1 2