By Simon on Tuesday, 10 June 2014
Posted in General Issues
Likes 0
Views 1.8K
Votes 0
Hello,

with Komento, people can put a link to their website.
How can I do to make these link as "no-follow"?
Also, how can I do for a clic on these link open the page on a new window?
Hello Simon,

After quite a while debugging on your site it seems like one of your plugin is causing this rel="nofollow" to become rel="follow" even for content of Komento. I have helps you disable this plugin: System - NoNumber ReReplacer. I am sorry for the inconvenience caused. Here my screenshot: http://screencast.com/t/qY3pup7lc1Z .

May I know what is this plugin do? About this isssue can you consult with this plugin developer for their assistance.
Hope this will help.
Thanks.
·
Thursday, 12 June 2014 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

Edit the file /components/com_komento/classes/markitup/sets/bbcode/parser.php and at line 101 locate the codes below,


'<a href="\1">\2</a>',


You can do anything you want on this anchor tag but be sure to keep the \1 and \2 there.
·
Wednesday, 11 June 2014 00:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark and thanks for your answer,

I've tried to add some code at the line 101, but it's not working, could you please be more specific on the code that I have to add?

Thanks in advance.

Simon
·
Thursday, 12 June 2014 14:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

Regarding " I do for a clic on these link open the page on a new window? " you can try put this code and see how it goes
<a target="_blank" rel="nofollow" href="/\1">\2</a>


Hope this will work.
Thanks.
·
Thursday, 12 June 2014 15:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Modh, thanks for your answer.

I've already try that and it's not working for me.

Thanks
·
Thursday, 12 June 2014 15:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

I am sorry but maybe we misunderstand you. Is this your issue? http://screencast.com/t/kC20vcxVlRJ . Your issue is the link in the comment does not have nofollow and not open in the new window isn't? If yes, there is settings in the backend that add nofollow in the link. You can configure it here: Components > Komento > Integration > (component) > Layout > General Layout > No follow links = Yes.

If this is not the issue, perhaps you can give screenshot of the issue so that we are able to understand you well. Can you provide us with backend access and ftp access so that we are able to assist you on this issue much quicker.

Please be advise.
Thanks.
·
Thursday, 12 June 2014 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
you shoud dissable code html in your page, they can't post link in your site
·
Thursday, 12 June 2014 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohd,

yes perfect, it's exactly that

And do you have any idea about open the link in a new page?
·
Thursday, 12 June 2014 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
You can configure it here: Components > Komento > Integration > (component) > Layout > General Layout > No follow links = Yes.
I've set this params on Yes, but when I check the code I see: " rel="follow" "
When I set to Non, there is nothing.

I juin an admin access below.
Thanks for your help
·
Thursday, 12 June 2014 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

I am sorry but I can't login to your admin site. It is giving me this error: http://screencast.com/t/zRwZpvUUz4 . Can you provide us with FTP access as well so that we are able to assist you on this issue much quicker.

I believe the code for open a new window is already there. Can you check this file in your site and see is it there or not? \components\com_komento\helpers\comment.php Line: 455. Search for this code:
$replace = '<a target="_blank" href="' . $url . '"' . $nofollow . '>' . $txt . '</a>';
.

And about the nofollow link, you can enable it from Komento backend: Components > Komento > Integration > (component) > Layout > General Layout > No follow links = Yes. Please give it a try and see how it goes.

Please be advise.
Thanks.
·
Thursday, 12 June 2014 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Your admin account is now activated, sorry about that.

You'll also find below your FTP access.

Simon
·
Thursday, 12 June 2014 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohd,

thanks very much to have solved the problem!

I don't know exactly what this plugin do, sorry. I'm going to contact the developer for more assistance.

Thank you very much for your intervention.

Simon
·
Thursday, 12 June 2014 20:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

You're welcome. Glad to hear your issue have been resolved.
If you have anymore question, please don't hesitate to ask us and please create a new ticket. I will mark this ticket as resolved.

Thanks again and have a wonderful day.
·
Thursday, 12 June 2014 21:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark wrote:

Hello Simon,

Edit the file /components/com_komento/classes/markitup/sets/bbcode/parser.php and at line 101 locate the codes below,


'<a href="\1">\2</a>',


You can do anything you want on this anchor tag but be sure to keep the \1 and \2 there.


thanks mod
·
Wednesday, 25 June 2014 20:38
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 25 June 2014 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Mohd Yasser wrote:

Hello Simon,

I am sorry but I can't login to your admin site. It is giving me this error: http://screencast.com/t/zRwZpvUUz4 . Can you provide us with FTP access as well so that we are able to assist you on this issue much quicker.

I believe the code for open a new window is already there. Can you check this file in your site and see is it there or not? \components\com_komento\helpers\comment.php Line: 455. Search for this code:
$replace = '<a target="_blank" href="' . $url . '"' . $nofollow . '>' . $txt . '</a>';
.

And about the nofollow link, you can enable it from Komento backend: Components > Komento > Integration > (component) > Layout > General Layout > No follow links = Yes. Please give it a try and see how it goes.

Please be advise.
Thanks.

thanks for share
http://maychucmc.com/
·
Wednesday, 16 July 2014 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello congpho,

Thanks for the update and have a wonderful day.
·
Wednesday, 16 July 2014 17:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post