Skip to main content
Topic: [ADDON] Nofollow attribute for external links (Read 4553 times) previous topic - next topic - Topic derived from Request - Nofollow at...
0 Members and 1 Guest are viewing this topic.

Re: [ADDON] Nofollow attribute for external links

Reply #45
Please try changing:
Code: [Select]
$modSettings['nofollow_whitelist'] = implode("\n", json_decode($modSettings['nofollow_whitelist']));
to:
Code: [Select]
$modSettings['nofollow_whitelist'] = implode("\n", json_decode($modSettings['nofollow_whitelist'], true));
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Nofollow attribute for external links

Reply #46
I've tried. the same error appears

 File: /sources/subs/NoFollow.integrate.php
 Line: 142
sorry for my bad english

Re: [ADDON] Nofollow attribute for external links

Reply #47
Oook, now I got it.
Try the one attached here.
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Nofollow attribute for external links

Reply #48
Thanks it works .
sorry for my bad english

Re: [ADDON] Nofollow attribute for external links

Reply #49
Good!
Php 7+ annoying errors... :-\
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Nofollow attribute for external links

Reply #50
Hi,

@emanuele     I noticed a new problem,

If add link editor button is used,  is not clickable url. Appears in text format

[url url=https://site.com/sample-post/ nofollow=dofollow]Sample Post[/url]

Edit: + image upload sites BBC image code. Not clickable url. Appears in text format

X
sorry for my bad english

Re: [ADDON] Nofollow attribute for external links

Reply #51
hmm... that has likely to do with some relatively new feature of the editor.
And that means I have to investigate it further, though to debug javascript I need time, so... it will take a while.

ETA: I suppose you mean the WYSIWG editor, right?
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Nofollow attribute for external links

Reply #52
yes wysiwg editor (or bbcode  problem)

X

X

X
sorry for my bad english