Skip to main content
Topic: [ADDON] Nofollow attribute for external links (Read 10291 times) previous topic - next topic - Topic derived from Request - Nofollow attribute ...
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.

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

Untitledrr1.jpg
Last Edit: July 03, 2020, 04:08:46 pm by gevv
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)

link2.gif

upload-site.png

upload-site2.png
sorry for my bad english