2011-09-10, 07:52 PM
Hi all,
I've been looking through all the template files, but I can not find where to edit the HTML of the profile link. It's referenced as {$thread['profilelink']} in Forum Display Templates > forumdisplay_thread
I'd like to add rel="nofollow" to it. Where do I edit this?
Thanks in advance!
Found it!
This is to change -all- the profile links on your entire forum (so on the post pages, forum pages, thread listings, index, etc etc)
inc/functions.php: line 4546
return "<a href=\"{$mybb->settings['bburl']}/".get_profile_link($uid)."\"{$target}{$onclick} rel=\"nofollow\">{$username}</a>";
Hope this helps
I've been looking through all the template files, but I can not find where to edit the HTML of the profile link. It's referenced as {$thread['profilelink']} in Forum Display Templates > forumdisplay_thread
I'd like to add rel="nofollow" to it. Where do I edit this?
Thanks in advance!
Found it!
This is to change -all- the profile links on your entire forum (so on the post pages, forum pages, thread listings, index, etc etc)
inc/functions.php: line 4546
return "<a href=\"{$mybb->settings['bburl']}/".get_profile_link($uid)."\"{$target}{$onclick} rel=\"nofollow\">{$username}</a>";
Hope this helps